]> git.decadent.org.uk Git - dak.git/commitdiff
Do not require arch:all packages in experimental uploads
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 6 Nov 2014 15:43:14 +0000 (16:43 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 6 Nov 2014 15:43:14 +0000 (16:43 +0100)
This is to allow setting up an experimental arch:all buildd and will
be reverted later.

daklib/checks.py

index c5a3f35dc6cdad45e3dca0438f9017acfc081283..66f39ffba244ff24267d9f916f26043a85ded3ab 100644 (file)
@@ -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.')