[Buildbot-devel] Use branches automatically? (GitPoller/Git)

John Carr johnmdcarr at me.com
Sun Jun 15 21:02:06 UTC 2014


In buildbot 0.8.9 (which I’m part way through releasing) you can set ‘branches’ to True for “poll all branches” or you can give it a callable that gets given a list of all branches and returns the interesting ones (allowing you to filter by regex).

If you can’t upgrade to 0.8.9 (i should be done late tonight) then this is the pull requested that added, maybe you can subclass GitPoller with something similar yourself:



On 15 Jun 2014, at 16:05, W. Martin Borgert <debacle at debian.org> wrote:

> Hi,
> I'm using GitPoller() and Git() for the "master" and other branches.
> Currently I'm adding the names of the branches manually via the
> branches or branch parameters.
> I would like to have this automatically done either for all branches,
> or better, branches that have certain names, i.e. match a certian
> regular expression.
> How to accomplish this with Buildbot 0.8.8?
> Even the ugliest hacks are acceptable for now :~)
> TIA!
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> 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