Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336979 - Add Eclipse-SourceReferences to EGit/JGit bundles
Summary: Add Eclipse-SourceReferences to EGit/JGit bundles
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Releng (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 12:45 EST by Alex Blewitt CLA
Modified: 2015-09-23 20:57 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2011-02-11 12:45:08 EST
PDE has support for parsing Eclipse-SourceReferences to point to an arbitrary Maven SCM URL.

http://wiki.eclipse.org/PDE/UI/SourceReferences

e.g. 

Eclipse-SourceReferences: scm:cvs:pserver:dev.eclipse.org:/cvsroot/eclipse:org.eclipse.debug.core;tag=v20100427

We should add something like this to the EGit/JGit bundles:

Eclipse-SourceReferences: scm:git:http://egit.eclipse.org/egit.git
Comment 1 Martin Oberhuber CLA 2013-03-17 20:10:02 EDT
Doing this seems to be really simple now with CBI / Tycho, look at what we did for TM: https://git.eclipse.org/r/#/c/11229/
Comment 2 Martin Oberhuber CLA 2013-03-17 20:23:25 EDT
Generating them through CBI/Tycho is supported since Tycho 0.16.0:
The detailed docs are here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=380872

http://wiki.eclipse.org/Tycho/FAQ#How_to_generate_Eclipse-SourceReferences_MANIFEST_header.3F
Comment 3 Matthias Sohn CLA 2015-09-23 20:48:20 EDT
Eclipse-SourceReferences are generated for EGit since a long time.
There is no simple way to generate them for the JGit bundles since we can't use Tycho to build them since we need both Maven and OSGi artifacts which isn't supported by Tycho.
Comment 4 Alex Blewitt CLA 2015-09-23 20:57:39 EDT
You could hard-code the Eclipse-SourceReference in the JGit Manifest.MF without the tag, though.