[Buildbot-devel] Schedulers for multiple repositories.
Christian Huetter
c_huetter at web.de
Tue Oct 11 07:15:29 UTC 2011
Hello,
On Mon, Oct 10, 2011 at 04:27:41PM +0200, "Christian Hütter" wrote:
>> Hello,
>>
>> I'm trying to configure buildbot to build two different source trees
>> whenever they change. Until now, it worked great with one tree. I added a
>> scheduler for the second mercurial repository, and whenever one repo
>> changed, both trees were compiled, which is, of course, unintended - only
>> the changed repo should be checked out and built. To this end, I tried both
>> the category and branch settings, without any luck. I also searched for a
>> solution to this (I would imagine rather common) problem in the
>> documentation, but alas, no luck there either. Any hint would be greatly
>> appreciated.
>>
>> With a .hgrc in the repo containing
>> [hgbuildbot]
>> master =...
>> branch = foobar
>>
>> an exception is generated, with buildbot complaining that branchtype is not
>> inrepo and branch is set (however, the exception is gerenated only for the
>> scheduler corresponding to the branch...). With branchtype=inrepo added,
>> buildbot doesn't seem react to a push at all. The same is the case with a
>> (non-default) 'caterory'-setting, whether they are matching in the .hgrc
>> and the master.cfg or not.
>>
>> Kind regards,
>> Christian
On Mon, Oct 10, 2011 at 10:19:54AM -0700, Amber Yust wrote:
> Have you taken a look at ChangeFilters?
>
> http://buildbot.net/buildbot/docs/current/manual/cfg-schedulers.html#
> change-filters
>
> ~Amber
Well, I have now ;-) Turns out that I read the documentation matching my
buildbot version, which, being part of the Debian stable release, was, erm,
*slightly* outdated (0.7.12). The buildbot upgrade worked like a charm, and the
change-filters do, too, so you made my day - thanks.
Kind regards,
Christian
More information about the devel
mailing list