| Summary: | [reconciler] No diagnosis of dropin problems | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | DJ Houghton <dj.houghton> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | bvitale3002, contact, csabakoncz, david_williams, dev, ed, eric.jain, fg, irbull, jacek.pospychala, jin.phd, Konstantin.Scheglov, krzysztof.daniel, leberre, min123, overholt, pascal, remy.suen, rtaniwa, sflaniga, simon_kaegi, steffen.pingel | ||||
| Version: | 3.4.2 | Keywords: | helpwanted | ||||
| Target Milestone: | 3.4.2+ | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 200380, 264924 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
DJ Houghton
There is a patch for 34x on bug 264924. We cannot detect problems occurring in the dropins folder because we consider those dependencies as optional in the solver. As such, if some plugins cannot be installed together, the solver will just ignore some of them (that's the specificity of optional dependencies). Daniel: Agreed. This is really just a request for optional debug info that can print out a list of what was and wasn't installed, and then support teams can enable this tracing and hopefully figure the reasons behind it. Maybe one solution would be to turn optional dependencies into regular dependencies and to ask the solver for an explanation? (In reply to comment #2) > We cannot detect problems occurring in the dropins folder because we consider > those dependencies as optional in the solver. Daniel, we're just talking about having some feedback about the end result of the solver's computation. I.e., "you requested to install x, y, and z, but we have only installed "x and y". Currently there is no feedback about what plugins got installed/uninstalled after changes are made to the dropins folder on disk. I don't think we want to tackle explanations about *why* it came to that decision here (which is a far more difficult problem). ok, fine. Nice idea. One have to be careful: you might have 3 versions of the same IU in the dropins. Only one is likely to be needed (the latest one for instance). It should be wise not to log that the older versions are not installed. Released to branch. Created attachment 161208 [details]
patch
For interested parties, here is the patch which was applied. (might be in reverse but you get the idea)
|