Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 376617 - provide easy way to annotate bugzilla with commit link
Summary: provide easy way to annotate bugzilla with commit link
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.0 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: gsoc2012
Keywords:
: 362357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-12 11:19 EDT by Susan McCourt CLA
Modified: 2012-09-03 10:09 EDT (History)
5 users (show)

See Also:


Attachments
Related page preview (40.72 KB, image/png)
2012-07-26 13:57 EDT, Edyta Przymus CLA
no flags Details
'undefined' in Related (3.21 KB, image/png)
2012-08-06 05:34 EDT, Szymon Brandys CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2012-04-12 11:19:46 EDT
+++ This bug was initially created as a clone of Bug #362357 +++
As a stopgap solution we can add a related pages link in the commit page to either the github or eclipse commit.  This is nice on its own as a feature, but also lets me "copy link" from the Orion commit page and paste it into bugzilla.
Comment 1 Susan McCourt CLA 2012-05-18 15:29:46 EDT
moving out of 0.5M2 to 0.5 milestone until we have more specific buckets for future
Comment 2 libing wang CLA 2012-05-29 11:10:42 EDT
+1.
When I fix a bug and put the solution comments I always have to open Orion commit page and copy id from there and paste the id to http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=59462c6911ef200dec7afc8de90e2b231ba7e405.

So generating a link like this will save manual steps.

But it will be cool if I can use Orion commit page URL in bugzilla. Maybe some thing like this?

http://orion.eclipse.org/git/git-commit.html#/gitapi/commit/repoURL = git.eclipse.org/c/orion/org.eclipse.orion.client.git&commitID = 59462c6911ef200dec7afc8de90e2b231ba7e405
Comment 3 Edyta Przymus CLA 2012-07-26 13:55:03 EDT
https://github.com/edytaprzymus/orion.client/commit/b0d0be225008d3e1c23e368baae6c31027f9ef6e

If the commit was pushed, on its explorer page you may find new section - "related page" with the link to GitHub or git eclipse org
Comment 4 Edyta Przymus CLA 2012-07-26 13:57:35 EDT
Created attachment 219229 [details]
Related page preview
Comment 5 Szymon Brandys CLA 2012-07-31 07:14:24 EDT
(In reply to comment #3)
> https://github.com/edytaprzymus/orion.client/commit/b0d0be225008d3e1c23e368baae6c31027f9ef6e
> 
> If the commit was pushed, on its explorer page you may find new section -
> "related page" with the link to GitHub or git eclipse org

You should rather use 'Related Page' menu at the top of the page instaed of adding 'Related Page' link to the page.
Comment 6 Edyta Przymus CLA 2012-07-31 08:28:14 EDT
I wrote all this code and have the rights to contribute it to Eclipse under the
eclipse.org web site terms of use.
Comment 8 Szymon Brandys CLA 2012-08-06 05:34:04 EDT
Created attachment 219578 [details]
'undefined' in Related

'undefined' are links to repo and commit on GitHub.
Comment 9 Szymon Brandys CLA 2012-08-06 08:11:45 EDT
Fixed.
Comment 10 Szymon Brandys CLA 2012-09-03 10:09:27 EDT
*** Bug 362357 has been marked as a duplicate of this bug. ***