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

Bug 260194

Summary: [publisher] Add IFilterAdvice
Product: [Eclipse Project] Equinox Reporter: Jeff McAffer <jeffmcaffer>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 260066    

Description Jeff McAffer CLA 2009-01-06 21:35:03 EST
In bug 260066 we talk about the need to discover filters for IUs on which we will depend but for which we have incomplete information immediately at hand.  For example when publishing a plugin based product you don't know which bundles apply to which configurations.

Proposal: Add a IFilterAdvice that, given an IU and version (optionally) will return the platform filter (if any) to use.  Using this we can implement any number of advisors.  for example, one that looked in the result, in any known repos, ... to see if we already know the desired IU and then extract the filter and return it.
Comment 1 Jeff McAffer CLA 2009-01-14 20:49:03 EST
In the end I think this one can be closed as the solution is really incorporated in bug 260066

*** This bug has been marked as a duplicate of bug 260066 ***