On Tue, Jan 6, 2009 at 9:10 AM, Arnaud Quette <aquette.dev at gmail.com> wrote:> > 2009/1/6 Charles Lepple <clepple at gmail.com> >> >> > -Fri Jan 2 22:05:32 UTC 2008 >> > +Fri Jan 2 22:05:32 UTC 2009 >> >> along these lines, it is fairly easy to get this date format into vi - >> just create a blank line with 'O', then run '.!TZ=UTC date'. >> >> Of course, you don't have to leave off your email address like I just did. > > on my side, I'm generally using 'date -R'... apart when doing some > copy/paste from within the file. > with some obvious cons when we switch year (iirc, the same happens every > year!)I'm wondering if we shouldn't switch to generating the ChangeLog from SVN commit messages? I believe someone has created a tool that formats the messages into GNU ChangeLog style (including mentioning which files and directories have been changed). -- - Charles Lepple
Alexander I. Gordeev
2009-Jan-07 01:45 UTC
[Nut-upsdev] automatically generating the ChangeLog
Hi Charles, On Tuesday 06 January 2009 17:16:47 Charles Lepple wrote:> On Tue, Jan 6, 2009 at 9:10 AM, Arnaud Quette <aquette.dev at gmail.com> wrote: > > 2009/1/6 Charles Lepple <clepple at gmail.com> > > > >> > -Fri Jan 2 22:05:32 UTC 2008 > >> > +Fri Jan 2 22:05:32 UTC 2009 > >> > >> along these lines, it is fairly easy to get this date format into vi - > >> just create a blank line with 'O', then run '.!TZ=UTC date'. > >> > >> Of course, you don't have to leave off your email address like I just > >> did. > > > > on my side, I'm generally using 'date -R'... apart when doing some > > copy/paste from within the file. > > with some obvious cons when we switch year (iirc, the same happens every > > year!) > > I'm wondering if we shouldn't switch to generating the ChangeLog from > SVN commit messages? I believe someone has created a tool that formats > the messages into GNU ChangeLog style (including mentioning which > files and directories have been changed).Oh yes, there is such a tool. It is called 'svn2cl'. It comes with 'subversion-tools' package in Debian/Ubuntu. -- Alexander
Hey Charles, 2009/1/6 Charles Lepple <clepple at gmail.com>> On Tue, Jan 6, 2009 at 9:10 AM, Arnaud Quette <aquette.dev at gmail.com> > wrote: > > > > 2009/1/6 Charles Lepple <clepple at gmail.com> > >> > >> > -Fri Jan 2 22:05:32 UTC 2008 > >> > +Fri Jan 2 22:05:32 UTC 2009 > >> > >> along these lines, it is fairly easy to get this date format into vi - > >> just create a blank line with 'O', then run '.!TZ=UTC date'. > >> > >> Of course, you don't have to leave off your email address like I just > did. > > > > on my side, I'm generally using 'date -R'... apart when doing some > > copy/paste from within the file. > > with some obvious cons when we switch year (iirc, the same happens every > > year!) > > I'm wondering if we shouldn't switch to generating the ChangeLog from > SVN commit messages? I believe someone has created a tool that formats > the messages into GNU ChangeLog style (including mentioning which > files and directories have been changed). >iirc, we already talked about that around 2 or 4 years ago (this was linked to some of my work on LIRC), but can't find any evidences... this is a good idea, in the mood of QA improvements/automation/focus on the important things... but will obviously be postponed to post 2.4.0 release. 3 things come to my mind: - when do we generate it? (ie is the dist target sufficient?) - timeline limitation: from 2.2.0 to 2.4.0 current, we have ~ 2900 lines... the use of "-r" is needed, - it seems we will also need an XML authors file, which is partly with AUTHORS. we might move that last to CREDITS and generate a plain text AUTHORS one. Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090107/da694aab/attachment.htm