Tracking Hacks

Volume 7, Issue 62; 16 Apr 2004; last modified 08 Oct 2010

Exposing CVS logs as an Atom feed.

Many of the projects that I work on use CVS to keep track of revisions. Several of these repositories are setup so that I receive email notification of changes.

On the way to dinner the other night, Jeff Suttor and I were talking about the fact that an Atom feed might be a better way to publish these notifications.

Now this morning, I see that James Tauber (a belated “Welcome to the Blogosphere!,” James!) is asking for the same thing.

Here’s my stab at it. I use it to build two feeds: /atom/cvs.xml, a feed of all the change summaries on this site, and /atom/cvsdetail.xml, a detailed feed of all the changes on this site.


We have an RSS feed for our project (OpenACS) at and an associated changeset browser which gives us things like rollback and merge scripts as well as linking into cvsweb and our bug tracker. The big win in all of it seems to be getting changesets rather than commits on individual files (or emails per directory as most of the cvs notification scripts seem to send). The RSS feed also accepts parameters so that you can track only recent changes, or particular users or modules.

Of course the backing code is all Tcl running on AOLServer so is unlikely to appeal to most people. Oh, and no Atom yet since I have not updated the backing code for the site for about a year.

—Posted by Jeff Davis on 17 Apr 2004 @ 02:08 UTC #

Very nice - the styling is a, errm, stylish touch. Thing I'm curious about though is - what's in bin/buildrdf ??

—Posted by Danny Ayers on 17 Apr 2004 @ 07:09 UTC #

The bin/buildrdf Perl script is the workhorse of publication; it does a bunch of Make-like stuff and builds all the RDF/XHTML/PDF files for the essays.

But don't take my word for it, Danny, GET it yourself and take a look :-)

—Posted by Norman Walsh on 19 Apr 2004 @ 11:34 UTC #