Ticket #372 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Add ATOM and RSS feeds to webstatus

Reported by: garmstrong Owned by:
Priority: minor Milestone: 0.7.10
Version: 0.7.8 Keywords: atom, rss, feed
Cc:

Description

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 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

Attachments

feeder.py Download (15.2 KB) - added by garmstrong 5 years ago.

Change History

Changed 5 years ago by garmstrong

comment:1 Changed 4 years ago by dustin

  • Status changed from new to closed
  • Resolution set to fixed
commit 6edd056d6b81183c8f4692c964942eb66c58ba92
Author: Gareth Armstrong <gareth.armstrong@hp.com>
Date:   Thu Feb 5 15:27:13 2009 +0100

    Add provenance header to feeds.py

commit 82da60b668335080640bf2d0417eac703ef4506d
Author: Dustin J. Mitchell <dustin@zmanda.com>
Date:   Thu Feb 5 08:46:56 2009 -0500

    fix test_web failures where no projectName is specified

commit 0d12fff51af47503720840321054fb2408fdb2bc
Author: Gareth Armstrong <gareth.armstrong@hp.com>
Date:   Thu Feb 5 10:48:47 2009 +0100

    (refs #382) Add ATOM and RSS feeds to webstatus

(got the ticket number wrong in that last commit, but oh well)

comment:2 Changed 4 years ago by dustin

  • Milestone changed from undecided to 0.7.10
Note: See TracTickets for help on using tickets.