mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 05:51:32 +00:00
Make all output files series-specific, and remove dependency on "testing" and "unstable" symlinks.
This commit is contained in:
parent
6ac23e6d67
commit
e38a4842d6
14
britney.conf
14
britney.conf
@ -1,16 +1,16 @@
|
|||||||
# Configuration file for britney
|
# Configuration file for britney
|
||||||
|
|
||||||
# Paths for control files
|
# Paths for control files
|
||||||
TESTING = data/testing
|
TESTING = data/%(UBUNTU_SERIES)
|
||||||
UNSTABLE = data/unstable
|
UNSTABLE = data/%(UBUNTU_SERIES)-proposed
|
||||||
PARTIAL_UNSTABLE = yes
|
PARTIAL_UNSTABLE = yes
|
||||||
|
|
||||||
# Output
|
# Output
|
||||||
NONINST_STATUS = data/non-installable-status
|
NONINST_STATUS = data/%(UBUNTU_SERIES)/non-installable-status
|
||||||
EXCUSES_OUTPUT = output/excuses.html
|
EXCUSES_OUTPUT = output/%(UBUNTU_SERIES)/excuses.html
|
||||||
UPGRADE_OUTPUT = output/output.txt
|
UPGRADE_OUTPUT = output/%(UBUNTU_SERIES)/output.txt
|
||||||
HEIDI_OUTPUT = output/HeidiResult
|
HEIDI_OUTPUT = output/%(UBUNTU_SERIES)/HeidiResult
|
||||||
DELTA_OUTPUT = output/Delta
|
DELTA_OUTPUT = output/%(UBUNTU_SERIES)/Delta
|
||||||
|
|
||||||
# List of release architectures
|
# List of release architectures
|
||||||
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el
|
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el
|
||||||
|
@ -385,6 +385,8 @@ class Britney(object):
|
|||||||
self.MINDAYS = {}
|
self.MINDAYS = {}
|
||||||
self.HINTS = {'command-line': self.HINTS_ALL}
|
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('#')]:
|
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_"):
|
if k.startswith("MINDAYS_"):
|
||||||
self.MINDAYS[k.split("_")[1].lower()] = int(v)
|
self.MINDAYS[k.split("_")[1].lower()] = int(v)
|
||||||
elif k.startswith("HINTS_"):
|
elif k.startswith("HINTS_"):
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
# Configuration file for britney
|
# Configuration file for britney
|
||||||
|
|
||||||
# Paths for control files
|
# Paths for control files
|
||||||
TESTING = data/testing
|
TESTING = data/%(UBUNTU_SERIES)
|
||||||
UNSTABLE = data/unstable
|
UNSTABLE = data/%(UBUNTU_SERIES)-proposed
|
||||||
PARTIAL_UNSTABLE = yes
|
PARTIAL_UNSTABLE = yes
|
||||||
|
|
||||||
# Output
|
# Output
|
||||||
NONINST_STATUS = data/non-installable-status
|
NONINST_STATUS = data/%(UBUNTU_SERIES)/non-installable-status
|
||||||
EXCUSES_OUTPUT = output/excuses.html
|
EXCUSES_OUTPUT = output/%(UBUNTU_SERIES)/excuses.html
|
||||||
UPGRADE_OUTPUT = output/output.txt
|
UPGRADE_OUTPUT = output/%(UBUNTU_SERIES)/output.txt
|
||||||
HEIDI_OUTPUT = output/HeidiResult
|
HEIDI_OUTPUT = output/%(UBUNTU_SERIES)/HeidiResult
|
||||||
DELTA_OUTPUT = output/Delta
|
DELTA_OUTPUT = output/%(UBUNTU_SERIES)/Delta
|
||||||
|
|
||||||
# List of release architectures
|
# List of release architectures
|
||||||
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el
|
ARCHITECTURES = amd64 arm64 armhf i386 powerpc ppc64el
|
||||||
|
Loading…
x
Reference in New Issue
Block a user