[RFC] Dynamic ChangeLog generation script (was Re: [augeas-devel] ChangeLog)

David Lutterkort dlutter at redhat.com
Mon Jun 23 20:05:31 UTC 2008


On Mon, 2008-06-23 at 11:08 -0700, Jeff Schroeder wrote:
> On Sun, Jun 22, 2008 at 9:19 AM, Jeff Schroeder <jeffschroed at gmail.com> wrote:
> > On Sun, Jun 22, 2008 at 1:31 AM, Nicolas Valcarcel
> > <nvalcarcel at ubuntu.com> wrote:
> >> Hi!
> >>        I have noticed that the ChangeLog entry on the source it's empty, it
> >> will be really cool if we get track of the changes in there so everyone
> >> knows what's new, so if you are going to change things please use it!
> >
> > hg log works pretty well for now :)
> >
> 
> A post on planet.gnome.org told me about an auto-changelog generation
> script hooked into 'make distcheck' for gnome-games. Looking at how they
> did it found these two interesting bits of code:
> http://svn.gnome.org/viewvc/gnome-games/trunk/Makefile.am?r1=7698&r2=7722
> http://svn.gnome.org/viewvc/gnome-games/trunk/svn2cl.xsl?view=markup&pathrev=7724
> 
> hg log doesn't seem to support any sort of xml output. This would
> still be easy to do in
> perl or shell and generate something equivalent. Writing a clean
> utility that uses getopt
> and does sane error checking shouldn't take more than a few hours tops
> in either language.
> 
> David, would you prefer this being done in perl or shell? If it is
> perl, a build-dep on perl
> would have to be added.

I think it can be much simpler than that: 'hg log --style changelog'
looks pretty good. And that wouldn't introduce any more requirements for
hackers to install additional stuff.

And yeah, it should be hooked into 'make dist'.

David





More information about the augeas-devel mailing list