Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345649 - [planner] Have the explanation return all the missing requirements
Summary: [planner] Have the explanation return all the missing requirements
Status: ASSIGNED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 15:35 EDT by Pascal Rapicault CLA
Modified: 2012-06-29 11:54 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-05-12 15:35:03 EDT
In order to provide a better user experience, it would be nice if the explanation was able to return in one shot all the information about missing requirements. The test case ExplanationTest shows such an example.
However we need to be careful to see if this will end up returning false positive.
Comment 1 Daniel Le Berre CLA 2011-05-12 16:37:58 EDT
I guess we could simply collect all the missing requirements and return them if any.

Note that in that case we would not have a real explanation, i.e. we would not get the path from the request to the missing requirements, only the missing reqs. 

Else we could compute a real explanation.
Comment 2 Pascal Rapicault CLA 2011-05-12 20:27:45 EDT
When you say we could collect all the missing requirements. How would that differ from what we have in Slicer? 
If we do something in that space, and if at all possible, I think we should strive to compute a real explanation.
Comment 3 Daniel Le Berre CLA 2011-05-13 11:53:11 EDT
I was thinking about the #missingRequirement() method in the projector.

The problem with real explanations, is that we need to return a set of explanations instead of a single explanation currently, which will probably break the API.