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

Dustin J. Mitchell dustin at zmanda.com
Sun Feb 3 15:10:08 UTC 2008


On Feb 3, 2008 1:50 AM, Brian Warner <warner-buildbot at lothar.com> wrote:
> The c['extra_services'] hook would be a cleaner approach. It could be just
> like c['status'] except that it wouldn't assert that the object implements
> IStatusReceiver first.. it would just accept anything. The only wrinkle is
> that we should decide whether or not c['extra_services'] ought to do the same
> compare-before-replacing trick that the rest of the config file does, to
> avoid restarting a service that hasn't been modified.

I was thinking that extra_services would always be stopped, deleted,
and the new versions restarted, on the hypothesis that these services
aren't maintaining buildbot state -- that should all be in the process
classes.

I could add a consumeTheSoulOfYourPredecessor method, which by default
does nothing.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list