Commit Graph

698 Commits (c9148d475a9e72c7f5998a4e3f1968c990c8545c)

Author SHA1 Message Date
Ivo De Decker 0709f8d96c Move block handling to BlockPolicy
6 years ago
Ivo De Decker b395c6f760 Only ignore hints for the same package if arch matches
6 years ago
Ivo De Decker 7e05c0e5ac Apply policy to srcarch excuses
6 years ago
Ivo De Decker 4cf03bbdc5 Rearrange decision for should_upgrade_srcarch
6 years ago
Ivo De Decker 0d80bad65c Move handling of policies to PolicyEngine
6 years ago
Niels Thykier b16ae8046a
Add some '# pragma: no cover' for error cases, abstract methods, etc.
6 years ago
Niels Thykier 542f030a96
Remove now obsolete code from MigrationItem
6 years ago
Niels Thykier 61d3068de6
Move suite name auto-correction to MigrationItemFactory
6 years ago
Niels Thykier 6174d2c3f9
Create a MigrationItemFactory and migrate most code to use it
6 years ago
Niels Thykier 584f75bbc0
Defer loading and registering of hints
6 years ago
Ivo De Decker 18d951be25 Handle dependencies between excuses in a generic way
6 years ago
Niels Thykier 7502bc72f3
Avoid some hash lookups
6 years ago
Niels Thykier e13eb7d0cb
Pass correct source_data to find_smooth_updateable_binaries
6 years ago
Ivo De Decker 22c6be76ba Split calculating and running of auto-hinter hints
6 years ago
Ivo De Decker 12187421c8 Show newly uninstallables before validation
6 years ago
Niels Thykier 5642a90449
Rename _compute_groups to compute_groups
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
Niels Thykier d688c9753b
Split a loop to make the special-case more obvious
6 years ago
Niels Thykier ce6a5704fa
Make _compute_group take a migration item instead of 4 parameters
6 years ago
Niels Thykier e0c19b3adb
Inline a call to _compute_groups
6 years ago
Niels Thykier 82ff8010e2
Rename unused variable/return value to "_"
6 years ago
Ivo De Decker 4dc2cf7172
Try to remove old libs during hint run
6 years ago
Niels Thykier 70d461ff11
Remove "skip" return value of _compute_groups
6 years ago
Ivo De Decker 12debfc7c8 Check that version increases when adding packages to testing
6 years ago
Niels Thykier db885b7184
Drop comment that no longer matches the context
6 years ago
Niels Thykier 814926f5c3
try_migration: Remove implicit rollback
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 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
Niels Thykier bb9712d7e9
Fix typo in the logging level mapping
6 years ago
Ivo De Decker a56c9458c8 Disable binNMUs from *pu for now
6 years ago
Ivo De Decker a3b194c13e Don't calculate smoothbins for items from *pu
6 years ago
Ivo De Decker db584d9fdc Don't calculate smoothbins for sources not in unstable
6 years ago
Ivo De Decker 111413fb7b Don't remove package if removal is blocked
6 years ago
Ivo De Decker d074142d35 Fix architecture check for binnmu removals
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 07a407e810
Partly separate the solver from the inst_tester
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 b37575f000
Stop creating some throw-away data-structures for a method call
6 years ago
Ivo De Decker b839e1a459
Ignore dependencies of cruft when building excuses.
6 years ago
Niels Thykier 7cdf10bc77
Inline get_nuninst into its remaining callees
6 years ago