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

Jeff Schroeder jeffschroed at gmail.com
Mon Jun 23 18:08:01 UTC 2008


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.

-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com




More information about the augeas-devel mailing list