Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 218048 - [ui] Install/update wizards should assist in searching for missing content
Summary: [ui] Install/update wizards should assist in searching for missing content
Status: RESOLVED INVALID
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 204242 287934 (view as bug list)
Depends on: 218055
Blocks:
  Show dependency tree
 
Reported: 2008-02-06 13:49 EST by Susan McCourt CLA
Modified: 2009-12-01 13:53 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2008-02-06 13:49:16 EST
As the user checks/unchecks items in the update/install wizard, it's possible that the provisioning plan will become invalid.  Bug #208423 addresses having a better explanation of what is wrong.

But the other issue is whether the UI can help correct.
For example, UM has a "Select Required" button in the search results that will compute missing dependencies and add them to the list of what you want to install.     Do we want to do something like this?  (it would be "Add Required" vs. "Select Required" since the dependencies might not even be in the wizard.)
Comment 1 Susan McCourt CLA 2008-02-06 14:06:33 EST
To do this we need status codes that classify provisioning problems and a way to figure out the correction.  Such as, a code indicating something is missing and a way to figure out what the missing thing is.
Comment 2 John Arthorne CLA 2008-02-06 15:15:33 EST
If I'm not mistaken, you actually get this "for free" today. The planner consults all available repositories to attempt to resolve the dependencies of the thing being installed.  In p2, "missing dependency" at the planner/director level really means, "We've looked everywhere and can't find what you need". The recourse at this point for the user is to add more sites. However, I agree there should be a code and message from the planner with more details here.
Comment 3 Pascal Rapicault CLA 2008-02-06 18:01:22 EST
For completeness, the status returned should contain the repos that have been consulted since it is not always guaranteed that we will have looked at all repos now that we pass in a ProvisioningContext.

Comment 4 Susan McCourt CLA 2008-02-07 11:29:31 EST
That would be nice.  There's no indication (that I could find) in the current UM UI of where it's looking for updates, except that you'll get connection failure dialogs for failed repos.  I'm not even sure that it checks all the repos you've specified in a previous Find/Install.
Comment 5 Susan McCourt CLA 2008-02-07 11:59:07 EST
During M6 we should look at the most common failure cases and how the UI could help correct.  There may be just a few that would really help.

For example, in the missing dependency case:
- check all repos (if we didn't already)
- fast path to the add repo dialog

If an upgrade of an existing component might fix the problem, offer to upgrade it, etc....
Comment 6 Susan McCourt CLA 2008-02-12 17:37:49 EST
Another thing we could do is let the user try the operation anyway.  That is, pass the operands to the engine even if the status is not OK.  

This could be dangerous, but if the status codes evolve so that we know more about why the plan is not OK, we could allow it in some cases.
Comment 7 Susan McCourt CLA 2008-04-10 16:45:40 EDT
from bug #204242 against the old update manager:

One suggestion was to search for the missing plug-in.
If we have a set of known sites that are not yet connected (via the associate sites and DISCOVERED sites mechanism) we could check those.
Comment 8 Susan McCourt CLA 2008-04-10 16:47:52 EDT
*** Bug 204242 has been marked as a duplicate of this bug. ***
Comment 9 Susan McCourt CLA 2008-08-20 13:09:32 EDT
Renaming bug to reflect the current issue.
Bug #218055 covers the provisioning plan side of things - better structure to report many issues, including missing IU's.

This bug covers the UI side - ways to fast path the user to search in more repos, etc. in the specific case where content cannot be found.
Comment 10 Pascal Rapicault CLA 2009-09-03 11:27:58 EDT
*** Bug 287934 has been marked as a duplicate of this bug. ***
Comment 11 Susan McCourt CLA 2009-09-08 15:05:59 EDT
will be investigating resolution/explanation improvements in 3.6M4
Comment 12 Susan McCourt CLA 2009-12-01 13:52:15 EST
Closing this bug.  We have more specific bugs that cover the use cases in question. (bug 261928 and bug 267464).