[Buildbot-devel] [Monotone-devel] Help request with buildbot for monotone

Markus Schiltknecht markus at bluegap.ch
Thu Jul 12 12:09:31 UTC 2007


Hi,

Nathaniel Smith schrieb:
> IIRC the log code is mostly just used to get the text that's shown
> when you click on the "what changed?" link in buildbot?

Right, it's running on the buildbot master.

> Polling is a little annoying, but useful when people can't use
> sendchange... I forget how the buildbot poller works, but the CIA
> poller at contrib/ciabot_monotone.py in monotone's source tree uses a
> nice algorithm that's fully against the automate interface.

I think that most people who are able to run a buildbot server will be 
able to run 'buildbot sendchange'. And as mtn provides the netsync 
hooks, it wasn't that much work to code the appropriate lua hooks. At 
least it's less lines of code than the polling MonotoneChange.

> OTOH, one can use sendchange in a poll-based setup, by just installing
> the hooks on a local database and then using a cronjob to pull into
> that database (and thus trigger the hooks).

I would even recommend using push proragation to fill that local 
database :-)   But of course there are situations, where you are not in 
control of that remote server and have to poll. As you pointed out 
yourself, that does not really apply to the buildbot server.

Regards

Markus





More information about the devel mailing list