[Buildbot-devel] How to set category for Change from various branch

Xavier Delannoy xdelannoy at cloudmark.com
Tue Dec 9 15:04:35 UTC 2014


On 12/09/2014 03:03 PM, Xavier Delannoy wrote:
> On 12/09/2014 02:22 PM, Xavier Delannoy wrote:
>> Hi,
>>
>> I'm using nine, and don't know how to do this (It's maybe a RFF (request
>> for feature, in this case I can do it).
>>
>> I use changes.GitPoller with branches=True, Eg: Fetch all branches.
>> for the master branch, I want to set the category to: "master"
>> for branches under "/dev" (example: /dev/newFeature", I want to set the
>> category to "prototype"
>>
>> I need to have various categories, in order to have specific schedulers
>> which receive changes from category.
>>
>> as the category parameter of changes.GitPoller is not a callable, I
>> wonder how I can do this ?
>>
>
> Note: Using several changesources to fetch several branches for the same
> git repository is not doable. If we do this, then the following
> exception is raised:
>
> exceptions.RuntimeError: cannot have two services with same name
> 'ssh://<user>@<repos>'
>
See https://github.com/buildbot/buildbot/pull/1432






More information about the devel mailing list