Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367711

Summary: Cannot export a project which has been checked out with a tag
Product: [Technology] EGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: alain.leguennec, dbaumann, matthias.sohn, mn
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=367712
Whiteboard:
Attachments:
Description Flags
Screenshot showing "Problem Occured" message none

Description Tomasz Zarna CLA 2012-01-02 10:41:41 EST
Steps:
1. git-bash: Clone a repo
2. git-bash: Check out a tag
3. Eclipse: Import the project into Eclipse
4. Eclipse: Try to export the project to a Project Set File
=> SHOULD BE: a file containing a reference string similar to this "1.0,git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.git;path=bundles/org.eclipse.releng.tools;tag=v20111215-1442"
=> IS: "No remote URL configured for the current branch" error, see the screenshot
Comment 1 Tomasz Zarna CLA 2012-01-02 10:42:56 EST
Created attachment 208919 [details]
Screenshot showing "Problem Occured" message
Comment 2 Tomasz Zarna CLA 2012-02-02 11:22:37 EST
Importing in such case doesn't work either, see bug 367712.
Comment 3 Matthias Sohn CLA 2013-09-13 08:02:05 EDT
that's the other side of bug 398513
egit doesn't yet support tags in psf files
Comment 4 Tomasz Zarna CLA 2013-09-13 09:33:54 EDT
(In reply to Matthias Sohn from comment #3)
> that's the other side of bug 398513

I filed a bug for the flip side too, see bug 367712 from comment 2.
Comment 5 Dirk Baumann CLA 2022-11-17 05:30:22 EST
The import of tags seems to be fixed (bug 398513), but the export described in this issue is still open.

Are there any updates?

Note: We have implemented an Eclipse editor for team project set files (open source, see https://github.com/dxc-technology/eclipse-project-set-editor) and want to support tags for Git.

This requires the fix for this bug, because we are using the API ProjectSetCapability.asReference(..) (implementation class GitProjectSetCapability) which throws the described exception ("No remote URL configured for current branch in repository of project {0}.") for Git tags.