[Buildbot-devel] RSS feeds and microsummaries

christian unger christian_unger at mac.com
Tue Nov 7 23:34:33 UTC 2006

This works quite well,

some comments:

I think it would be more informative to have the builder's name  
instead of the bot's name in the feed's header,
if you have e.g. more than one builder on one bot.
Also would it be cool to be able to make the feed configurable to  
only display the changes from PBChangeSource, maybe in addition with  
the failed builds.

just my 2 cents

christian unger

On 04.11.2006, at 18:18, Lieven Govaerts wrote:

> José Dapena Paz wrote:
>> 	I've uploaded a patch to the Buildbot tracker to provide a (very  
>> basic)
>> support for an RSS feed in waterfall display. You can get it here:
>> http://sourceforge.net/tracker/index.php? 
>> func=detail&aid=1560660&group_id=73177&atid=537003
>> 	It's working in our multiproject prototype for Fisterra:
>> 	http://buildbot.fisterra.org/
>> 	http://buildbot.fisterra.org/buildbot/fisterra-base/rss
>> 	It's a very simple patch. Now it only reports failing builds, as  
>> it's
>> what I was using. But it could be easily improved to make it more
>> configurable.
> I've used José's patch as a starting point to setup RSS and ATOM feeds
> for the buildbot for the Subversion project. For our purposes I had to
> make a lot of changes:
> - supports both RSS 2.0 and ATOM 1.0 (minimal support though, will be
> reviewed soon)
> - instead of showing the result of the last build for each builder,  
> this
> code feeds not only the last, but all FAILed builds, whatever the
> builder. Currently nr. of entries is limited to 25.
> - each feed entry contains:
>   .) timestamp of the build, branch, svn revision and buildername.
>   .) a link to the build information page
>   .) author of the change
>   .) name of the failed step
>   .) last 30 lines of the log of the last (normally also failed) step
> - this is not a patch to the buildbot code, but a completely separate
> implementation, no modifications to the bb code are needed. I like  
> this
> approach better, it makes it easier to keep in sync with buildbot  
> releases.
> - the code is reorganized a bit to better support the two output  
> formats
> rss and atom.
> Example configuration:
> c['status'].append(
>     Feeder.WaterfallWithFeeds(
>         http_port="tcp:"+str(private.htmlPort)+":interface=",
>         css="/home/buildbot/masterdir/buildbot.css",
>         favicon="/home/buildbot/masterdir/favicon.ico")
>     )
> The latest version of the code can be found here:
> http://www.mobsol.be/svn/public/buildbot/trunk/config/masterdir/ 
> Feeder.py
> Obviously the code can be improved in a lot of places, it's the first
> version after all. Hope someone can put it to good use, feel free  
> to use
> it. Feedback appreciated.
> Lieven
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel

More information about the devel mailing list