[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch for ftp://ftp-master.debian.org/pub/UploadQueue/README to mention dcut-ng



Hi,

having had the need to reschedule something from DELAYED I was
looking at ftp://ftp-master.debian.org/pub/UploadQueue/README and
the provided steps haven't been 100% clear to me.

But instead of having to follow all those steps manually dcut-ng's
dcut command line tool provides the features directly within one
single command line, so it might be worth mentioning that. Attached
patch takes care of that. Feel free to apply/adjust as needed.

regards,
-mika-
From 16af7785e1607f9240d1ac070954089598df8984 Mon Sep 17 00:00:00 2001
From: Michael Prokop <mika@grml.org>
Date: Wed, 8 Oct 2014 14:15:45 +0200
Subject: [PATCH] Mention that dcut-ng can be used directly

---
 README | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 669fda3..a03cf13 100644
--- a/README
+++ b/README
@@ -65,7 +65,8 @@ DEFERRED - this is the place where the uploads are placed by the queue
 
 
 You can modify the queues (besides uploading packages) with *.commands
-files as described above, using the following syntax.
+files as described above, using the following syntax, or by using
+dput-ng's dcut command line tool.
 
 Note that any processing in the DEFERRED queue works on whole uploads
 (i.e. a .changes file and all the files that came with it), whereas
@@ -78,9 +79,15 @@ work on individual files.
 
    The move-target has to be without the trailing /.
 
+   Or use dcut-ng's reschedule sub-command:
+   % dcut reschedule -f foo_1.2-1.1_all.changes -d 2
+
  - To delete an upload (and all associated files) in the DEFERRED queue:
    cancel foo_1.2-1.1_all.changes
 
+   Or use dcut-ng's cancel sub-command:
+   % dcut cancel -f foo_1.2-1.1_all.changes
+
  - To delete a broken upload in the DELAYED queue:
    rm DELAYED/X-day/foobar.deb
 
@@ -88,6 +95,14 @@ work on individual files.
 
    rm --searchdirs foobar.deb
 
+   Or use dcut-ng's rm sub-command:
+   % dcut rm -f DELAYED/X-day/foobar.deb
+
+   or to instruct the archive software to search for a file name in
+   all directories respectively:
+
+   % dcut rm --searchdirs -f foobar.deb
+
  - The old mv command is no longer supported.
 
 Wildcards in .commands files are only valid for the DELAYED queue and
-- 
2.1.1

Attachment: signature.asc
Description: Digital signature


Reply to: