Re: ChangeLog generation and git



On Thu, Oct 1, 2009 at 2:31 PM, John Stowers <john stowers lists gmail com> wrote:
I am converting my projects to auto-generate ChangeLog at dist time.
Looking at various GNOME modules, I cannot see a consensus on the
correct way to do this. Some projects simply do

$git log > ChangeLog

while other use custom scripts [1]. Is there recommended way to do this?
Could some module maintainers please point me at the method they are
most proud of?

I prefer the direct method but omitting all entries prior to the change of ChangeLog policy. We changed last year when we were still using SVN so the date is a little older than others would use:
# Build ChangeLog from git log
ChangeLog:
$(AM_V_GEN) if test -f $(top_srcdir)/.git/HEAD; then \
git log --stat --no-color --since=2008-06-21 > $@; \
fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]