diff --git a/britney.conf.template b/britney.conf.template index 20f0754..b1df068 100644 --- a/britney.conf.template +++ b/britney.conf.template @@ -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 diff --git a/britney2/excusefinder.py b/britney2/excusefinder.py index 4f7cf9b..7455aaf 100644 --- a/britney2/excusefinder.py +++ b/britney2/excusefinder.py @@ -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