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

Bug 228046

Summary: Add discovery site for features installed via p2 UI
Product: [Eclipse Project] Equinox Reporter: John Arthorne <john.arthorne>
Component: p2Assignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.4   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description John Arthorne CLA 2008-04-21 12:22:48 EDT
Follow-on from bug 224621. When a feature is installed with the p2 UI, we need to expose the discovery and update sites of the feature so the user can browse and update from them.
Comment 1 John Arthorne CLA 2008-04-22 17:28:21 EDT
Initial support released. This works as follows:

 - Generator adds a repository reference to the metadata repository for each feature discovery site, and for the feature update site. The update site is set to be enabled by default, and the discovery sites are set to be disabled.
 - When the metadata repository is loaded (LocalMetadataRepository), it fires DISCOVERY events for each repository reference
 - Repository managers listen for DISCOVERY events and add the discovered repositories to the list of known repositories. Discovered repositories may be either enabled or disabled by default.

This needs further testing once we have a repository generated with the changes made in the generator.
Comment 2 John Arthorne CLA 2008-04-30 14:11:17 EDT
Verified in 3.4 M7 test candidate build.