Recras / Buildkite-git-trigger

Triggers Buildkite pipelines based in changed branches in git.
MIT License
2 stars 0 forks source link

Polling #1

Open toolmantim opened 8 years ago

toolmantim commented 8 years ago

Would it be worth considering polling, rather than POST, to allow it to point to any internal Git repository without the need for a POST to occur at all?

timmipetit commented 8 years ago

Sounds like a useful addition for setups that have no notification/webhook system. Maybe we should have a way (using env vars?) of enabling/disabled push/poll methods. We could easily do polling with Timers and Threads, like this: https://gist.github.com/chadselph/4ff85c8c4f68aa105f4b