reopen 498649 Hi,
a new set of -commands will be supported in debianqueued. Attached is a patch that allows to sign these using debsign. Naturally, it would be neat if this reached as many Debian developer's installations as possible as soon as possible. Changes: rm allows for DELAYED/#-day/foo (and no other path) New commands: reschedule foo.changes #-day cancel foo.changes (both without paths etc.) Dropped: mv Please don't try to restrict the filenames further without allowing "--searchdirs" as an option for rm. Attached is the diff I've been using. Kind regards T. -- Thomas Viehmann, http://thomas.viehmann.net/
--- scripts/debsign.sh 2008-06-26 20:16:27.000000000 +0200 +++ - 2008-09-20 18:01:01.301561092 +0200 @@ -490,8 +490,9 @@ } sub checkcommands { chomp($line=$_[0]); - if ($line =~ m%^\s*mv(\s+[^\s/]+){2}\s*$%) { return 0; } - if ($line =~ m%^\s*rm(\s+[^\s/]+)+\s*$%) { return 0; } + if ($line =~ m%^\s*reschedule\s+[^\s/]+\.changes\s+[0-9]+-day\s*$%) { return 0; } + if ($line =~ m%^\s*cancel\s+[^\s/]+\.changes\s*$%) { return 0; } + if ($line =~ m%^\s*rm(\s+(?:DELAYED/[0-9]+-day/)?[^\s/]+)+\s*$%) { return 0; } if ($line eq "") { return 0; } die ".commands file has invalid Commands line: $line\n"; }