Commit Graph

1165 Commits (b16ae8046a36a2e2901c0a3a2e3a3a1ecee9b131)
 

Author SHA1 Message Date
Niels Thykier b16ae8046a
Add some '# pragma: no cover' for error cases, abstract methods, etc.
6 years ago
Niels Thykier 5bcbed499e
Fix the doc string for compile_nuninst
6 years ago
Niels Thykier 04318473f6
Simplify MigrationItem.parse_item by extracting a method
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 eec7b9b7ef
MigrationItem: Remove setter for "name"
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 e52d46a84d britney.conf: Bump autopkgtest regression deadline by 2 days
6 years ago
Ivo De Decker 18d951be25 Handle dependencies between excuses in a generic way
6 years ago
Ivo De Decker 847e6e41e1 Add invalidated-by-other-package field in excuses.yaml
6 years ago
Niels Thykier ba7b737fae
docs/contributing: Update to include optional amqplib dependency
6 years ago
Niels Thykier 2bf4092947
Remove INSTALL as it is out of date and redundant
6 years ago
Niels Thykier 7502bc72f3
Avoid some hash lookups
6 years ago
Niels Thykier dd3dcf818f
Mark a regex pattern as a raw string
6 years ago
Niels Thykier 7fa64043c9
Add libyaml-syck-perl dependency to .gitlab-ci + Dockerfile
6 years ago
Niels Thykier e13eb7d0cb
Pass correct source_data to find_smooth_updateable_binaries
6 years ago
Raphaël Hertzog 6c1cf01898 Do not ensure consistency of "Section" field across unstable and testing
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
Ivo De Decker 348274947e Add option fake_runtime to override runtime in britney.conf
6 years ago
Niels Thykier 179faeb23b
Update some comments to match a renamed method
6 years ago
Niels Thykier 6fa06f8ac4
britney.conf: Bump autopkgtest regression deadline by 2 days
6 years ago
Niels Thykier 8cefd1a546
Have transactions verify/assert safe usage
6 years ago
Niels Thykier 7d758760d1
MigrationManager: _transaction is a stack; not a queue
6 years ago
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
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