summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-05 20:11:35 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-14 19:04:56 +0100
commitf870bd44522d195199987b0e073d495eed060495 (patch)
tree95712c5a45e6118e5a3d787b82a735a5c68bc4bf /doc/examples
parent50f1335212909962b9bba8db74e8be005a55f4e1 (diff)
solver3: Defer version selection where possible
If a dependency can be satisfied by all versions of a package, add the package to the clause instead of the version object. This works only if there are no providers for the package: Providers are quite hard to enumerate over and make sure that all versions of a package satisfy the provider dependency. Implement arbitrary selection between packages and versions for the CompareProviders class: We pick the best version for each package and then pit them against each other.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index ba51a9881..1573eaa8b 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -698,6 +698,7 @@ apt::list-cleanup "<BOOL>";
apt::authentication::trustcdrom "<BOOL>";
apt::solver::strict-pinning "<BOOL>";
apt::solver::enqueue-common-dependencies "<BOOL>";
+apt::solver::defer-version-selection "<BOOL>";
apt::solver::upgrade "<BOOL>";
apt::solver::remove "<BOOL>";
apt::solver::removemanual "<BOOL>";