Atom feed of Subversion log

Volume 8, Issue 21; 12 Feb 2005; last modified 08 Oct 2010

Tracking my hacks in Subversion.

Someone has changed your life. Save? (y/n)

Since switching to Subversion, the Atom feed of my CVS log hasn't been working. No surprise there really seeing as how there isn't a CVS log anymore. So now I've implemented equivalent functionality for Subversion. It's actually a lot easier and a lot nicer because:

  • Commits in Subversion are atomic, so you get one log message with a list of all the files that were committed. (With CVS, you get the same log message repeated for each file that was committed.)

  • Subversion will give you the log in XML, so the Atom feed can be built with a simple XSLT stylesheet.

Feel free to subscribe to the new feed.


You should really use either HTTP 410 or HTTP 301 for the old CVS feeds.

—Posted by Anne on 13 Feb 2005 @ 12:45 UTC #

I considered using 301, and I guess I still might do that, but the semantic doesn't feel right. In some sense, the Subversion feed is definitely "the same" resource as the CVS feed, so the feed has just moved. But in another sense, it's not the same feed at all, so saying it moved doesn't feel right.

Using 410 is a good idea though. I'll let the CVS feeds hang around for another week or so, just in case anyone cares, and then I'll 410 'em. Yeah, that feels better.

—Posted by Norman Walsh on 13 Feb 2005 @ 03:06 UTC #

It is nice to publish the XSLT stylesheet but it xsl:includes a stylesheet that I cannot find (utils.xsl).

—Posted by Stephane Bortzmeyer on 03 Nov 2005 @ 12:57 UTC #

The utils.xsl file is right in the same place,

—Posted by Norman Walsh on 03 Nov 2005 @ 06:49 UTC #

With my service you can do this for any public SVN feed: SVNFeed

—Posted by Sam on 14 Oct 2007 @ 06:07 UTC #