[Buildbot-devel] integrating buildbot with trac?
Justin Mason
jm at jmason.org
Tue Sep 12 10:47:09 UTC 2006
Scott Lamb writes:
>On Sep 10, 2006, at 2:52 PM, Wade Brainerd wrote:
>> Hi all, I've been thinking about the possibilities for integrating
>> buildbot into Trac (http://trac.edgewall.com/).
>
>Sweet.
>
>> Both are written in Python, but I actually doubt that helps since
>> Trac runs under mod_python and buildbot uses Twisted. I think the
>> Trac page handler would have to request the page from buildbot
>> itself, and then inline that into the resulting webpage. Or
>> perhaps there could be some use of frames to allow the page to
>> source two different webservers?
>
>I'm not sure you actually need to mix HTML both have made. I think
>Buildbot has some support already for inspecting its state over PB
>(for the commandline utilities and whatnot). So the sorts of
>[buildbot: buildbot-full.status] link you're talking about could be
>made without any contact to the buildbot webserver, and the links
>back can be made without talking to trac, since it can just know the
>URL for a given changelist.
What about adding support to buildbot for a set of well-defined redirect
URLs? e.g. http://buildbot.spamassassin.org:8010/t-sol10-561/builds/latest
would redirect to http://buildbot.spamassassin.org/t-sol10-561/builds/118
, assuming build 118 was the last build, for example.
For a hacky form of transclusion, the <iframe> tag could be useful, too
(if ugly).
I would suggest that before this would become useful, however, the build
history would need to be persistent -- that's a more serious issue in
terms of "deep links" into buildbot output, since if you link to a
particular build, that page will disappear when the buildbot process is
eventually restarted.
--j.
More information about the devel
mailing list