1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
|
DCUT(1)
=======
:doctype: manpage
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::
Configuration file to parse.
*-d, --debug*::
Enable debug messages. Repeat twice to increase the verbosity level.
*-f, --force*::
Bypass all sanity checks and upload the commands file as is. Use with caution.
*-m, --maintainer*=MAINTAINER::
Use 'MAINTAINER' for the uploader field and GnuPG key
selection. Provide it as a full identity, that is in
"+J Uploader <yourid@example.com>+" format. This has no effect when
the *upload* command is used.
*-k, --keyid*=KEYID::
Use 'KEYID' as a key for signing. Default is to use DEBEMAIL and
DEBFULLNAME, or whatever identity was provided with *--maintainer*.
This has no effect when the *upload* command is used.
*-O, --output*=FILENAME::
Write the resulting commands file to 'FILENAME' instead of uploading it.
This option should not be used with the *upload* command. The selected
'FILENAME' won't be overwritten if it exists already. This is very helpful
for testing that things work correctly.
*-P, --passive*::
Force FTP passive mode when uploading the package through FTP.
This option is deprecated - use profiles instead.
*-s, --simulate*::
Simulate the upload only. This runs all pre-upload checks, initializes
the upload handler but does not actually store any file.
*-i, --input*=FILENAME::
Ignored silently for compatibility with old-style dput command lines.
*-v, --version*::
Print version information and exit
*HOST*::
Target host to upload a package. It has the same behavior and semantics as
*dput(1)*'s 'HOST' argument. It also uses the same profiles from it.
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'::
The changes file name which refers to the upload to be cancelled.
migrate
~~~~~~~
Accept or reject an upload from a policy queue into the underlying suite.
Underneath, this issues a '.dak-commands' file with command 'process-upload'.
The upload is selected via two arguments identifying the source package name
and the source version.
For migrating source package foobar in version 1.2.3-4+deb42u1, you might use:
dcut security-master migrate foobar 1.2.3-4+deb42u1
OPTIONS
^^^^^^^
*--reject*::
Rather than accepting and thus migrating the upload, remove the
associated packages from the policy queue without transferring
them to the underlying suite.
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'::
The file name to be removed. This argument can be repeated, and also knows
about the shell wildcards *, ?, and []. However, please keep your local
shell replacements in mind when supplying shell meta characters. You may
need to escape them or provide them within quotes.
*--searchdirs*::
Search in all directories for the given file. Only supported for files in
the DELAYED queue.
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*::
Any searchable, unique identity to identify an existing Debian Maintainer. This
can be a (full) name an e-mail address or a GnuPG fingerprint of any existing
Debian Maintainer. Note, the identity provided must be known in the DM keyring
installed on your local system. The keyring is used to validate the supplied
argument and makes sure the identity hint supplied matches *exactly* one DM. If
the user you want to change ACLs on is not known to the local DM keyring, you can
provide the *full* GPG user ID as argument, and pass --force, to cause dcut to
bypass any argument checking/translation. Please note, this will generate a
commands file which will be uploaded literally as is. Use with caution.
*--allow*=PACKAGE
*--allow* PACKAGE LIST::
Source package(s) where permissions to upload should be granted. Give
a space-separated list of packages to apply permissions to more than
one package at once. If multiple '--allow' options are given, the last
one takes precedence.
*--deny*=PACKAGE
*--deny* PACKAGE LIST::
Source package(s) where permissions to upload should be denied. Give a
space-separated list of packages to apply permissions to more than one
package at once. If multiple '--deny' options are given, the last
one takes precedence.
reschedule
~~~~~~~~~~
Reschedule an upload. This command can move a deferred upload to any other
deferred queue.
OPTIONS
^^^^^^^
Takes two arguments
*-f*, *--file*='FILENAME'::
file name to be rescheduled
*-d*, *--days*='DAYS'::
Reschedule the upload to DAYS days. Takes a numeric argument from 0 to 15
corresponding to the respective delayed queues. Note, 0-day is not the same
as uploading to incoming straight.
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'::
A local file name which is uploaded as is to the archive software.
EXIT STATUS
-----------
*0*::
Success
*1*::
A runtime check returned an error
*2*::
An internal error was detected, for example while loading configuration
files
*3*::
An upload error was detected, for example a permission or authentication
problem while uploading files
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
---------
*dput(5)*, *dput.cf(5)*, *dcut(1)*, *gpg(1)*, *dirt(1)*
COPYING
-------
Copyright (C) 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.
|