How to have a buildbot GitPoller change source watch all branches?

buildbot, continuous-integration, git, python

Solution

This is finally implemented: https://github.com/buildbot/buildbot/pull/1010.

Should be part of the upcoming release of buildbot 0.8.9.

You can use `branches=True` then.

Problem

I'm looking for a way to have a GitPoller `changesource` watch all branches instead of just one. For now, either I specify `branch='some branch'` in the GitPoller constructor, or it defaults to `master`. Even better would be to be able to specify some `ref` pattern to watch. Is that something one does already? Or does it need to code another kind of GitPoller ? Thanks.

Original source