Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336980 - Support parsing and materializing Eclipse-SourceReferences within EGit
Summary: Support parsing and materializing Eclipse-SourceReferences within EGit
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 2.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 450835
  Show dependency tree
 
Reported: 2011-02-11 12:46 EST by Alex Blewitt CLA
Modified: 2014-11-10 09:30 EST (History)
3 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:46:29 EST
If the Eclipse-SourceReferences are present in a bundle, we should be able to import them into the workspace.
Comment 1 Martin Oberhuber CLA 2013-03-17 20:13:44 EDT
I think this is possible with egit-2.3.1 using the "EGit Plug-In Import Support" optional feature so the bug might be closed fixed ?

When I launch Eclipse Classic SDK, open the Plug-Ins View and Import As... Project from a Repository, I can "Import from Master" any plug-in. The "Import Specific Version" does not seem to work, neither with this SCMURL using a tag:

Eclipse-SourceReferences: scm:git:git://git.eclipse.org/gitroot/platfo
 rm/eclipse.platform.resources.git;path="bundles/org.eclipse.core.file
 system";tag=v20130122-153237

Nor with that one (generated by Tycho), using a commitId:

Eclipse-SourceReferences: scm:git:git://git.eclipse.org/gitroot/tm/org
 .eclipse.tm.git;path="terminal/plugins/org.eclipse.tm.terminal.ssh";c
 ommitId=447db14467e609c796db6deec395cd6bacf376d8
Comment 2 Martin Oberhuber CLA 2013-03-17 20:22:37 EDT
Parsing and Materializing Eclipse-SourceReferences is actually supported since EGit 2.0 :
http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.0#Support_for_Eclipse-SourceReferences_manifest_headers

Generating them through CBI/Tycho is supported since Tycho 0.16.0:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380872
http://wiki.eclipse.org/Tycho/FAQ#How_to_generate_Eclipse-SourceReferences_MANIFEST_header.3F

Missing support for "Import a specific version" is tracked in bug 367712.

So, I think this can safely be closed.