Charles Lepple
2010-Mar-15 12:56 UTC
[Nut-upsdev] [nut-commits] svn commit r2402 - in branches/svn-auto-changelog: . tools
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
Charles Lepple
2010-Mar-16 12:37 UTC
[Nut-upsdev] [nut-commits] svn commit r2402 - in branches/svn-auto-changelog: . tools
On Mon, Mar 15, 2010 at 8:56 AM, Charles Lepple <clepple at gmail.com> wrote:> 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.Here's the whole set of changes: http://trac.networkupstools.org/projects/nut/changeset?new=branches%2Fsvn-auto-changelog%402403&old=branches%2Fsvn-auto-changelog%402401 Arjen and Arnaud, when you have some time, could you please take a look and let me know your thoughts on this? At r2403, the code does not force the creation of a ChangeLog if a user simply checks out the source, then runs autoreconf, configure and make. I am wondering if we should remove the "|| echo" portion, and simply add a "touch ChangeLog" on the buildslaves that don't have svn2cl (and wouldn't need it, since they are not all distributing tarball snapshots). -- - Charles Lepple