|
|
@ -1366,15 +1366,20 @@ class Britney(object):
|
|
|
|
if suite in ['pu', 'tpu']:
|
|
|
|
if suite in ['pu', 'tpu']:
|
|
|
|
# o-o-d(ish) checks for (t-)p-u
|
|
|
|
# o-o-d(ish) checks for (t-)p-u
|
|
|
|
for arch in self.options.architectures:
|
|
|
|
for arch in self.options.architectures:
|
|
|
|
# If the package isn't in testing or the testing
|
|
|
|
if src not in self.sources["testing"]:
|
|
|
|
# package produces no packages on this architecture,
|
|
|
|
continue
|
|
|
|
# then it can't be out-of-date. We assume that if
|
|
|
|
|
|
|
|
# the (t-)p-u package has produced any binaries for
|
|
|
|
# if the package in testing has no binaries on this
|
|
|
|
# this architecture then it is ok
|
|
|
|
# architecture, it can't be out-of-date
|
|
|
|
|
|
|
|
if (len([x for x in self.sources["testing"][src][BINARIES]
|
|
|
|
if not src in self.sources["testing"] or \
|
|
|
|
if x.endswith("/"+arch) and self.binaries["testing"][arch][0][x.split("/")[0]][ARCHITECTURE] != 'all' ]) == 0):
|
|
|
|
(len([x for x in self.sources["testing"][src][BINARIES] if x.endswith("/"+arch) and self.binaries["testing"][arch][0][x.split("/")[0]][ARCHITECTURE] != 'all' ]) == 0) or \
|
|
|
|
continue
|
|
|
|
(len([x for x in self.binaries[suite][arch][0].values() \
|
|
|
|
|
|
|
|
|
|
|
|
# if the (t-)p-u package has produced any binaries on
|
|
|
|
|
|
|
|
# this architecture then we assume it's ok. this allows for
|
|
|
|
|
|
|
|
# uploads to (t-)p-u which intentionally drop binary
|
|
|
|
|
|
|
|
# packages
|
|
|
|
|
|
|
|
if (len([x for x in self.binaries[suite][arch][0].values() \
|
|
|
|
if x[SOURCE] == src and x[SOURCEVER] == source_u[VERSION] and \
|
|
|
|
if x[SOURCE] == src and x[SOURCEVER] == source_u[VERSION] and \
|
|
|
|
x[ARCHITECTURE] != 'all' ]) > 0):
|
|
|
|
x[ARCHITECTURE] != 'all' ]) > 0):
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|