[MonoDevelop] ChangeLog add-in patch

Jacob Ilsø Christensen jacobilsoe at gmail.com
Mon Nov 6 10:49:15 EST 2006


On 11/6/06, Lluis Sanchez <lluis at ximian.com> wrote:
> Hi!
>
> > and first of all, the due kudos to all monodevelop developers on this
> > list. It is the best IDE available on Linux and that's all needed to
> > say. Now to ChangeLog..
>
> Thanks!
>
> >
> > When using emacs I find myself writing much more detailed ChangeLogs
> > than when using MD, because MD's ChangeLog add-in is a little bit picky
> > about when you can insert an entry or header. I have a patch that
> > changes the default behaviour in the following ways:
> >
> > 1/ Just one command "Insert ChageLog Entry", an header is automatically
> > added if missing or if the top-most header is different from the one
> > we're about to add.
> >
> > 2/ The command can be issued from anywhere and the add-in looks for the
> > right ChangeLog file and even creates one if necessary. It looks for
> > ChangeLog in the current project, then in its parent combine and so on,
> > up to the top-most combine. If no ChangeLog is found, one is created in
> > the current project directory. So if you like a single top-level
> > ChangeLog just create an empty one in the combine before adding the
> > first entry, else let the plugin create one in the project for you.
>
> > The code is quite dirty, I plan to clean it up and add a couple of
> > features or two if you like the patch. The diff is for current HEAD,
> > taken from the top directory (i.e., monodevelop) and attached to this
> > email.
>
> There are some indentation issues, but other than that it looks ok to
> me.
>
> + // TODO: Is there a better way to bring a new document to front?
> + IdeApp.Workbench.OpenDocument(document.FileName,
> true);
>
> Yes: document.Select ()
>
> Now, I'm improving right now the version control add-in and I think it
> would be nice to integrate into it ChangeLog support. My idea is the
> following:
> * Using the Status view the user can see what has changed in a
> directory.
> * In that view, it can select files that have changed and enter comments
> about the change.
> * When clicking on Commit, MD would collect all comments, update the
> changelog file (following the same rules you propose) and commit using
> the same comments as commit message.

Yes, that would be really nice. It was something like that I planned
to add when I first started out on the add-in. But the version control
add-in what not mature enough at that point in time. Looking forward
to it! :-)

/Jacob

>
> I think this would save a lot of work.
>
> Lluis.
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list