mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-24 00:41:30 +00:00
Add support in code for disabling ImplicitDependencyPolicy, and disable it
This commit is contained in:
parent
08a27a5456
commit
e5a438f7d4
@ -89,6 +89,8 @@ REMOVE_OBSOLETE = no
|
|||||||
|
|
||||||
CHECK_BUILDD = no
|
CHECK_BUILDD = no
|
||||||
|
|
||||||
|
IMPLICIT_DEPS = no
|
||||||
|
|
||||||
ADT_ENABLE = yes
|
ADT_ENABLE = yes
|
||||||
ADT_ARCHES = amd64 i386 armhf ppc64el arm64
|
ADT_ARCHES = amd64 i386 armhf ppc64el arm64
|
||||||
ADT_AMQP = amqp://test_request:password@autopkgtest-amqp.internal
|
ADT_AMQP = amqp://test_request:password@autopkgtest-amqp.internal
|
||||||
|
@ -538,6 +538,12 @@ class Britney(object):
|
|||||||
self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info))
|
self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info))
|
||||||
# XXX re-enable once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed
|
# XXX re-enable once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed
|
||||||
# self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info))
|
# self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info))
|
||||||
|
# This policy is objectively terrible, it reduces britney runtime
|
||||||
|
# at the cost of giving only partial information about blocking
|
||||||
|
# packages during large transitions instead of giving full detail in
|
||||||
|
# update_output that the team can work through in parallel, thus
|
||||||
|
# dragging out complicated transitions. vorlon 20240214
|
||||||
|
if getattr(self.options, 'implicit_deps', 'yes') == 'yes':
|
||||||
self._policy_engine.add_policy(ImplicitDependencyPolicy(self.options, self.suite_info))
|
self._policy_engine.add_policy(ImplicitDependencyPolicy(self.options, self.suite_info))
|
||||||
if getattr(self.options, 'check_buildd', 'no') == 'yes':
|
if getattr(self.options, 'check_buildd', 'no') == 'yes':
|
||||||
self._policy_engine.add_policy(BuiltOnBuilddPolicy(self.options, self.suite_info))
|
self._policy_engine.add_policy(BuiltOnBuilddPolicy(self.options, self.suite_info))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user