Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343447 - improve display of ${connector.task.prefix} variable in commit templates
Summary: improve display of ${connector.task.prefix} variable in commit templates
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Shawn Minto CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-04-20 14:06 EDT by Shawn Minto CLA
Modified: 2012-02-17 05:45 EST (History)
1 user (show)

See Also:


Attachments
patch (1.90 KB, text/plain)
2011-04-20 14:08 EDT, Shawn Minto CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Minto CLA 2011-04-20 14:06:40 EDT
Currently, the template ${connector.task.prefix} just uses the AbstractRepositoryConnector#getTaskIdPrefix() method.  We should use the AbstractRepositoryConnectorUi#getTaskKindLabel(ITask) so that users can see the kind of the task when there are multiple kinds for a task repository.  For Bugzilla, this would mean that the commit message would no longer be:


NEW - bug 253126: externalize strings for org.eclipse.mylyn.team.*
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253126

but would be:

NEW - Bug 253126: externalize strings for org.eclipse.mylyn.team.*
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253126

for Trac, it would be:

TESTING - Ticket 13: summ 
http://server/tractest/ticket/13

instead of 

TESTING - # 13: summ 
http://server/tractest/ticket/13
Comment 1 Shawn Minto CLA 2011-04-20 14:08:41 EDT
Created attachment 193733 [details]
patch

Steffen, thoughts?
Comment 2 Steffen Pingel CLA 2011-04-20 15:19:59 EDT
While this looks better it breaks the hyperlink detector and possibly the reverse look up of tasks from the commit message. I'm okay with adding another template but I afraid that this change would break backwards compatibility.
Comment 3 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn