| Summary: | Implement a Mojo for mirroring p2 repositories | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Matthias Gradl <matthias.gradl> | ||||||||||
| Component: | Tycho | Assignee: | Tobias Oberlies <t-oberlies> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | enhancement | ||||||||||||
| Priority: | P3 | CC: | davymeers, gregory.amerson, t-oberlies | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | 347968 | ||||||||||||
| Bug Blocks: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Matthias Gradl
Created attachment 197087 [details]
patch with proposed changes to open up mirroring service
This is the patch mentioned in the bug description.
I think a mirroring Mojo (in tycho-extras) would be great. I think I get the idea of how the patch allows you to develop such a Mojo. However I think you meant to include all environment-specific fragments rather than excluding them all. I have reworked the patch so that mirroring all IUs (including fragments) should be possible, and committed that change for you to check. I'm saying "should", because this is currently hard to test. Also, this won't get much better when you contribute the mirror Mojo to tycho-extras. Therefore I would like to ask you to write a bundle test for the MirrorApplicationServiceImpl covering your use cases. Created attachment 198789 [details]
Test for standalone mirroring
Created attachment 198790 [details]
Update tycho-extras to 0.13.0-SNAPSHOT
to be committed into tycho-extras
Created attachment 198791 [details]
Add Mojo for mirroring p2 repositories
for tycho-extras
Requires integrated patch 198789 in Tycho 0.13.0-SNAPSHOT (and 198790 in tycho-extras obviously)
The new goal is documented in the wiki [1] and advertised in the release notes [2]. [1] http://wiki.eclipse.org/Tycho/Additional_Tools [2] http://wiki.eclipse.org/Tycho/Release_Notes/0.13 |