]> git.decadent.org.uk Git - dak.git/commitdiff
config-upload: allow optional suffix used temporarily by rsync
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 18 Aug 2015 19:38:14 +0000 (21:38 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 18 Aug 2015 19:38:14 +0000 (21:38 +0200)
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.

tools/debianqueued-0.9/config-upload

index a46e456e5c49d9f4c62929b12eea380f6f9f9fa0..1f086a9c07611449620415adfdbaae5bacc75a29 100644 (file)
@@ -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;