|
Re: Merging two p2 repositories regardless of contents [message #682467 is a reply to message #682359] |
Sat, 11 June 2011 06:46   |
|
Hi Trip,
The b3 aggregator is not a plain mirroring tool. It uses the planner to figure out how to create a coherent repository
that will not contain duplicates nor cause conflicts when used. These were very important requirements when the tool was
first created and used for assembling the Eclipse Galileo release.
The planner will run once for each configuration. If you have no configurations, then nothing will happen and no
mirroring will take place.
We are working on improvements that will enable "conflict resolution" by moving conflicting contributions into
"composite children". In essence this means that you can express several aggregations in the same model. The aggregator
will validate each one separately and thus still ensure some consistency in the result. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338738
This is work in progress and the model may still undergo some changes but you are welcome to try it out from our interim
repositories at:
https://hudson.eclipse.org/hudson/job/emft-b3-build/ws/b3.p2.repository/
https://hudson.eclipse.org/hudson/job/emft-b3-build/ws/b3.headless.p2.repository/
We also have an enhancement request to allow plain mirroring:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338409
HTH,
Thomas Hallgren
On 2011-06-11 01:12, Trip Gilman wrote:
> I have two p2 repositories that I am trying to merge together. I really don't care to do any sort of platform based
> validation of the results. I just want to blindly merge what's there.
>
> The problem that I'm running into is that at least one configuration element is required. When I add one in I receive an
> error during validation:
>
> Cannot complete the install because one or more required items could not be found.
> Software being installed: all.contributed.content.feature.group 1.0.0
> Missing requirement: Source for Base Platform Feature 4.0.0.201106102259
> (com.openmethods.ep.features.base.blank.source.feature.group 4.0.0.201106102259) requires 'com.openmethods.ep.win32.x86
> [4.0.0.201106102259]' but it could not be found
> Cannot satisfy dependency:
> From: all.contributed.content.feature.group 1.0.0
> To: com.openmethods.ep.features.base.blank.source.feature.group 0.0.0
>
> The configuration is only for macosx at the moment. All features that reference these fragments have the correct
> platform filters applied and the fragment bundles themselves have the proper filters applied as well.
>
> If I disable the configuration, the validation passes, but the resulting repository is empty. Is there something wrong
> with the way platform specific fragments are being handled, or am I doing something incorrectly?
>
> Any help would be appreciated.
|
|
|
|
Re: Merging two p2 repositories regardless of contents [message #683176 is a reply to message #683006] |
Mon, 13 June 2011 06:09   |
|
On 2011-06-12 21:40, Trip Gilman wrote:
> The bundle is present in the artifacts.xml of the repository and the file is available in the bundles directory of the
> repository. Any ideas as to why this would be happening?
No, not really. Do you have signing and/or pack200 involved? If so, will disabling it make any difference? Did you test
the integrity of the file? If the artifacts.xml has an checksum listed for the entry, then that checksum must match.
Regards,
Thomas Hallgren
|
|
|
|
Powered by
FUDForum. Page generated in 0.01672 seconds