gEDA-dev: ChangeLog files & git
Peter TB Brett
peter at peter-b.co.uk
Sat Jun 23 11:28:37 EDT 2007
On Thursday 21 June 2007 03:43:18 Ales Hvezda wrote:
> [snip]
>
> > I'd like to know how this sounds to people. I'm not sufficiently skilled
> > in autotools magic to know if it's possible to generate the ChangeLogs
> > directly from the git repository at build time, or even if that is
> > desirable.
>
> It sounds okay to me. It shouldn't be too hard to make the ChangeLogs
> at make dist time. I don't think it is worth it to make these ChangeLog
> procedure changes to the stable branch though.
Done in unstable.
- An existing ChangeLog as of the last release is now called ChangeLog-1.0.
- A new empty ChangeLog file has replaced it, containing a magic cookie.
- A new script is added to the tree at the top level,
called "update-changelogs.sh". It looks for all ChangeLog files containing
the magic cookie, and updates them with all commits touching their
directory or subdirectories within it. It can be run from anywhere in the
tree, not just the top, and does nothing if it's not run from within a git
checkout.
- The only exception is gschem/m4/ChangeLog, which is changes to Gettext, not
changes to gaf. It doesn't contain the magic cookie, so it won't get
touched.
I can put the updater script somewhere else, change the magic cookie, change
the text which gets inserted at the top of the file, change the names of the
old ChangeLog files, etc. if people are unhappy with this solution.
Should the updater script be called by `make dist' ?
The script currently assumes `git-log --pretty=medium' is a suitable log
format. However, if a different format would be preferred, please let me
know. It would be really nice to make the format match GNU changelog format,
but I couldn't work out how to do that in the time I spent on it.
Peter
--
Fisher Society http://tinyurl.com/o39w2
CU Small-Bore Club http://tinyurl.com/mwrc9
09f911029d74e35bd84156c5635688c0 peter-b.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20070623/4029f082/attachment.pgp
More information about the geda-dev
mailing list