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>
This commit is contained in:
Ivo De Decker 2019-08-08 22:59:27 +00:00
parent aff88095ea
commit 8b0803e3bb

View File

@ -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 = ""