Commit Graph

136 Commits (c6c5c452871a1cd2d41effc1d8ef56f8b8c06ce3)

Author SHA1 Message Date
Paul Gevers c6c5c45287
autopkgtest: tiny change for easier understanding
6 years ago
Paul Gevers d038e7bbe6
autopkgtest: simplify bin_triggers logic/naming
6 years ago
Niels Thykier 427328821e
Remove redundant variables
6 years ago
Niels Thykier b0835fa4a1
Fix pycodestyle warnings
6 years ago
Ivo De Decker 66648c1a03
Add BuiltUsingPolicy
6 years ago
Ivo De Decker 35ae8848b4
Fix apply_src_policies when policy is applied on multiple archs
6 years ago
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
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 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 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 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
Niels Thykier dd3dcf818f
Mark a regex pattern as a raw string
6 years ago
Ivo De Decker 348274947e Add option fake_runtime to override runtime in britney.conf
6 years ago
Niels Thykier 65b67e763c
Replace the use of inst_tester with new suite functionality
6 years ago
Niels Thykier 0a669461ca
Separate inst_tester from universe
6 years ago
Niels Thykier 6c5300d873
Unfold the suite.binaries tuple into two members
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
Paul Gevers 18633e275c
autopkgtest: figure out which packages from unstable are needed
6 years ago
Paul Gevers 20a64cadef
Process space separated triggers individually
6 years ago
Niels Thykier fc834624fc Avoid some unnecessary hash look ups
6 years ago
Niels Thykier 1d45b2a3b2 Move autopkgtest specific field to Autopkgtest policy
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