Bug 367711 - Cannot export a project which has been checked out with a tag
Summary: Cannot export a project which has been checked out with a tag
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 10:41 EST by Tomasz Zarna CLA
Modified: 2022-11-17 05:30 EST (History)
4 users (show)

See Also:


Attachments
Screenshot showing "Problem Occured" message (30.45 KB, image/png)
2012-01-02 10:42 EST, Tomasz Zarna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.