Commit Graph

59 Commits (4472b83de9182fbbd466b898fa36a5cbd2b98e13)

Author SHA1 Message Date
Iain Lane fab4a6eed9 InstallabilityTester: Update the pseudo-essential cache when we remove a "choice" too
4 years ago
Ivo De Decker 1a33ee9ebc installability/tester.py codestyle fixes
5 years ago
Niels Thykier 0d5ea5eb8c
Improve cache invalidation of (pseudo-)essential set
5 years ago
Niels Thykier fce1fe5c27
autopkgtests: Move some common code into a function
6 years ago
Niels Thykier 69d42ffb36
solver: improve apply_order to simplify more code
6 years ago
Niels Thykier b306700376
solver: Extract a function from _comute_group_order_adds
6 years ago
Niels Thykier 259fecf6cf
solver: Rename a variable to avoid confusion
6 years ago
Niels Thykier cdcfe85bfa
solver: Replace dict with a proper object
6 years ago
Niels Thykier 93f101bee2
solver: Extract some common code into a function
6 years ago
Niels Thykier 2ed6161b49
solver: Refactor out a function to avoid duplicated code
6 years ago
Niels Thykier af20634b12
solver: Merge some loops to reduce nesting level
6 years ago
Niels Thykier b61e1086bd
solver: Invert an if-statement to reduce max indentation level
6 years ago
Niels Thykier 68407c53c0
Remove an unnecessary if-statement
6 years ago
Niels Thykier 9971714e27
solver: Merge two loops by using chain
6 years ago
Niels Thykier 16dc303190
solver: Reduce two small loops into a comprehension
6 years ago
Niels Thykier d3e06fc45f
solver: Split _compute_group_order into three methods
6 years ago
Niels Thykier c65b377c5d
solver: Split solve_groups into 3 smaller methods
6 years ago
Niels Thykier 7124313aa6
Make InstallabilityTester suite agnostic
6 years ago
Niels Thykier ced7b7b413
Refactor britney.py to use InstallabilityTester less
6 years ago
Niels Thykier 0b4f58315f
Rename a method and reduce a table to a set
6 years ago
Niels Thykier 0eb8b5a201
BinaryPackageUniverse: Provde equivalent_packages
6 years ago
Niels Thykier ef813bf0d8
Let the BinaryPackageUnvierse track broken packages
6 years ago
Niels Thykier 8867ef0cf9
Let the BinaryPackageUniverse track essential packages
6 years ago
Niels Thykier 07a407e810
Partly separate the solver from the inst_tester
6 years ago
Niels Thykier c0ecdd82fb
Remove now redundant APIs from the InstallabilityTester
6 years ago
Niels Thykier 35b06ee007
tests: Separate inst_tester from universe
6 years ago
Niels Thykier d557610c6f
BinaryPackageUniverse: Implement packages_equivalent_to()
6 years ago
Niels Thykier 530db5d3f7
Extract a BinaryPackageUniverse from the InstallabilityTester
6 years ago
Niels Thykier 32def47991
Fix typo in doc string
6 years ago
Niels Thykier f86cda97da
inst_tester: Improve doc string/argument name
6 years ago
Niels Thykier 6c5300d873
Unfold the suite.binaries tuple into two members
6 years ago
Niels Thykier c4931fb1b2
solver: Move a common variable out of an if
6 years ago
Niels Thykier 1e46965924
inst/builder.py: Split function in three to reduce indentation levels
6 years ago
Niels Thykier dd5211d55a
inst-tester: Add missing element to a set
6 years ago
Niels Thykier 55dd190fa6
inst-tester: Make "check" a list
6 years ago
Niels Thykier cd1f384012
inst-tester: Remove obsolete "safe-set" optimization
6 years ago
Niels Thykier 95b945d2b3
inst-tester: Remove obsolete optimization
6 years ago
Paul Gevers 713b98ad6b
inst_tester: add is_pkg_in_testing
6 years ago
Niels Thykier b6888c2716 test-builder: Avoid allocating empty throw-away lists on empty relations
6 years ago
Niels Thykier 373f7f51f3 inst-builder: Avoid some hash-look ups by doing them early
6 years ago
Niels Thykier 35add7cb26 Move loop-invariant out of loop
6 years ago
Niels Thykier 02001d4d4f inst-builder: Loop over values instead of keys + hash-lookup
6 years ago
Niels Thykier 0446ead9e8 inst-builder: Replace RelationBuilder with a set_relations method
6 years ago
Niels Thykier ab6b2ef953 inst-builder: Refactor to bulk adding dependency clauses
6 years ago
Niels Thykier bc1d3afa38 inst-builder: Make add_breaks a bulk call
6 years ago
Niels Thykier 6f97e36477 inst-builder: Split relation loop and optimize conflicts
6 years ago
Niels Thykier 6a3d100b92 Fix error format string error in AssertionError
6 years ago
Niels Thykier fc834624fc Avoid some unnecessary hash look ups
6 years ago
Niels Thykier 64d2bc4203 builder.py: Make the code suite agnostic
7 years ago
Niels Thykier 41978869ce Migrate solver's ad-hoc debug logging
7 years ago