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

Bug 312687

Summary: Repo2Runnable should not consult all known repositories
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: duane.cawthron, pwebster
Version: unspecifiedFlags: irbull: review+
Target Milestone: 3.6 RC1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch none

Description Andrew Niefer CLA 2010-05-12 14:49:03 EDT
Repo2Runnable should only consult the input repositories.  If the repo manager knows about other artifact repositories, then we could end up collecting and transforming artifacts that come from other repositories than the one we were asked to process.

This can have side effects if the other known repositories are things like extension locations which may cause a lot of work to be done if they are consulted.
Comment 1 Andrew Niefer CLA 2010-05-12 15:34:54 EDT
Created attachment 168241 [details]
patch
Comment 2 Andrew Niefer CLA 2010-05-12 17:48:33 EDT
One of the side effects mentioned in comment #0, is bug 312447, treating an entire eclipse install as dropped in and regenerating metadata for the whole thing.  That bug doesnt currently have a good fix, so we would like to avoid the problem with the change here.
Comment 3 Ian Bull CLA 2010-05-12 18:48:04 EDT
I've release the patch.  Thanks andrew
Comment 4 Andrew Niefer CLA 2010-05-14 16:00:57 EDT
*** Bug 312972 has been marked as a duplicate of this bug. ***