| Summary: | Unable to remove/disable repository | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Matthew Piggott <matthew> |
| Component: | p2 | Assignee: | John Arthorne <john.arthorne> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | eclipse, irbull, Markus.Milleder, pascal, pforeman |
| Version: | 3.5 | ||
| Target Milestone: | 3.5 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Matthew Piggott
I think this is fairly important to address since it does not give ppl the appropriate control of repo when plug-ins are adding repos. Correct, repositories present in the profile are added to the repository managers on startup. They are only removed when the corresponding IU is uninstalled. This made sense to me at the time, but I think if we allow a user to disable/remove them, that should be honoured on the next startup. *** Bug 263614 has been marked as a duplicate of this bug. *** Created attachment 126052 [details]
Modifies AbstractRepositoryManager to use ProfilePreferences rather tahn Configuration
Created attachment 126054 [details]
Updated ArtifactRepositoryManagerTest
One of the tests for ArtifactRepositoryManager worked with the assumption that repository information would be stored in ConfigurationScope preferences. This simply updates the test to self profile preferences.
Created attachment 126195 [details]
Modified Repository Actions
Created attachment 126196 [details]
Updated Repository Action tests
Created attachment 126198 [details]
Modified Repository Actions
Missed the MANIFEST.MF in the previous patch
All patches on this bug are replaced with the patch on bug 265315. I combined the patches because it was becoming difficult to keep them separate. *** Bug 264270 has been marked as a duplicate of this bug. *** Created attachment 126565 [details]
SimpleProfileRegistry patch
This removes the publishRepositoryReferences and associated methods which are pushing repositories stored in the profile to preferences.
Matthew, can you enter a separate bug for your patch in comment #11? We need to leave that code in place at least for M6 because there is a delay before we start using the new engine in the build. It won't hurt to leave that code in place for M6 because once the repos are not being added to the profile, this will be a no-op anyway. Comment on attachment 126565 [details] SimpleProfileRegistry patch Sure, I've opened bug 265994 for this change. *** Bug 266110 has been marked as a duplicate of this bug. *** I verified this is fixed by looking at the output of a test build from yesterday: https://bugs.eclipse.org/bugs/show_bug.cgi?id=266292 This bug will be fixed for end-users in the next integration build. |