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

Bug 318386

Summary: Allow importing part of a git repository as New Project
Product: [Technology] EGit Reporter: Alexander Kurtakov <akurtakov>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: malaperle, mathias.kinzler, matthias.sohn, robin
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Alexander Kurtakov CLA 2010-06-29 17:45:31 EDT
Steps to reproduce:
1. Clone http://github.com/sonatype/sonatype-tycho.git
2. Start importing projects
3. Select Use the New Project Wizard radio from the Method for Project Creation
4. There is no way to select which part of the repo you want to import as new project. Note that selection is possible in both Import Existing packages and Import as general project selections.

It would be good to be able to import only part of a repo as new project.
Comment 1 Matthias Sohn CLA 2010-06-30 05:54:09 EDT
This is an enhancement request
Comment 2 Mathias Kinzler CLA 2010-07-05 06:56:22 EDT
Well.... The "New project wizard" does in fact allow to specify a "selection" when it is called (the INewWizard interface inherits from IWorkbenchWizard the init method which takes an IWorkbench and an IStructuredSelection argument. However, since at this point in time the Repository is just some folder in the local file system, I can't think of anything useful to provide here as selection. Or am I mistaken here?
Comment 3 Robin Stocker CLA 2013-09-27 11:30:30 EDT
I think this is the same problem as in bug 324145, please see there.

*** This bug has been marked as a duplicate of bug 324145 ***