Re: On autogenerated ChangeLog



On Sat, 2009-04-18 at 21:54 -0400, Behdad Esfahbod wrote:
> Hey,
> 
> I first wrote Makefile.am magic for Pango to generate ChangeLog from git on 
> demand.  Those macros have been modified and gathered in 
> http://live.gnome.org/Git/ChangeLog to only generate ChangeLog for "make 
> dist".  I wonder what people actually want to have, so I can work on canonical 
> macros to copy across projects (and eventually find a better way to 
> distribute).  Pros and cons:

I tweaked this macro a bit for gvfs and nautilus:

Here is what I use:
git log --stat -M -C --name-status --date=short --no-color | fmt --split-only

Its uses less space and is imho just as useful for causual offline use.
And if you want more there is git anyway.

Example:

--------------------- snip -----------------------------------------
commit 6fa515051dc7f082896151545a41a29853f4a3bc
Author: Alexander Larsson <alexl redhat com>
Date:   2009-04-17

    Add README.commits and dist it

    Add file explaining how we want commits to look.
    Also dist gvfs.doap and the ChangeLog.pre-1-2

M       Makefile.am
A       README.commits

commit 8cd532cf7715a4791d8156a711ecb7344b27cb46
Author: Alexander Larsson <alexl redhat com>
Date:   2009-04-17

    Move ChangeLog to ChangeLog.pre-1-2

    We're not using manual ChangeLogs anymore.

R099    ChangeLog       ChangeLog.pre-1-2

--------------------- snip -----------------------------------------

Versus:

--------------------- snip -----------------------------------------

commit 6fa515051dc7f082896151545a41a29853f4a3bc
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Apr 17 10:24:37 2009 +0200

    Add README.commits and dist it
    
    Add file explaining how we want commits to look.
    Also dist gvfs.doap and the ChangeLog.pre-1-2

 Makefile.am    |    3 ++
 README.commits |   63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 0 deletions(-)

commit 8cd532cf7715a4791d8156a711ecb7344b27cb46
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Apr 17 10:23:28 2009 +0200

    Move ChangeLog to ChangeLog.pre-1-2
    
    We're not using manual ChangeLogs anymore.

 ChangeLog         | 6816 ----------------------------------------------------
 ChangeLog.pre-1-2 | 6822 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 6822 insertions(+), 6816 deletions(-)

--------------------- snip -----------------------------------------




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