From 052feb339e4e3c8e29017d2f44e70880c3e52714 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 1 Oct 2013 14:53:47 +0100 Subject: [PATCH] Ignore previously Architecture: all binaries not (yet?) in unstable when unstable is a partial suite. --- britney.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/britney.py b/britney.py index a34652e..8f1d756 100755 --- a/britney.py +++ b/britney.py @@ -1151,6 +1151,9 @@ class Britney(object): # retrieve the testing (if present) and unstable corresponding binary packages binary_t = pkg in source_t[BINARIES] and self.binaries['testing'][arch][0][pkg_name] or None + if hasattr(self.options, 'partial_unstable') and binary_t is not None and binary_t[ARCHITECTURE] == 'all' and pkg_name not in self.binaries[suite][arch][0]: + excuse.addhtml("Ignoring %s %s (from %s) as it is arch: all and not yet built in unstable" % (pkg_name, binary_t[VERSION], binary_t[SOURCEVER])) + continue binary_u = self.binaries[suite][arch][0][pkg_name] # this is the source version for the new binary package