I had made the transition to subversion a while ago for handling not only Annvix, but my own personal stuff as well (web work, scripts I use, etc.). The one thing that I really liked about using CVS tho was the cvs2cl script, which makes a nice little Changelog file out of your CVS logs. I did find something similar for subversion a while ago called svn2cl which is a very nice script and the author, Arthur, has done some very nice work with it. The one thing that bothered me was that the log message started immediately after the path revisions, which makes it look odd, ie.:

2006-01-03 17:08  vdanen

        * cvs/SOURCES/cvs-1.11.20.tar.bz2,
          cvs/SOURCES/cvs-1.11.20.tar.bz2.sig, cvs/SPECS/cvs.spec: -
          Obfuscate email addresses and new tagging
          - Uncompress patches

You’ll notice the “-” immediately after the “cvs.spec:” which looks clumsy. So after emailing the author and getting an idea on where to modify the xsl file to add a newline (which didn’t work quite as well as I had liked), I made some changes myself, including a new commandline switch to enable it, so now the output looks like:

2006-01-03 17:08  vdanen

        * cvs/SOURCES/cvs-1.11.20.tar.bz2,
          cvs/SOURCES/cvs-1.11.20.tar.bz2.sig, cvs/SPECS/cvs.spec:
          - Obfuscate email addresses and new tagging
          - Uncompress patches

Much nicer. Sent a patch in to the author with the changes to both the shellscript (with the added option) and also to the xsl file. I had requested a commandline switch and he said he’d add it to his TODO list, but once I figured things out (I don’t know the first thing about XML) I sent him the patch instead. Hopefully he’ll incorporate it in future versions. As a developer, I can honestly say this is how I like things done… and one reason I like open source. Too many times when developing Anthill I’d have people ask for feature requests (and I knew they were perfectly capable), but they kept pestering me to implement something of use to them (not necessarily of use to me). If they would have just submitted the code themself, it would have been so much nicer. Kinda like what I did. =)

Share on: TwitterLinkedIn


Published

Category

Linux

Stay in touch