Be able to use string in bug tracker
Bug #440472 reported by
Alexandre Garnier
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Alexandre Garnier |
Bug Description
With --fixes option, it possible to use only numbers.
But with some bug trackers (e.g. JIRA), the bug ids are in the form ABC-123456 (where ABC is the component trigram)
The solution is to declare one bug tracker for each ABC, but it is not really easy.
It would be cool to be able to declare 1 bug tracker 'bugtracker_
bzr ci --fixes JIRA:ABC-123456
Related branches
lp:~zigarn/bzr/440472-string-bugtracker
- Martin Packman (community): Approve
-
Diff: 137 lines (+51/-11)3 files modifiedNEWS (+3/-0)
bzrlib/bugtracker.py (+21/-6)
bzrlib/tests/test_bugtracker.py (+27/-5)
Changed in bzr: | |
assignee: | nobody → Alexandre Garnier (zigarn) |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
milestone: | none → 2.3b1 |
To post a comment you must log in.
Hi,
I think this is quite easy to fix if we wish to.
At the moment, in bzrlib/ bugtracker. py GenericBugTracker IntegerBugTrack er, but restructuring
derives from URLParametrized
so that it is not a subclass of IntegerBugTracker would work.
The only downside I could see to this would be that mistakes when
it is supposed to be an integer wouldn't be caught, but I think
that is acceptable.
Thanks,
James