[Buildbot-devel] ATOM and RSS feeds code update

Gareth Armstrong gareth.armstrong at hp.com
Mon Jul 28 17:01:05 UTC 2008


Hello Folks,

first off thanks for a most excellent piece of software.  And now to the 
party piece which missed Friday's party.

In the context of some work that am I doing with I needed to make ATOM 
and RSS feeds available to the users of our buildbot system.  So 
naturally, the mailing list archives provided the answer and even where 
I could pick up the code.  Google also helped and I managed to gather a 
few minor modifications to Feeder.py from the web.  However, this was 
all based on buildbot 0.7.4/0.7.5 code.  Therefore, I took the liberty 
to align the feeder code with buildbot 0.7.7/0.7.8.  The main 
modifications are as follows:

1) the feeds are now based on baseweb.WebStatus
2) feeds are fully validated ATOM 1.0 and RSS 2.0 feeds (verified with 
code from http://feedvalidator.org/)
3) nicer xml output
4) feeds can be filtered as per the /waterfall display with the builder 
and category filters
5) cleaned up white space and imports

I have run tested the feeds with combinations of Twisted 2.50/8.10 & 
buildbot 0.7.7/8.

While the feeds are fully validated, I am not sure the way in which I 
implemented the ATOM <id> and RSS <guid> tags will be to everyone's 
liking.  In any case, all feed back would be most welcome.  Many thanks 
again.

All the best,

Gareth

-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: feeder.py
Type: text/x-python
Size: 15571 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20080728/1d8571d2/attachment.py>


More information about the devel mailing list