[Buildbot-devel] status..IRC in another process?
warner-buildbot at lothar.com
Tue Oct 19 06:49:26 UTC 2004
> I don't want to connect to IRC from my buildmaster process. Can I have
> my status reporter on the other end of a PBListener?
> (I suspect the answer is "patches accepted", but just checking.)
Correct.. patches accepted :).
On the plus side, everything you need to do it is in there.
buildbot.interfaces.IStatus (and friends) describes the in-process API to get
status information: the PB interface is very similar (slightly "fatter", in
that many of the callbacks get extra arguments to cut down on the number of
round trips you'd need). It won't quite be a cut-and-paste job, but it
shouldn't be too much effort to make buildbot/status/words.py target a remote
PBStatus interface instead of a local IStatus one.
buildbot/status/client.py is the server side of the PB link, while
buildbot/clients/base.py is the client side. The client side may be slightly
out of date (in particular I think the Gtk+ layer is probably suffering from
bit-rot), but the server side should make it fairly clear how to get the data
More information about the devel