[U-Boot-Users] Proposed CHANGELOG Generation Helpers

Jon Loeliger jdl at jdl.com
Fri Oct 13 03:14:30 CEST 2006


Wolfgang,

I was wondering if either of these two commands comes
close to being a "replacement" for automatically
generating the CHANGELOG in a format that is close
to what you would like:

    git log --pretty=shortlog LABEL_2006_06_30_2020..HEAD | git shortlog
or
    git log LABEL_2006_06_30_2020..HEAD | egrep -v '^Merge|^commit'

Here, I picked LABEL_2006_06_30_2020 as an arbitrary example of
how you select the starting point of a range to delimit the
set of changes you are interested in capturing.

If either of these is close, it might be a pretty simple mod
to, say, the "git shortlog" script to make it more acceptable.

Here are some shortened example outputs from the first and second
commands, respectively.  The first batches by Author, and the
second follows a topologically correct commit history flow.

Thanks,
jdl

----------------


$ git log --pretty=shortlog LABEL_2006_06_30_2020..HEAD | git shortlog

Andy Fleming:
      Added code to support 2.6.18 PCI changes in u-boot
      Add support for eTSEC 3 & 4 on 8548 CDS
      Updated config headers to add default FDT-based booting

Bartlomiej Sieka:
      Fix problems with SanDisk Corporation Cruzer Micro USB memory stick.
      Add rudimentary handling of alternate settings of USB interfaces - to fix
      Prevent USB commands from working when USB is stopped.
      Add a fix for a buggy USB device on the FO300 board.

Detlev Zundel:
      Added interrupt handling capabilities for mpc5xxx processors.
      Added simple_strtoul(), getenv() and setenv() to the exported functions.
      Added another example showing simple interrupt interception.
      Added changelog entry for previous small commits and extended README on
      Added David Updegraff as maintainer of CRAYL1

Grant Likely:
      Fix possible uninitialized variable compiler warning.

----------------

$ git log LABEL_2006_06_30_2020..HEAD | egrep -v '^Merge|^commit'

Author: Jon Loeliger <jdl at freescale.com>
Date:   Thu Oct 12 11:29:33 2006 -0500

    Merge branch 'master' of http://www.denx.de/git/u-boot

Author: Jon Loeliger <jdl at freescale.com>
Date:   Thu Oct 12 10:42:36 2006 -0500

    Remove unneeded include files and local variable.

    Signed-off-by: Jon Loeliger <jdl at freescale.com>

Author: Grant Likely <grant.likely at secretlab.ca>
Date:   Tue Oct 10 00:23:32 2006 -0600

    Fix possible uninitialized variable compiler warning.

    When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in
    do_bootm_linux() may be uninitialized.  There is no possibility in the
    current code that len will get used uninitialized, but this fix follows
    the existing convention of setting both len and data to zero at the same
    time.

    Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

Author: Wolfgang Denk <wd at pollux.denx.de>
Date:   Thu Oct 12 11:43:47 2006 +0200

    Fix spelling; minor code cleanup.




More information about the U-Boot mailing list