mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
Never promote a package unless it has at least one up-to-date binary on at least one architecture, regardless of exceptions for architectures that aren't keeping up.
This commit is contained in:
parent
0052a9afcb
commit
a3b7baf3e5
@ -1499,6 +1499,7 @@ class Britney(object):
|
||||
# at this point, we check the status of the builds on all the supported architectures
|
||||
# to catch the out-of-date ones
|
||||
pkgs = {src: ["source"]}
|
||||
built_anywhere = False
|
||||
for arch in self.options.architectures:
|
||||
oodbins = {}
|
||||
# for every binary package produced by this source in the suite for this architecture
|
||||
@ -1516,6 +1517,7 @@ class Britney(object):
|
||||
oodbins[pkgsv] = []
|
||||
oodbins[pkgsv].append(pkg)
|
||||
continue
|
||||
built_anywhere = True
|
||||
|
||||
# if the package is architecture-dependent or the current arch is `nobreakall'
|
||||
# find unsatisfied dependencies for the binary package
|
||||
@ -1548,6 +1550,9 @@ class Britney(object):
|
||||
if len(self.sources[suite][src][BINARIES]) == 0:
|
||||
excuse.addhtml("%s has no binaries on any arch" % src)
|
||||
update_candidate = False
|
||||
elif not built_anywhere:
|
||||
excuse.addhtml("%s has no up-to-date binaries on any arch" % src)
|
||||
update_candidate = False
|
||||
|
||||
# if the suite is unstable, then we have to check the release-critical bug lists before
|
||||
# updating testing; if the unstable package has RC bugs that do not apply to the testing
|
||||
|
Loading…
x
Reference in New Issue
Block a user