[Buildbot-devel] Multiple branches with HgPoller?
Lance Edgar
lance at edbob.org
Tue Jun 17 20:41:57 UTC 2014
On 06/17/2014 08:56 AM, Steve Hoelzer wrote:
> On Mon, Jun 16, 2014 at 11:06 AM, Georges Racinet <gracinet at anybox.fr> wrote:
>> I do have a fix for this issue, also known as
>> http://trac.buildbot.net/ticket/2469, still need to make it meet the
>> buildbot standards though (it's just making the service name of the
>> poller derive also from the branch).
>
> That sounds pretty straight forward. Can you share your code? What
> needs to be done to "meet the buildbot standards"?
I dealt with this also; my fix was to subclass HgPoller and accept a
'name' argument. Can't see how that's any better but I do have the code
handy, see attached. It's almost entirely a copy-paste job from the
base HgPoller constructor.
Lance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: named_hgpoller.py
Type: text/x-python
Size: 1835 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20140617/f96e884b/attachment.py>
More information about the devel
mailing list