Morten Frederiksen: I wanted to be able to subscribe to the changes in a Bazaar branch. Starting out with Sam’s tarify.cgi and Joe Gregorio’s sparklines as working examples I have managed to create a simple Python-script for generating an Atom feed: bzr-feed. You can of course subscribe to the changes!
Sweet!
I’ll definitely be deploying this for Venus. But first I want to think a bit about what values make sense for link, and I want to put in some sort of cap on the number of entries in the feed.
To make this happen, I had to make a few small changes (diff, branch), mostly to enable me to run this from the command line as bzr isn't installed on CornerHost.
Morten Frederiksen [via Sam ]: Starting out with Sam’s tarify.cgi and Joe Gregorio’s sparklines as working examples I have managed to create a simple Python-script for generating an Atom feed: bzr-feed . You can of course subscribe to the changes !...
As far as unique identifiers for feed entries, it would be better to use the revision IDs instead of things like “tag:intertwingly.net,2006-08-16:code/venus:190”. This way twp branches that contain the same revision in their mainline history will get the same ID.
Given the way Bazaar revision history is normalised, if two branches have the same revision in their mainline history they should assign the same revision number to it.
Tom Pike: No. Call this anecdotal if you like, but a few days ago I mentioned two products which have been widely reviewed, and my entry appears fairly high on the search results. Pleasingly, traffic is starting to flow on that entry, partic...
[more]
bzr-feed is a Python script written by Morten Frederiksen which generates Atom feeds from Bazaar repositories. Users and other developers can subscribe to the feed and receive notifications of new revisions automatically. Obtaining bzr-feed You can...