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

Bug 261736

Summary: [publisher] adding repos to the repo manager
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: pascal
Version: unspecified   
Target Milestone: 3.5 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 241441    

Description Andrew Niefer CLA 2009-01-20 18:19:58 EST
The publisher currently adds created/loaded repositories to the repo manager.
See Publisher.createArtifactRepository and Publisher.createMetadataRepository.

In the case of export, we should not add the repositories to the manager so that we don't pollute the running eclipse with exported repos.

See bug 219488 where this was fixed in the metadata generator.

Is there any usecase where the publisher should add to the manager?  or shall I just always remove them.
Comment 1 Pascal Rapicault CLA 2009-01-20 18:30:33 EST
Let's always removing them (assuming it was not being in the mgr before the publisher run).
Comment 2 Andrew Niefer CLA 2009-01-21 17:29:18 EST
done