Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340522 - Commit Convention or something like that to let us easily link back to bugzilla report
Summary: Commit Convention or something like that to let us easily link back to bugzil...
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 15:27 EDT by Simon Kaegi CLA
Modified: 2015-05-05 15:59 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Kaegi CLA 2011-03-20 15:27:35 EDT
Currently when closing a bug we typically use a commit message like --
"Bug 339348 - [client] Add footer with a link to Orion wiki and bugzilla"

This is really useful but I also find myself quite frequently wanting to actually go to the bug report.

I wonder if we might use a convention to link directly to the bug report something like:
"Bug 339348 - [client] Add footer with a link to Orion wiki and bugzilla \n
https://bugs.eclipse.org/bugs/show_bug.cgi?id=339348"

It was also be useful if in the bug report when we actually close it if we could link to the commit record and add something like:
http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?h=siteUIUsability&id=94bf32e574eb8d738712215ce2082bad9b8503c7

In that way we can go back and forth easily look at a diff and/or get some context etc.
Comment 1 Tomasz Zarna CLA 2011-03-21 07:56:33 EDT
I'm in.
Comment 3 Mark Macdonald CLA 2011-03-24 18:41:27 EDT
(In reply to comment #2)
Annnnnd... I've updated the wrong bug, once again.
Comment 4 Tomasz Zarna CLA 2011-04-01 09:52:38 EDT
FWIW, here's a Commit Comment Template I'm using in Mylyn, which is exactly what Simon suggested in comment 0:

${connector.task.prefix} ${task.key} - ${task.description}
${task.url}
Comment 5 Szymon Brandys CLA 2011-04-05 05:15:59 EDT
(In reply to comment #4)
> FWIW, here's a Commit Comment Template I'm using in Mylyn, which is exactly
> what Simon suggested in comment 0:
> 
> ${connector.task.prefix} ${task.key} - ${task.description}
> ${task.url}

It looks good. This is something that we already use for Eclipse SDK + url. The url is a nice thing for the hyperlink integration with Bugzilla.
Comment 6 John Arthorne CLA 2015-05-05 15:46:13 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 7 John Arthorne CLA 2015-05-05 15:59:55 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html