[Buildbot-devel] changecommentlink for several bug systems?

Dustin J. Mitchell dustin at v.igoro.us
Sat Dec 8 23:10:53 UTC 2012


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.

Dustin




More information about the devel mailing list