[Buildbot-devel] [buildbot-devel] Poll just once at startup with HgPoller?
Steve Hoelzer
shoelzer at gmail.com
Wed Dec 18 21:44:43 UTC 2013
On Wed, Dec 18, 2013 at 8:51 AM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> On Wed, Dec 18, 2013 at 9:42 AM, Steve Hoelzer <shoelzer at gmail.com> wrote:
>> I don't think the hook can force a poller to poll once at start up and
>> then stop polling. The poller has to support that. As far as I can
>> tell, HgPoller does not. Perhaps other pollers do.
>
> Exactly. Like I said, HgPoller isn't involved at all. The hook is
> *polling*, not forcing a poller to do so.
Ahh, now my lightbulb is on. Thanks for explaining again.
But that still leaves me with my initial question: How do I get the
behavior described in the poller hook docs?
> The poller hook allows you to use GET requests to trigger polling.
> One advantage of this is your buildbot instance can (at start up)
> poll to get changes that happened while it was down, but then
> you can still use a commit hook to get fast notification of new
> changes.
http://docs.buildbot.net/current/manual/cfg-statustargets.html#poller-hook
I have the poller hook working, but Buildbot does not poll at start
up. How do I make that happen?
Thanks,
Steve
More information about the devel
mailing list