Atom feed of Subversion log
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.
Comments
You should really use either HTTP 410 or HTTP 301 for the old CVS feeds.
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.
It is nice to publish the XSLT stylesheet but it xsl:includes a stylesheet that I cannot find (utils.xsl).
The utils.xsl file is right in the same place, http://norman.walsh.name/style/utils.xsl.
With my service you can do this for any public SVN feed: SVNFeed