Make all output files series-specific, and remove dependency on "testing" and "unstable" symlinks.

bzr-import-20160707
Colin Watson 11 years ago
parent 6ac23e6d67
commit e38a4842d6

@ -1,16 +1,16 @@
# Configuration file for britney
# Paths for control files
TESTING = data/testing
UNSTABLE = data/unstable
TESTING = data/%(UBUNTU_SERIES)
UNSTABLE = data/%(UBUNTU_SERIES)-proposed
PARTIAL_UNSTABLE = yes
# Output
NONINST_STATUS = data/non-installable-status
EXCUSES_OUTPUT = output/excuses.html
UPGRADE_OUTPUT = output/output.txt
HEIDI_OUTPUT = output/HeidiResult
DELTA_OUTPUT = output/Delta
NONINST_STATUS = data/%(UBUNTU_SERIES)/non-installable-status
EXCUSES_OUTPUT = output/%(UBUNTU_SERIES)/excuses.html
UPGRADE_OUTPUT = output/%(UBUNTU_SERIES)/output.txt
HEIDI_OUTPUT = output/%(UBUNTU_SERIES)/HeidiResult
DELTA_OUTPUT = output/%(UBUNTU_SERIES)/Delta
# List of release architectures
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el

@ -385,6 +385,8 @@ class Britney(object):
self.MINDAYS = {}
self.HINTS = {'command-line': self.HINTS_ALL}
for k, v in [map(string.strip,r.split('=', 1)) for r in file(self.options.config) if '=' in r and not r.strip().startswith('#')]:
if self.options.ubuntu_series is not None:
v = v.replace("%(UBUNTU_SERIES)", self.options.ubuntu_series)
if k.startswith("MINDAYS_"):
self.MINDAYS[k.split("_")[1].lower()] = int(v)
elif k.startswith("HINTS_"):

@ -1,16 +1,16 @@
# Configuration file for britney
# Paths for control files
TESTING = data/testing
UNSTABLE = data/unstable
TESTING = data/%(UBUNTU_SERIES)
UNSTABLE = data/%(UBUNTU_SERIES)-proposed
PARTIAL_UNSTABLE = yes
# Output
NONINST_STATUS = data/non-installable-status
EXCUSES_OUTPUT = output/excuses.html
UPGRADE_OUTPUT = output/output.txt
HEIDI_OUTPUT = output/HeidiResult
DELTA_OUTPUT = output/Delta
NONINST_STATUS = data/%(UBUNTU_SERIES)/non-installable-status
EXCUSES_OUTPUT = output/%(UBUNTU_SERIES)/excuses.html
UPGRADE_OUTPUT = output/%(UBUNTU_SERIES)/output.txt
HEIDI_OUTPUT = output/%(UBUNTU_SERIES)/HeidiResult
DELTA_OUTPUT = output/%(UBUNTU_SERIES)/Delta
# List of release architectures
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el

Loading…
Cancel
Save