summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-05 16:29:37 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-07 20:59:43 +0100
commitefedf5c4700bcdd22841cf6885485677a93cc31c (patch)
tree8dcfe598150c7b7616240b5cfa74ed06079af77f /apt-pkg/pkgcache.h
parentdd691af845421e6e9c6f43e51e907dd54e505604 (diff)
solver3: Replace PropagateInstall() with Discover()
Just propagate the stored clauses after we have discovered them; this is quite straightforward. We now more reliably discover common dependencies at the package level, adjust the test case accordingly. The next step is to make discovery recursive, or iterative, to build an entire recursive tree from all roots, and then we can reject reverse dependencies based on it. A bunch of refactorings are needed in the process. We remove the useless Hint enumeration and insert a flags struct into the State, such that we can record whether a package/version has been discovered, to avoid spending double time on discovery.
Diffstat (limited to 'apt-pkg/pkgcache.h')
0 files changed, 0 insertions, 0 deletions