[Buildbot-devel] Polling multiple branches for same repoul with GitPoller

Tarcísio Rodrigues tarcisio.genaro at gmail.com
Fri Sep 13 18:00:56 UTC 2013


Hello.

I found out my mistake. In order to do what I needed I had just to use the
'branches' parameter (and not 'branch' adding two GitPollers with same
repourl).


On 12 September 2013 00:24, Tarcísio Rodrigues <tarcisio.genaro at gmail.com>wrote:

> Hello, there.
>
> I've ran into an issue trying to get two GitPoller's working with the same
> repourl but with different branches. Every time the master started it
> crashed with this error:
>
> File
> "/home/buildbot/lib/python2.6/site-packages/twisted/application/service.py",
> line 303, in addService
>             " '%s'" % service.name)
>         exceptions.RuntimeError: cannot have two services with same name
> ...
>
> I was able to find a thread on this and a bug report with the same problem
> for HgPoller:
>
>
> http://sourceforge.net/mailarchive/forum.php?thread_name=CAJtE5vScKpe3bYNh6ZrtZwbWQveo4pVjOm9unQk6R8WzVxxXJw%40mail.gmail.com&forum_name=buildbot-devel
>
> http://trac.buildbot.net/ticket/2469
>
> Actually there's a very simple patch to get this working for GitPoller:
> https://github.com/buildbot/buildbot/pull/873<https://github.com/tarc/buildbot/tree/multiple_branches_per_repo_gitpoller>
>
> So I was wondering: is this really a issue, or am I doing something wrong
> in my settings?
>
>
> Greetings,
>
> Tarcísio G. Rodrigues
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130913/5ff88f57/attachment.html>


More information about the devel mailing list