[Buildbot-devel] changecommentlink for several bug systems?
Tom Prince
tom.prince at ualberta.net
Sun Dec 9 03:35:39 UTC 2012
"Dustin J. Mitchell" <dustin at v.igoro.us> writes:
> On Thu, Dec 6, 2012 at 9:18 AM, Bruce Stephens <bruce.stephens at isode.com> wrote:
>> Suppose there are several distinct things I'd like to create links
>> for. Specifically, two different bug systems (used for slightly
>> different purposes, and we're in transition). What's the easy way to
>> handle that?
>>
>> The two can easily be distinguished with regexps so what I'd like is to
>> provide two tuples to changecommentlink, but that's not allowed.
>>
>> Do I have to write a callable (or, just as likely, just add a loop so
>> that changecommentlink works on a list)?
>
> I think that writing a callable is a good solution here, but I'd be
> happy to see the ability to specify a sequence of tuples.
The approach taken by buildbot.revlink might be appropriate here.
Tom
More information about the devel
mailing list