Bug 383632 - [Import/Export] dialog "import existing project" from file system scans also .svn folder taking rather long for larger repos
Summary: [Import/Export] dialog "import existing project" from file system scans also ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.7.2   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2012-06-27 06:59 EDT by thomas menzel CLA
Modified: 2015-06-29 05:26 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas menzel CLA 2012-06-27 06:59:16 EDT
the scan should exclude known folders that dont contain projects such as .svn.

i guess the easiest way to do this is having a config that can be edited manually. 

a more automatic approach would be have plugin providers extend this list, so that the cvs team provider would ad the .cvs folder and svn would add its .svn or _svn (dont know if that still exists though) etc.
Comment 1 Paul Verest CLA 2014-01-12 08:38:48 EST
I second that, now it is also .git folder that should be skipped
Comment 2 Gary Gregory CLA 2015-06-27 19:28:48 EDT
This is still painful in 4.5.
Comment 3 Andrey Loskutov CLA 2015-06-28 01:46:06 EDT
Schould be a trivial fix. IResource.isTeamPrivateMember() exists exact for such use cases.
Comment 4 Prakash Rangaraj CLA 2015-06-29 04:31:55 EDT
When we are searching, we won't have the project structure as IResources. So we can't use that API
Comment 5 Andrey Loskutov CLA 2015-06-29 04:42:50 EDT
(In reply to Prakash Rangaraj from comment #4)
> When we are searching, we won't have the project structure as IResources. So
> we can't use that API

I see. What is about org.eclipse.team.core.Team.getAllIgnores()?
Comment 6 Prakash Rangaraj CLA 2015-06-29 05:26:46 EDT
(In reply to Andrey Loskutov from comment #5)
> I see. What is about org.eclipse.team.core.Team.getAllIgnores()?

At present, IDE doesn't depend on the Team plugin. So can't use that API as well