Fixed bugs not rendered as links
Bug #512733 reported by
Martin von Gagern
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trac-Bzr |
Fix Committed
|
Low
|
Martin von Gagern |
Bug Description
The --fixes argument to bzr commit records a URL for the bug, which gets displayed in trac as a revision property called "bugs". It would be nice to have the URL rendered as a link instead of plain text. A property renderer to do so should be easy to write. It might even make sense to identify urls pointing to tickets of this trac setup, and render a shorter format for them.
Related branches
Changed in trac-bzr: | |
importance: | Undecided → Low |
assignee: | nobody → Martin von Gagern (gagern) |
Changed in trac-bzr: | |
status: | New → Triaged |
Changed in trac-bzr: | |
milestone: | none → 0.4.3 |
Changed in trac-bzr: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
I've implemented the first part of this in the rev 118 of lp:~franoleg/trac-bzr/tagdisplay (sorry for the confusing name, I thought about playing with the display of tags when I created it).
I haven't decided yet what's the best way of detecting the links to the tickets of this Trac env. I don't feel like doing magic and comparing the revision bug link to the calculated URL of the Trac env. Maybe it'd be better to have an option with the regexp to match the revision bug links against?
I was also thinking about trying to add bug links next to the changeset in the timeline view, similar to how Mercurial plugin displays tags and brances, see http:// trac.edgewall. org/timeline? from=2010- 10-10T00% 3A32%3A15% 2B03%3A00& precision= second
I like the way QBzr displays tags and bugs in the log window, and want to achieve something similar.