Add support for partial source suites via options

ubuntu/rebased
Paul Gevers 6 years ago
parent 86c728321e
commit eb3fb3ef6e
No known key found for this signature in database
GPG Key ID: 9C5C99EB05BD750A

@ -9,6 +9,10 @@ TESTING = /path/to/target/suite
# TPU = /path/to/secondary-source/suite
# PU = /path/to/another-source/suite
# By default, package removal propagates to the target suite. To disable this,
# e.g. for partial suites like experimental or spu, uncomment the next line
# PARTIAL_SOURCE = true
# Output
NONINST_STATUS = /path/to/britneys-output-dir/non-installable-status
EXCUSES_OUTPUT = /path/to/britneys-output-dir/excuses.html

@ -110,6 +110,8 @@ class ExcuseFinder(object):
In the former case, a new excuse is appended to the object
attribute excuses.
"""
if hasattr(self.options, 'partial_source'):
return False
# if the source package is available in unstable, then do nothing
source_suite = self.suite_info.primary_source_suite
pkg = item.package

Loading…
Cancel
Save