Commit Graph

272 Commits (328695ee63fb868f8b9fcc5225f9765f2792d032)

Author SHA1 Message Date
Niels Thykier a5352d353b
Simplify undo code handling sources
6 years ago
Niels Thykier 59ae7e3d68
Optimize out "nvirtual" member of undo items
6 years ago
Niels Thykier 5642a90449
Rename _compute_groups to compute_groups
6 years ago
Niels Thykier 33ba41c76e
Split out a _compute_removals from _compute_groups
6 years ago
Niels Thykier d3b391aed1
MigrationManager: Precompute a set of all architectures
6 years ago
Niels Thykier 89fcccba13
MigrationManager: Create a is_nuninst_worse
6 years ago
Niels Thykier aa6dd4a0f3
Extract a compute eqv_set function
6 years ago
Niels Thykier a95565c0e8
Split migrate_item_to_target_suite into two
6 years ago
Niels Thykier 57ded55674
Remove dead assignment
6 years ago
Niels Thykier c7dbd95c0b
Have MigrationManager keep track of active transaction
6 years ago
Niels Thykier 4803065e1a
Move (and rename) try_migration to the MigrationManager
6 years ago
Niels Thykier 28c7a052fa
Move to MM and rename doop_source to apply_item_to_target_suite
6 years ago
Niels Thykier 4ae6a34a27
Move _compute_groups to a new MigrationManager class
6 years ago
Ivo De Decker 12debfc7c8 Check that version increases when adding packages to testing
6 years ago
Niels Thykier a05a249e04
Record exactly which binaries are updated in the transaction
6 years ago
Niels Thykier 5d49a41204
Introduce a "Transaction" for changes to testing
6 years ago
Niels Thykier 68fd0ba4b2
Remove --components/COMPONENTS as it is auto-detected
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 0099c34d93
Refactor _read_binaries to reduce its complexity a bit
6 years ago
Niels Thykier f547fb20b1
suiteloader: Create a _setup_architecture method
6 years ago
Niels Thykier 7efa865a04
Move Suite/Package loading into a separate class/module
6 years ago
Niels Thykier deb9482a2f
Move parse_provides to britney2.utils
6 years ago
Ivo De Decker 3828a76053 Filter out cruft in find_smooth_updateable_binaries
6 years ago
Ivo De Decker f0ddfc253f Fix parsing of migration item name for binNMU in tpu
6 years ago
Niels Thykier 65b67e763c
Replace the use of inst_tester with new suite functionality
6 years ago
Niels Thykier 03df891b7e
Expand the Suite interface and create a TargetSuite sub-class
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 0a669461ca
Separate inst_tester from universe
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 b37575f000
Stop creating some throw-away data-structures for a method call
6 years ago
Niels Thykier f86cda97da
inst_tester: Improve doc string/argument name
6 years ago
Niels Thykier 7bcbcb6282
Make clone_nuninst able to fully deep clone nuninst
6 years ago
Niels Thykier 6c5300d873
Unfold the suite.binaries tuple into two members
6 years ago
Ivo De Decker 9c606ef533 Don't add smooth-updatable cruft to migration items
6 years ago
Niels Thykier 99a35a2986
autopkgtest.py: Update previous commit to match recent changes
6 years ago
Iain Lane c09a229dc9
autopkgtest: Run gcc-n's testuite, if it has one
6 years ago
Niels Thykier 880a614b2b
britney: Extract a find_smooth_updateable_binaries function
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
Niels Thykier 0690a85fe0
excuse: Avoid some unnecessary throw-away tuples
6 years ago
Niels Thykier bd1a0ea000
excuse: Fix some minor style/pep8 issues
6 years ago
Niels Thykier 41f4b43f2c
excuse.p: Refactor some duplicated code
6 years ago
Paul Gevers 18633e275c
autopkgtest: figure out which packages from unstable are needed
6 years ago
Paul Gevers 713b98ad6b
inst_tester: add is_pkg_in_testing
6 years ago
Paul Gevers 20a64cadef
Process space separated triggers individually
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 74c728bf91 Make the tab-completer suite agnostic
6 years ago
Niels Thykier 0d5c4a24c4 Handle Build-Depends-Indep in excuses
6 years ago
Niels Thykier 1623828a48 SourcePackage: Add field for Build-Depends-Indep
6 years ago
Niels Thykier 8753649e54 Replace a for-loop with any()
6 years ago
Niels Thykier 1d45b2a3b2 Move autopkgtest specific field to Autopkgtest policy
6 years ago
Mathieu Trudel-Lapierre 8d2cabd914 Add 'unsatisifiable dependencies' to YAML excuses
6 years ago
Niels Thykier 3e1da36331 excuses: Correct source field in YAML excuses
6 years ago
Paul Gevers 0868962ee3
autopkgtest: Ignore triggers without a forward slash
6 years ago
Niels Thykier f67fc00292 AgePolicy: Move self.options usage to constructor/initialization
6 years ago
Niels Thykier 8e9e099a67 BasePolicy: Make an easy accessor for state_dir
6 years ago
Niels Thykier b0e193d955 Add missing @property - otherwise "verdict.is_blocked" is always True
6 years ago
Niels Thykier 36608194f8 test_policy: Add additional tests of AgePolicy
6 years ago
Niels Thykier e88f4d2e5e AgePolicy: Explicitly ignore comment lines in data files
6 years ago
Niels Thykier 206d5ac5df Fix typo in parameter
6 years ago
Paul Gevers c219c42804 Add text to excuses in case autopkgtest is delayed
6 years ago
Paul Gevers 08a6cdde6f Don't have britney create migration-references itself
7 years ago
Niels Thykier 4a2fe3420a Rewrite write_controlfiles to take a single suite as argument
7 years ago
Niels Thykier 97d707e5c0 britney: Avoid some references to britney.{sources,binaries}
7 years ago
Niels Thykier dfbff18b5c Remove some references to "unstable"
7 years ago
Niels Thykier 6c6b8fcb96 policies: Make policies suite name agnostic
7 years ago
Niels Thykier 54e5eb0e74 policies: Use suite class instead of suite name
7 years ago
Niels Thykier 63c867995b write_heidi: Accept a target suite instead of sources+packages
7 years ago
Niels Thykier 609bb9e960 Make migration and undo code suite agnotisc
7 years ago
Niels Thykier 382ced2a68 Make write_excuses suite agnostic
7 years ago
Niels Thykier 9a5c0c3fa8 Rewrite old_libraries to be suite agnostic
7 years ago
Niels Thykier 64d2bc4203 builder.py: Make the code suite agnostic
7 years ago
Niels Thykier f464baa257 Move the "binary" field from Britney to Suite
7 years ago
Niels Thykier 73f4f3a5dd Suites now have a reference to sources
7 years ago
Niels Thykier d1350606bb Use a proper Suite object for MigrationItem.suite
7 years ago
Niels Thykier 8768e2a02a Define a SuiteClass to classify suites
7 years ago
Niels Thykier b63ade583c Rename and turn SuiteInfo into a proper class
7 years ago
Niels Thykier e63aa05708 Add Suites to keep track of all suites
7 years ago