Comment 5 for bug 120050

Revision history for this message
John A Meinel (jameinel) wrote :

We certainly could change the term "tag" to "tracker" which is a bit more appropriate. I looked into writing a patch which could add "bzrlib.bugtracker.tracker_registry.keys()" to the output, except that doesn't quite work.

The problem is that the tracker registry lists the tracker kind (like Launchpad, Bugzilla, etc) but not the *instance* (mozilla's Bugzilla instance, etc.)

For some single-instance trackers like Launchpad, we could check from the Tracker object directly. However, others are explicitly configured, (possibly as per-branch values). For example, bugzilla instances are registered as:

bugzilla_moz_url = XXXX

and then you can use "bzr commit --fixes moz:1233245"

And the user has control over what branches see what abbreviations.

So we would have to extend the existing Trackers to probe the branch configuration and see what trackers have been registered by the user.

Certainly possible to do, but not quite trivial.

In the short term, would the attached patch have helped? It at least gives an example.