Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312687 - Repo2Runnable should not consult all known repositories
Summary: Repo2Runnable should not consult all known repositories
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6 RC1   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 312972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-12 14:49 EDT by Andrew Niefer CLA
Modified: 2010-05-20 17:12 EDT (History)
2 users (show)

See Also:
irbull: review+


Attachments
patch (1.87 KB, patch)
2010-05-12 15:34 EDT, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***