[Buildbot-devel] integrating buildbot with trac?

Brian Warner warner-buildbot at lothar.com
Tue Sep 12 17:24:17 UTC 2006


Wade Brainerd <WBrainerd at activision.com> writes:

>    Hi all, I've been thinking about the possibilities for integrating
>    buildbot into Trac (http://trac.edgewall.com/).

Yeah, this would be really sweet. My assumption thus far has been that we
need the buildbot status to be kept in SQLite or something on disk to make
this feasible. If we had that, the Trac plugin could just read status
(synchronously) from disk rather than pulling it via PB from the buildmaster.
Getting Trac to speak PB would probably require running a reactor, and to
have the normal CGI-driven blocking Trac code to run an event-driven
asynchronous reactor would be a pretty big project. With a buildbot database
backend, other tools would be able to use build status too.

But that's an implementation detail. I like all the ideas you presented.
Let's pretend that it's possible to get build status from within trac (using
a similar API to what you'd use inside a buildmaster status plugin, as
defined by buildbot.interfaces[1]), and design useful things from there.

eager,
 -Brian

[1]: http://buildbot.cvs.sourceforge.net/buildbot/buildbot/buildbot/interfaces.py?revision=1.45&view=markup





More information about the devel mailing list