[Buildbot-devel] Status of the trac plugin
Brian Warner
warner-buildbot at lothar.com
Sun Aug 12 19:11:41 UTC 2007
"Matthieu Brucher" <matthieu.brucher at gmail.com> writes:
> I was searching for an integration of buildbot inside TRAC, and I found
> two projects. The first is available on trac-hacks.org, but is barely
> maintained and I couldn't get it to work on 0.10.3.1 (seems to work on
> some 0.10.3).
> The second is developped by here, but I don't know how to create an egg
> to send it to trac (if it is already possible). What is the state of
> this plugin ? What is its purpose (I saw that the whole buildbot source
> was in the repository) ?
I've been doing a lot of web-status hacking this week, so I took a moment to
dust off that branch and clean it up.
The wiki page at http://buildbot.net/trac/wiki/TracPlugin points to the new
branch, "trac-plugin-2". I've also added a BuildbotAndTrac page to suggest
functional alternatives that may help out until the TracPlugin is done.
The trac plugin that teratorn and I were hacking on at PyCon back in the
spring consists of two parts: an XMLRPC server that runs as a part of the
Buildbot's normal web status (i.e. waterfall) code, and a Trac plugin that
acts as a client of that XMLRPC server. The XMLRPC server lives in the main
buildbot source in buildbot/status/web/xmlrpc.py, while the Trac plugin lives
in contrib/trac-plugin/ (and could be distributed separately).
The Trac plugin is built by cd'ing into contrib/trac-plugin/ and running
'python ./setup.py bdist_egg', then copying the resulting dist/*.egg file
into trac's plugins/ directory.
When we first did that hacking, Buildbot did not yet have an XMLRPC server
(nor really a good place to attach it), so the old trac-plugin/ branch
contained both modifications (adding the XMLRPC server *and* adding the
contrib/trac-plugin/ directory). Now that I've refactored the buildbot's
web-status code in trunk, the XMLRPC server is a normal part of the buildbot.
I just commited that change a few minutes ago.
I removed the old trac-plugin/ branch from http://buildbot.net/repos/ and
created a new trac-plugin-2/ branch. This new branch is a copy of regular
trunk plus a patch that adds the contrib/trac-plugin/ directory. So for new
hacking on the plugin, please use the following command to grab a tree:
darcs get http://buildbot.net/repos/trac-plugin-2
That said, the plugin's code is in exactly the same state it was back in
February. No progress has been made on it since then. But, with this new
refactoring in place, it should be easier to make forward progress. So hack
away! :).
Oh, also, look at the Branch.notes in that trac-plugin-2 branch to see some
of the goals for the plugin.
hope that helps,
-Brian
More information about the devel
mailing list