[users at bb.net] Combining GitPoller with GitHubEventHandler

Ryan Schmidt buildbot at ryandesign.com
Fri Jul 31 19:15:01 UTC 2020


Can I combine a GitPoller in change_source with a GitHubEventHandler in change_hook_dialects?

Here's the goal: I would like to be notified immediately of new commits via the change hook, but if GitHub can't notify me immediately (e.g. if the buildmaster isn't running or its Internet connection is down) I don't want the commit to be forgotten. A daily poll for any forgotten commits with GitPoller seems like it would be a solution, except that what actually happens is that the GitPoller schedules a build for all commits that happened since the last poll, even those about which I've already been notified via the change hook.

I thought it might be possible to combine them, based on this documentation:

http://docs.buildbot.net/latest/manual/configuration/wwwhooks.html#poller-hook

but I see now that that's not exactly the same thing.



More information about the users mailing list