]> git.decadent.org.uk Git - dak.git/commitdiff
Allow source-only uploads with 'sid' as distribution
authorJulien Cristau <jcristau@debian.org>
Tue, 27 Oct 2015 17:06:15 +0000 (17:06 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 8 Nov 2015 14:31:48 +0000 (15:31 +0100)
We only allowed 'unstable' or 'experimental'.

Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
daklib/checks.py

index 2eec769def845f125f40882163541d918efbb318..b187f0305997245bbe4b0bfb5262f8024c333d08 100644 (file)
@@ -719,6 +719,7 @@ class NoSourceOnlyCheck(Check):
            and 'all' not in changes.architectures \
            and 'experimental' not in changes.distributions \
            and 'unstable' not in changes.distributions \
+           and 'sid' not in changes.distributions \
            and changes.source.package_list.has_arch_indep_packages():
             raise Reject('Uploads not including architecture-independent packages are not allowed.')