po-doc/ and LINGUAS

Brian J. Tarricone brian at tarricone.org
Fri Aug 21 09:26:59 CEST 2009


On 08/20/2009 11:47 PM, Nick Schermer wrote:
> On a somewhat related note:
> 
> What are we going to do with ChangeLogs?

Well, there's always something like this:

git log --date=short --format=format:"%ad%x09%an <%ae>%n%n%s%n%b"

Presumably one could come up with a clever sed script to indent the
subject and body of the commit messages (I tried something[1] that
worked ok, but isn't the greatest) and to smartly wrap at 72 chars or
something.

> I've added the following to
> terminal's autogen.sh (not pushed yet).

I'd put that in the toplevel Makefile.am, though, probably guarded by
MAINTAINER_MODE.

> Anyway we can add this in the Makefile.am or autogen.sh of each
> package.

> Maybe also in xdt-autogen,

I don't think this is really suitable for xdt-autogen.  You don't want
to regen the ChangeLog every time you autogen... probably just once
right before a release.

> but maybe there are packages who
> want a --since=somedate (or since a tag) and preserve the old
> ChangeLog.pregit log.

Yeah, using --since would probably be a good idea.  That would erase the
formatting issues for pre-git commit messages.

	-brian

[1] | sed -e 's/^\([^[:digit:]]\{4\}[^-]\)/    \1/'



More information about the Xfce4-dev mailing list