From: Ansgar Burchardt Date: Tue, 18 Aug 2015 19:38:14 +0000 (+0200) Subject: config-upload: allow optional suffix used temporarily by rsync X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=28903fa31f90164d3ea784b31be0e9a19fc5fd8c config-upload: allow optional suffix used temporarily by rsync rsync appends a suffix while uploading and renames them later. We don't want to remove in-progress uploads so we have to allow these. --- diff --git a/tools/debianqueued-0.9/config-upload b/tools/debianqueued-0.9/config-upload index a46e456e..1f086a9c 100644 --- a/tools/debianqueued-0.9/config-upload +++ b/tools/debianqueued-0.9/config-upload @@ -47,7 +47,7 @@ $max_delayed = -1; $keep_files = '(status|\.message|README)$'; # file patterns that aren't deleted right away -$valid_files = '(\.changes|\.tar\.(?:gz|bz2|xz)|\.dsc|\.u?deb|diff\.gz|\.sh)$'; +$valid_files = '(\.changes|\.tar\.(?:gz|bz2|xz)|\.dsc|\.u?deb|diff\.gz|\.sh)(\.[A-Za-z0-9]{6})?$'; # Change files to mode 644 locally (after md5 check) or only on master? $chmod_on_target = 0;