Commit Graph

721 Commits (b21b129527b6f4d6d31c0966b62356168b9b4aaf)

Author SHA1 Message Date
Ivo De Decker 208726f538 Add BuiltOnBuilddPolicy
6 years ago
Paul Gevers 909a4e228a
Default series option to target suite name
6 years ago
Niels Thykier d9f9c6d4a9
Let ExcuseFinder create migration items
6 years ago
Niels Thykier 6dde43a339
Create an ExcuseFinder class for computing relevant excuses
6 years ago
Niels Thykier 2c9e0b9b97
do_all: Prune cruft after non-recursive hints (e.g. "easy")
6 years ago
Niels Thykier 73791e48d0
Rename migrate_item{,s}_to_target_suite
6 years ago
Niels Thykier 98d4553185
Include old cruft items directly in upgrade_me
6 years ago
Niels Thykier 5d408fa800
Remove new cruft items in iter_packages
6 years ago
Niels Thykier 32ebe9d4e0
Ensure get_auto_hinter_hints does not choke on cruft items
6 years ago
Niels Thykier e0b46e5196
Make the source pkg consistency checks a TargetSuite method
6 years ago
Niels Thykier e3d68164f1
Fix typo in log output
6 years ago
Niels Thykier d4bdccf021
Unconditionally cleanup cruft/smooth updates
6 years ago
Niels Thykier b0835fa4a1
Fix pycodestyle warnings
6 years ago
Ivo De Decker 328695ee63
Enable BuiltUsingPolicy
6 years ago
Ivo De Decker 4fcb90b775
Read Built-Using info for binary packages
6 years ago
Niels Thykier c9d523da93
Remove trailing whitespace
6 years ago
Ivo De Decker 7be0dc2ee8 Sort impossible dependency output in excuses.
6 years ago
Niels Thykier 82fa58df20 Extract a compute_item_name method
6 years ago
Ivo De Decker 97ed917db4 Sort some data for deterministic output in excuses
6 years ago
Niels Thykier f928c7ed3d Make SourcePackage.binaries a set
6 years ago
Ivo De Decker 69c94caa01 Add source_name return value to compute_groups
6 years ago
Ivo De Decker 046bdc60c6 Add consistency checks for target suite.
6 years ago
Niels Thykier 2fea931da3
Remove --control-files; It is not used any where
6 years ago
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