From: Julien Cristau Date: Tue, 27 Oct 2015 17:06:15 +0000 (+0000) Subject: Allow source-only uploads with 'sid' as distribution X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=0cd133951fd22a27aaf4c02f08012c60eb3f2f34 Allow source-only uploads with 'sid' as distribution We only allowed 'unstable' or 'experimental'. Signed-off-by: Julien Cristau Signed-off-by: Ansgar Burchardt --- diff --git a/daklib/checks.py b/daklib/checks.py index 2eec769d..b187f030 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -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.')