[Buildbot-devel] Creating a new StatusReceiver type

Eli Carter eli.carter at commprove.com
Thu Oct 19 19:29:39 UTC 2006


All,

I'm trying to integrate buildbot into a larger workflow system, and need
to use the buildbot build events to trigger operations in that system.[1] 
I was thinking in terms of writing a StatusReceiver sub-class that would
call "hooks" in the same way that svn, cvs, etc. do.

As I understand it, the StatusReceiver object must subscribe to the events
by calling .subscribe(self) on the build master's status object
(.getStatus()).  But... how do I get the build master object to be able to
get the status object to be able to get notification of the events?  The
closest example I could find was the MailNotifier, but that appears to be
using twisted services or something, and I don't think I need anything
that complex.

[1] Based primarily around Trac, not that I think it matters for this case.

My Google skills have failed me thus far.  Any help would be appreciated.

Eli





More information about the devel mailing list