From: Ansgar Burchardt <ansgar@debian.org>
Date: Thu, 6 Nov 2014 15:43:14 +0000 (+0100)
Subject: Do not require arch:all packages in experimental uploads
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2ce51c5fe69de2e557a87c5c3a011010ab43f44d;p=dak.git

Do not require arch:all packages in experimental uploads

This is to allow setting up an experimental arch:all buildd and will
be reverted later.
---

diff --git a/daklib/checks.py b/daklib/checks.py
index c5a3f35d..66f39ffb 100644
--- a/daklib/checks.py
+++ b/daklib/checks.py
@@ -684,6 +684,7 @@ class NoSourceOnlyCheck(Check):
 
         if not allow_no_arch_indep_uploads \
            and 'all' not in changes.architectures \
+           and 'experimental' not in changes.distributions \
            and changes.source.package_list.has_arch_indep_packages():
             raise Reject('Uploads not including architecture-independent packages are not allowed.')