From: Joerg Jaspert Date: Wed, 15 Aug 2012 21:31:04 +0000 (+0200) Subject: Merge remote-tracking branch 'ansgar/pu/multiarchive-1' X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=27fdbbbafa07eeafa26e473482fdaf6c31ff3bd4;hp=5aff27bd1fc145acd9f2459cc128f88033a4130e;p=dak.git Merge remote-tracking branch 'ansgar/pu/multiarchive-1' * ansgar/pu/multiarchive-1: Always copy source when accepting uploads from policy queues. Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_policy.py b/dak/process_policy.py index 6dd1e36f..26092e9b 100755 --- a/dak/process_policy.py +++ b/dak/process_policy.py @@ -138,6 +138,9 @@ def comment_accept(upload, srcqueue, comments, transaction): if upload.source is not None: transaction.copy_source(upload.source, suite, source_component_func(upload.source), allow_tainted=allow_tainted) for db_binary in upload.binaries: + # build queues may miss the source package if this is a binary-only upload + if suite != upload.target_suite: + transaction.copy_source(db_binary.source, suite, source_component_func(upload.source), allow_tainted=allow_tainted) transaction.copy_binary(db_binary, suite, binary_component_func(db_binary), allow_tainted=allow_tainted, extra_archives=[upload.target_suite.archive]) # Copy .changes if needed