Buildd: don't block binnmu with maintainer arch: all

When the arch: all packages were uploaded by the maintainer, a binnmu (built
on the buildds) shouldn't be blocked, because it doesn't contain the arch: all
binaries anyway.

Signed-off-by: Ivo De Decker <ivodd@debian.org>
ubuntu/rebased
Ivo De Decker 5 years ago
parent aff88095ea
commit 8b0803e3bb

@ -1187,6 +1187,12 @@ class BuiltOnBuilddPolicy(BasePolicy):
if (binary_u.source_version != source_data_srcdist.version):
continue
if (item.architecture != 'source' and pkg_arch == 'all'):
# we don't care about the existing arch: all binaries when
# checking a binNMU item, because the arch: all binaries won't
# migrate anyway
continue
signer = None
uid = None
uidinfo = ""

Loading…
Cancel
Save