From 161b1613e0c87a44576ada22f4ab23f9088fad0e Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 9 Sep 2013 12:37:52 +0100 Subject: [PATCH] Rename fucked_arches to outofsync_arches, to avoid getting in trouble when bringing up new commercially-supported architectures. --- britney.conf | 2 +- britney.py | 8 ++++---- britney_nobreakall.conf | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/britney.conf b/britney.conf index 1816627..d8fbd68 100644 --- a/britney.conf +++ b/britney.conf @@ -19,7 +19,7 @@ ARCHITECTURES = amd64 armhf i386 powerpc NOBREAKALL_ARCHES = i386 # if you're in this list, your packages may not stay in sync with the source -FUCKED_ARCHES = +OUTOFSYNC_ARCHES = # if you're in this list, your uninstallability count may increase BREAK_ARCHES = diff --git a/britney.py b/britney.py index 60f9034..29c8542 100755 --- a/britney.py +++ b/britney.py @@ -408,7 +408,7 @@ class Britney(object): # Sort the architecture list allarches = sorted(self.options.architectures.split()) arches = [x for x in allarches if x in self.options.nobreakall_arches.split()] - arches += [x for x in allarches if x not in arches and x not in self.options.fucked_arches.split()] + arches += [x for x in allarches if x not in arches and x not in self.options.outofsync_arches.split()] arches += [x for x in allarches if x not in arches and x not in self.options.break_arches.split()] arches += [x for x in allarches if x not in arches and x not in self.options.new_arches.split()] arches += [x for x in allarches if x not in arches] @@ -1502,7 +1502,7 @@ class Britney(object): base = 'stable' text = "Not yet built on %s (relative to testing)" % (urllib.quote(src), urllib.quote(source_u[VERSION]), arch) - if arch in self.options.fucked_arches.split(): + if arch in self.options.outofsync_arches.split(): text = text + " (but %s isn't keeping up, so never mind)" % (arch) else: update_candidate = False @@ -1541,7 +1541,7 @@ class Britney(object): # if there are out-of-date packages, warn about them in the excuse and set update_candidate # to False to block the update; if the architecture where the package is out-of-date is - # in the `fucked_arches' list, then do not block the update + # in the `outofsync_arches' list, then do not block the update if oodbins: oodtxt = "" for v in oodbins.keys(): @@ -1553,7 +1553,7 @@ class Britney(object): "%s/%s\" target=\"_blank\">%s: %s" % \ (urllib.quote(src), urllib.quote(source_u[VERSION]), arch, oodtxt) - if arch in self.options.fucked_arches.split(): + if arch in self.options.outofsync_arches.split(): text = text + " (but %s isn't keeping up, so nevermind)" % (arch) else: update_candidate = False diff --git a/britney_nobreakall.conf b/britney_nobreakall.conf index 905c99f..3950a73 100644 --- a/britney_nobreakall.conf +++ b/britney_nobreakall.conf @@ -18,7 +18,7 @@ ARCHITECTURES = i386 amd64 armel ia64 mips mipsel powerpc s390 sparc kfreebs NOBREAKALL_ARCHES = i386 amd64 armel ia64 mips mipsel powerpc s390 sparc kfreebsd-i386 kfreebsd-amd64 armhf s390x # if you're in this list, your packages may not stay in sync with the source -FUCKED_ARCHES = +OUTOFSYNC_ARCHES = # if you're in this list, your uninstallability count may increase BREAK_ARCHES =