]> cygwin.com Git - cygwin-apps/setup.git/commit - libsolv.h
Use solver to check for problems and produce a list of package transactions
authorJon Turney <jon.turney@dronecode.org.uk>
Sat, 29 Apr 2017 14:43:52 +0000 (15:43 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Sun, 28 Jan 2018 15:10:42 +0000 (15:10 +0000)
commit1d553f34f32ac10282dd3eadc35384467683e51c
tree9867c372dbbd3aa815f6a76e7e1bcffbdc4ae87b
parentf3992588eeb353259e86d0155e45a362cb320b51
Use solver to check for problems and produce a list of package transactions

Convert chooser UI selections into a SolverTaskList

Apply SolverSolution to that task list (with choice of keep, upgrade,
upgrade with test, IncludeSource) to produce a vector of SolverTransactions.
Store a solution object in packagedb

The transaction list returned by the solver is postprocessed to add
reinstall and IncludeSource actions

Very crudely present solver problems in the PrereqChecker page UI, as text.
Change tickbox to say "accept default solutions" and don't allow to preceed
unless those solutions are accepted (ideally we would have a UI to choose
solutions).  Remove warning about missing dependencies.

Also pass initial trust state to PrereqChecker

v2:
Fix comment typo (kbrown)
Tweak comment in OnActivate() (kbrown)

v3:
Drop stray \n at end of report() output (kbrown)
choose.cc
libsolv.cc
libsolv.h
package_db.cc
package_db.h
prereq.cc
prereq.h
res.rc
This page took 0.033882 seconds and 5 git commands to generate.