britney: Disable Built-Using policy

Launchpad currently doesn't enforce this, so it doesn't make too much
sense to do so in proposed-migration.

Once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed, we
should think about probably re-enabling this.
ubuntu/dry-run
Iain Lane 4 years ago
parent 8fb4d5d841
commit f0e46d7bfa

@ -529,7 +529,8 @@ class Britney(object):
self._policy_engine.add_policy(AgePolicy(self.options, self.suite_info, MINDAYS)) self._policy_engine.add_policy(AgePolicy(self.options, self.suite_info, MINDAYS))
self._policy_engine.add_policy(BuildDependsPolicy(self.options, self.suite_info)) self._policy_engine.add_policy(BuildDependsPolicy(self.options, self.suite_info))
self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info)) self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info))
self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info)) # 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(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…
Cancel
Save