table of contents
DCUT(1) | DCUT(1) |
NAME¶
dcut - Debian archive command file upload tool
SYNOPSIS¶
dcut [-h] [-d] [-c FILE] [-m MAINTAINER] [-k KEYID] [-O FILENAME] [-P] [-s] [-U FILENAME] [-i FILENAME] [-v] [HOST] SUBCOMMAND ...
dcut [OPTIONS] [HOST] SUBCOMMAND [SUB-COMMAND OPTIONS]
DESCRIPTION¶
dcut can create and/or upload command files understood by the debian archive kit ("dak") software. It provides an extensible interface so that third party authors can easily integrate more sub-commands. Hence, your running instance of dcut may understand more commands than these documented here. Refer to the respective documentations for these commands.
Similar to dput, a HOST can be specified as a target site for the command file. Likewise, the same default host selection criteria apply. It also parses the same configuration files described there.
It should be noted that this does not support the same interface as the old dput binary. Please be sure to double-check scripts that depend on old-style dput’s interface.
OPTIONS¶
-c, --config=FILE
-d, --debug
-f, --force
-m, --maintainer=MAINTAINER
-k, --keyid=KEYID
-O, --output=FILENAME
-P, --passive
-s, --simulate
-i, --input=FILENAME
-v, --version
HOST
SUB-COMMANDS¶
Sub-commands are actually implementing commands understood by be archive software. They can take individual arguments which must appear after specifying the actual desired sub-command.
cancel¶
Cancel an upload entirely. The upload is referred to as a changes file name existing remote in the incoming or deferred queues.
OPTIONS
Takes one argument
-f, --file=FILENAME
rm¶
Remove a lost or wrongly uploaded file from the incoming directory. The argument is interpreted as a path fragment by the archive software. Therefore, to delete a filename from a deferred queue, refer to it by using the full path
For example, to delete a broken upload in the DELAYED queue, use the command
dcut rm -f DELAYED/X-day/foobar.deb
Alternatively, the --searchdirs argument instructs the archive software to search for a file name in all directory. Hence, this command is equivalent to the command before:
dcut rm --searchdirs -f foobar.deb
OPTIONS
Takes at least one argument
-f, --file=FILENAME
--searchdirs
dm¶
Manage Debian Maintainer (DM) upload permissions. Debian Developers can grant or revoke them package upload permissions using this command. Takes the Debian Maintainer and the action to perform as argument.
Note, dcut will not perform any validation for conflicting arguments within --allow and --deny below. This handling is left to the archive software, which is currently processing --allow before --deny as an implementation detail.
OPTIONS
--uid
--allow=PACKAGE
--allow PACKAGE LIST
--deny=PACKAGE
--deny PACKAGE LIST
reschedule¶
Reschedule an upload. This command can move a deferred upload to any other deferred queue.
OPTIONS
Takes two arguments
-f, --file=FILENAME
-d, --days=DAYS
upload¶
This is a pseudo-command (that is, it is handled within dcut and not forwarded to the archive kit) which uploads a locally existing commands file as is.
However, no checks are performed for this file. Use with caution.
OPTIONS
Takes one argument
-f, --file=FILENAME
EXIT STATUS¶
0
1
2
3
BUGS¶
Report bugs to http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=dput-ng
EXAMPLES¶
$ dcut dm --uid "Paul Tagliamonte" --allow glibc
$ dcut dm --uid 0DEFACED --allow linux --deny kfreebsd9
$ dcut dm --uid paul@example.com --allow eglibc linux
$ dcut rm --searchdirs -f udj-desktop-client_0.5.1-2_amd64.deb
$ dcut cancel -f foo_1.0-2.1_amd64.changes
$ dcut ftp-master rm -f 'linux*.deb'
AUTHOR¶
dput-ng was originally written by Arno Töll <arno(a)debian.org> and Paul Richard I by the Grace of God of the United Kingdom of Debian and Ubuntu and of his other realms and territories King Head of the Fluxbox Window Manager Defender of the Faith Tagliamonte <paultag(a)debian.org>.
RESOURCES¶
COPYING¶
Copyright © 2012 dput-ng authors. Free use of this software is granted under the terms of the GNU General Public License (GPL) Version 2 or later.
09/03/2023 |