Community
Participate
Working Groups
In some cases the composite repo really needs to have all its children enabled and properly loaded to be useful. In other cases this is not necessary. Composite repo should have a flag to indicate which behaviour they like. In the failing mode the error should be reported to the user on the composite repo.
Created attachment 193860 [details] Composite repository atomic loading support Composite repository (both Artifact and Metadata) now have a flag "p2.atomic.composite.loading" to indicate whether a failure while loading any of its children should result in failure in composite repository loading. The default value is false. If composite repository fails to load and the flag above is set to true all the children loaded on the behalf of the composite repository will be removed from the repository manager. If some of the children have already been available before loading of the composite repository they won't be removed.
I've reviewed this patch and applied it. The code is really clean and properly tested. Thx for working on this.