[Buildbot-devel] [buildbot-devel] Poll just once at startup with HgPoller?
Steve Hoelzer
shoelzer at gmail.com
Wed Dec 18 14:42:19 UTC 2013
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.
Steve
On Tue, Dec 17, 2013 at 4:57 PM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> Looking at the rest of that doc section, HgPoller isn't involved at
> all - it's all in the hook.
>
> Dustin
>
> On Thu, Dec 12, 2013 at 10:00 AM, Steve Hoelzer <shoelzer at gmail.com> wrote:
>> In the docs for the poller hook, it says:
>>
>>> 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'm currently using HgPoller but I don't see how I can configure it to
>> poll just once at start up. As far as I can tell, it never polls at
>> start up. The first poll happens after `pollInterval` seconds and then
>> of course it keeps polling periodically.
>>
>> Is there a way for me achieve the behavior described in the docs?
>>
>> Thanks,
>> Steve
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
More information about the devel
mailing list