Browse Source

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>
devuan-deployment
Ivo De Decker 1 year ago
parent
commit
8b0803e3bb
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      britney2/policies/policy.py

+ 6
- 0
britney2/policies/policy.py 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 = ""


Loading…
Cancel
Save