Commit Graph

267 Commits (c9d523da9385d1ac13e3aea5b80d12d553a31fef)

Author SHA1 Message Date
Niels Thykier c9d523da93
Remove trailing whitespace
6 years ago
Ivo De Decker cd08deb943 Fix build-dep check for source with only arch: all binaries
6 years ago
Ivo De Decker 15e5228669 Add src_policy option to policies.
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 37a173af67 Always create a new SourcePackage
6 years ago
Ivo De Decker 7bba77726b Always define source_t in apply_item_to_target_suite
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 6c3f8354e5
BlockPolicy: Compile regex once rather than once per migration item
6 years ago
Niels Thykier c4371b9f58
BlockPolicy: Replace print with logger.info
6 years ago
Niels Thykier 2fea931da3
Remove --control-files; It is not used any where
6 years ago
Niels Thykier 603aa9fdca
Drop unused local variables
6 years ago
Ivo De Decker f1cd87dc9c Check build-depends-indep
6 years ago
Ivo De Decker 1c115eee11 For build-depends-indep, only add best result
6 years ago
Ivo De Decker 3f575a1cd0 For b-d-indep track best result and archs per result
6 years ago
Ivo De Decker fa44a3f968 Implement get_check_archs for build-depends-indep
6 years ago
Ivo De Decker 65128a13b7 Read all_buildarch config option
6 years ago
Ivo De Decker a28a7665f3 Split off adding build-dep info into separate function
6 years ago
Ivo De Decker 07643f4c30 Define BuildDepResult object (based on IntEnum)
6 years ago
Ivo De Decker c9148d475a Get dependency type from variable
6 years ago
Ivo De Decker ccbaedab1d Split of _get_check_archs into separate function
6 years ago
Ivo De Decker a073e35940 BuildDependsPolicy: split off checking in separate function
6 years ago
Ivo De Decker 0709f8d96c Move block handling to BlockPolicy
6 years ago
Ivo De Decker 49d9a38d25 Skip unimplemented policies in excuses
6 years ago
Ivo De Decker 7090c23efc Expose architecture and suite property for hints
6 years ago
Ivo De Decker 7e05c0e5ac Apply policy to srcarch excuses
6 years ago
Ivo De Decker d0b5cc2ce1 Rename apply_policy to apply_src_policy
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 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
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 dd3dcf818f
Mark a regex pattern as a raw string
6 years ago
Raphaël Hertzog 6c1cf01898 Do not ensure consistency of "Section" field across unstable and testing
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 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