Bug 422677 - Add Disable Repository facility
Summary: Add Disable Repository facility
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows Vista
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-27 10:18 EST by Ed Willink CLA
Modified: 2013-11-28 01:37 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 Ed Willink CLA 2013-11-27 10:18:34 EST
Delete Repository cannot be undone.

I want to eliminate all CPU burning associated with a repo that I've cloned but no longer want to use. I would therefore like to disable/close the repo, just like closing a project I'm not currently interested in.

... then Eclipse projects could prepopulate the GIT repo browser with their closed repos, just waiting to be opened (and cloned) once needed.
Comment 1 Robin Stocker CLA 2013-11-27 16:54:41 EST
You can use "Remove Repository from View" in the Git Repositories view for that. If you later need it again, you can open the project again and select Team > "Share Project...".
Comment 2 Ed Willink CLA 2013-11-28 01:37:51 EST
(In reply to Robin Stocker from comment #1)
> You can use "Remove Repository from View" in the Git Repositories view for
> that. If you later need it again, you can open the project again and select
> Team > "Share Project...".

Even if that works there is no way I would think to that. It seems really frightening to try sharing a project to a readonly repo.

And since I want to really delete the projects from view, I won't have any 'memento' left.
======
Let me elaborate my use case. I am investigating a regression e.g Bug 422048 so I clone org.eclipse.debug.git and import org.eclipse.debug.core. When I'm done I want to minimize the impact of the clone but retain a memento so that if I need to clone org.eclipse.debug.git again, I know that I already have a stale clone and I know where it is. I don't want to keep org.eclipse.debug.core as a closed project because I may want to go back to Import Plugin & Fragments when aligning with the next milestone, particularly so for projects that refuse to use milestone tags (e.g. EMF Core).

"Close" repo fits the bill nicely.

"Remove from View" only works with a corresponding "Restore to View".