Bug 421306 - [Import/Export] "Import Existing Project" wizard should connect to SCM
Summary: [Import/Export] "Import Existing Project" wizard should connect to SCM
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 03:13 EST by Mickael Istria CLA
Modified: 2013-11-08 10:08 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2013-11-08 03:13:43 EST
When using "Import Existing Project" (or any project import in general), it would be nice that the wizard add a page (when relevant) allowing to connect project to SCM.
This would probably require addition of an extension point with interface like

  public interface SCMCOnnector {
      public boolean canHandle(IProjectDescription desc);
      public void connectToSCM(IProject proj);
  }

The wizard page would automatically show up if a SCMConnector implementation can handle the project description, and then would connect the project when created.
Comment 1 Paul Webster CLA 2013-11-08 10:00:07 EST
PDE currently offers that while importing a plugin from source (because of the Eclipse-SourceReference: header in the manifest).

Importing a plugin from an archive what would contain SCM information?

PW
Comment 2 Mickael Istria CLA 2013-11-08 10:08:39 EST
Note that the use-case I have in mind is not specific to PDE, but would apply to the import of any project from filesystem.
My use-case was that I used Git command-line to clone a repo, and imported a project from this repo in my IDE using the "Import Existing Project" wizard. I also add to Share the project just after, although it would make sense to suggest connection to SCM as part of the Import wizard. Much less clicks, much less menus to find.