Commit Graph

52 Commits (c9148d475a9e72c7f5998a4e3f1968c990c8545c)

Author SHA1 Message Date
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
Ivo De Decker 348274947e Add option fake_runtime to override runtime in britney.conf
6 years ago
Niels Thykier 6c5300d873
Unfold the suite.binaries tuple into two members
6 years ago
Niels Thykier fc834624fc Avoid some unnecessary hash look ups
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 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
Niels Thykier 6c6b8fcb96 policies: Make policies suite name agnostic
7 years ago
Niels Thykier 54e5eb0e74 policies: Use suite class instead of suite name
7 years ago
Niels Thykier 8eaee4309e Rewrite "self.log -> self.logger.<severity>" for autopkgtest
7 years ago
Niels Thykier f752ea4ac7 Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier 32b2ee326a Use lazy evaluation of format arguments in logging
7 years ago
Niels Thykier 8bf73610ee policies: Use logger instead of "log"
7 years ago
Niels Thykier 5e825043d3 Replace "print" logging with the "logging" module
7 years ago
Paul Gevers 011e9a14b7
Merge branch 'master' into autopkgtest
7 years ago
Paul Wise 94a3136f64 Drop duplicate 'has new bugs' excuses item
7 years ago
Paul Gevers fd03083ea5
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier 2242821c01 BuildDependsPolicy: Add missing build_depends=True to get_dependency_solvers
7 years ago
Niels Thykier c195268019 piuparts: Properly discard the URL for testing
7 years ago
Niels Thykier bda39f8ca0 Support :native in build-dependency relations
7 years ago
Niels Thykier 89765bc374 BuildDependsPolicy: Keep block_txt and block in sync
7 years ago
Niels Thykier ee27d7a67c Add BuildDependsPolicy to check Build-Depends(-Arch) availability
7 years ago
Niels Thykier c537f0554f Move PolicyVerdict to britney2.policies
7 years ago
Paul Gevers b553b205ce
Add age changes due to penalties or bounties to the excuses output
7 years ago
Paul Gevers f2f20eb460
Limit accumulated bounties to configurable minum age
7 years ago
Paul Gevers 77ea1cc8d5
Enable no-penalties urgencies; to exempt urgency >= high from penalties
7 years ago
Paul Gevers be5a378da5
Enhance debugging information for applied bounties and penalties
7 years ago
Paul Gevers eb60fc557e
Implement bounty/penalty system for autopkgtest
7 years ago
Niels Thykier 189edf42ec britney: Move britney's start of day to 7 pm
8 years ago
Niels Thykier f6120e5ec3 Use the correct required age in html excuses
8 years ago
Niels Thykier 9ca5f7e24e Add more verdicts to provide more detailed excuses
8 years ago
Niels Thykier b34ac3bdd9 Add a verdict field to all policies with the actual verdict
8 years ago
Niels Thykier 5f2a84a4f8 Remove redundant if-else - if branch is always true
8 years ago
Jonathan Wiltshire 3156b2c753 Fix call to super() in SimplePolicyHint
8 years ago
Niels Thykier 3e888a9fdf PiupartsPolicy: Improve html message
8 years ago
Niels Thykier bcdb2b39cd Add PiupartsPolicy to avoid piuparts regressions
8 years ago
Niels Thykier d3e343a3bd AgePolicy: Fix bug in creating the age file
8 years ago
Niels Thykier fc2269ba02 rc-bugs policy: Ignored bugs are not unique to testing
8 years ago
Niels Thykier 20c2b87833 Sprinkle some "no cover" pragmas over the code base
8 years ago