| Summary: | [mirror] Be able to merge remote repositories into composite repository | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | DJ Houghton <dj.houghton> |
| Component: | p2 | Assignee: | DJ Houghton <dj.houghton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | agcattle, pascal |
| Version: | 3.5 | ||
| Target Milestone: | 3.5 M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 255913, 260411 | ||
| Bug Blocks: | |||
|
Description
DJ Houghton
Do you think this is something that can be covered by using a script which calls the CompositeArtifactRepository#addChild(URI, String) method which uses a comparator specified using by a comparatorID passed in as a string to perform a sanity check before adding? That method returns a boolean saying if the add was successful. Otherwise we could support bulk adding/removing of children: addChildren(URI[]), removeChildren(URI[]), and addChildren(URI[], String). I think that once bug 255913 gets fixed we may be able to use the resulting Ant tasks to combine repositories, although that is a little clunky. A better solution might be to have an Eclipse app that a user can call to add the children. With the fixes to bug 262084, bug 255913 and bug 260411 we are now able to create composite repositories (via code and via Ant) and use them whether or not their children are local or remote. Closing. |