Browse Source

Add support for partial source suites via options

devuan-deployment
Paul Gevers 1 year ago
parent
commit
eb3fb3ef6e
No known key found for this signature in database GPG Key ID: 9C5C99EB05BD750A
2 changed files with 6 additions and 0 deletions
  1. +4
    -0
      britney.conf.template
  2. +2
    -0
      britney2/excusefinder.py

+ 4
- 0
britney.conf.template View File

@@ -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


+ 2
- 0
britney2/excusefinder.py View File

@@ -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