[Buildbot-devel] Hooking a new TCP-listening service into the BuildMaster

Greg Ward gerg.ward+buildbot at gmail.com
Thu Jan 31 22:04:00 UTC 2008


Dustin J. Mitchell wrote:
> On Jan 31, 2008 3:14 PM, Greg Ward <gerg.ward+buildbot at gmail.com> wrote:
> 
> I've been tossing around the idea of adding a c['extra_services']
> variable to master_cfg.py, which the buildmaster would start at
> application startup.  I don't have the patch handy, but it sounds like
> your question would fit easily into that.

Yeah, it sounds like I've got a good use case for that idea.  (BTW, 
shouldn't it be 'extraServices' for consistency with all the other 
config variables?)

> In the interim, it's probably easiest to just set up your class as a
> service and instantiate it directly from the BuildMaster's
> constructor, similar to the way self.botmaster is set up.

Oh.  I was hoping I could do this without patching Buildbot.  What the 
hell, I've already got 4 or 5 patches running ... what's one more?

	Greg




More information about the devel mailing list