On Mar 15, 2010, at 8:40 AM, Charles Lepple wrote:

Author: clepple-guest
Date: Mon Mar 15 12:40:49 2010
New Revision: 2402
URL: http://boxster.ghz.cc/projects/nut/changeset/2402

Log:
Generate ChangeLog with svn2cl.

This commit removes the manually-generated ChangeLog, and adds the authors file
necessary to map SVN usernames to full names.

Added:
  branches/svn-auto-changelog/tools/svn2cl.authors
Deleted:
  branches/svn-auto-changelog/ChangeLog
Modified:
  branches/svn-auto-changelog/   (props changed)
  branches/svn-auto-changelog/Makefile.am

Modified: branches/svn-auto-changelog/Makefile.am
= = = = = = = = ====================================================================== --- branches/svn-auto-changelog/Makefile.am Sun Mar 14 14:58:13 2010 (r2401) +++ branches/svn-auto-changelog/Makefile.am Mon Mar 15 12:40:49 2010 (r2402)
@@ -30,6 +30,12 @@
distcleancheck_listfiles = \
        find . -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';'

+# Automatically generate the ChangeLog from SVN logs:
+MAINTAINERCLEAN_FILES = ChangeLog
+ChangeLog: tools/svn2cl.authors
+ svn2cl --group-by-day --include-rev --authors=$< --revision 'HEAD:r2332' --output=$@ || \ + echo "svn2cl failed to generate the ChangeLog. See http://trac.networkupstools.org/projects/nut/timeline " > $@
+

Let me know if anyone has a preference on the location of the authors file. "tools/" seems to be where we keep things related to the release process, rather than scripts and data files used at runtime.

Also, I didn't add any autoconf magic for svn2cl, figuring that it will only be used by someone generating a tarball. Other opinions welcome.

- Charles

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to