Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317804

Summary: [repository] composite repos should allow a "disableChild"
Product: [Eclipse Project] Equinox Reporter: Helmut J. Haigermoser <helmut.haigermoser>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: pascal
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Helmut J. Haigermoser CLA 2010-06-24 07:40:52 EDT
Build Identifier: Helios

Hi 4ll :)
I'm finding myself in a situation where I need to disable certain repositories. However, if these repos were part of a composite I cannot easily do that since the children of a composite will always be queried and actually are disabled at the repo manager.

Using the "removeChild" method is not a help either since that will save the composite, making this a permanent operation I can't use.

So, I'd like to request adding a "disableChild(URI)" method to the composite repo API that will make sure the query method does not use that particular URI (unless a enableChild(URI) is called...)

Let me know what you think, I'm of course willing to contribute a patch if that's what you guys need !:)

TIA,
Ciao, Helmoot

Reproducible: Always

Steps to Reproduce:
1. use comp repos
2. try to disable parts of it
Comment 1 Lars Vogel CLA 2019-11-14 03:52:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.