mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-03 22:01:35 +00:00
Add support for partial source suites via options
This commit is contained in:
parent
86c728321e
commit
eb3fb3ef6e
@ -9,6 +9,10 @@ TESTING = /path/to/target/suite
|
|||||||
# TPU = /path/to/secondary-source/suite
|
# TPU = /path/to/secondary-source/suite
|
||||||
# PU = /path/to/another-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
|
# Output
|
||||||
NONINST_STATUS = /path/to/britneys-output-dir/non-installable-status
|
NONINST_STATUS = /path/to/britneys-output-dir/non-installable-status
|
||||||
EXCUSES_OUTPUT = /path/to/britneys-output-dir/excuses.html
|
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
|
In the former case, a new excuse is appended to the object
|
||||||
attribute excuses.
|
attribute excuses.
|
||||||
"""
|
"""
|
||||||
|
if hasattr(self.options, 'partial_source'):
|
||||||
|
return False
|
||||||
# if the source package is available in unstable, then do nothing
|
# if the source package is available in unstable, then do nothing
|
||||||
source_suite = self.suite_info.primary_source_suite
|
source_suite = self.suite_info.primary_source_suite
|
||||||
pkg = item.package
|
pkg = item.package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user