Community
Participate
Working Groups
We should make provisional API available for clients to access the p2 garbage collection and contribute mark set providers. Currently everything is internal. For example PDE is interested in using this to manage target platforms. It looks like GarbageCollector, CoreGarbageCollector, MarkSet, and MarkSetProvider could be made provisional API.
Likely not for 3.5 - we can make PDE a friend of the current package if necessary.
It would be useful to be able to control which repos actually get "cleaned". For example, the target provisioner maintains its own bundle pool for all provisioned targets. When we GC a target (when deleted), it would be nice to not to have any effect on the SDK's bundle pool. If we could sweep across everything, but clean a restricted set of repos, this would be possible.
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.
At this point, API changes would merely be disruptive. To do truly useful things with p2 one is generally forced to use internals. :-(