Bug 261736 - [publisher] adding repos to the repo manager
Summary: [publisher] adding repos to the repo manager
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M5   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 241441
  Show dependency tree
 
Reported: 2009-01-20 18:19 EST by Andrew Niefer CLA
Modified: 2009-01-21 17:29 EST (History)
1 user (show)

See Also:


Attachments

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