dupload (1)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
dupload - Debian package upload toolSYNOPSIS
dupload [options...] [changes-file|directory...]DESCRIPTION
dupload is a tool that enables people maintaining Debian packages to easily upload them to a Debian repository.dupload checks each non-option argument to find readable files or directories. It parses the files as .changes files, or tries to find such files in the given directories.
dupload will warn if the name of the file does not end with ``.changes''. Further processing is done changing into the directories of the changes files.
dupload tests the available checksums and size for each file listed in the .changes file, and fails if it finds a mismatch. If all this goes well, dupload checks if there is an .upload file with the basename of the .changes file. If the file to be uploaded is recorded to have already been uploaded to the specified host, it is skipped.
After the list of files to upload is finished, dupload tries to connect to the server and upload. Each successfully uploaded file is recorded in the .upload log file.
If all files of a package are processed, the .changes file is mailed to the
announcement address specified in the configuration file. If files with
package.announce, package_UPSTREAMVER.announce, or
package_UPSTREAMVER-DEBIANREV.announce exist, these files get
prepended to the announcement.
- *
-
If you only want the announcement to be made with only ONEupload, you name it foobar_3.14-2.announce.
- *
- If you want it to be made with every upload of a particular upstream version, name it foobar_3.14.announce.
- *
- If you want it made with every upload of a given package, name it foobar.announce.
Login and password
If no login (username) is defined in the configuration file, ``anonymous'' is used. The password is derived from your login name and your hostname, which is common for anonymousFor logins other than ``anonymous'', you are asked for the password. For security reasons there is no way to supply it via the commandline or the environment.
FTP / scp / rsync / copy
The default transfer method is The scp/SSH method only works properly if no password is required (see ssh(1)). When you use scp, it is recommended to set the ``method'' keyword to ``scpb'', which will transfer all files in a batch.
The copy method works by simply copying the files to another directory in the local filesystem.
If you are using an upload queue, use
OPTIONS
- -d, --debug [level]
-
Enable more verbose output from the FTPmodule.
- -f, --force
- Upload regardless of the transfers logged as already completed.
- -k, --keep
- Keep going, skipping packages whose checksums does not match.
- -c, --configfile [filename]
-
Read the file filename or ./dupload.conf (if it exists and no argument
is provided).
Warning: Using this option without a filename argument is deprecated (as of dupload 2.9.0) because it is a security risk if you are in a directory where other people can write. The argument will become mandatory in the future.
- --no
- Dry run, no files are changed, no upload is attempted, only tell what we would do.
- --nomail
- Suppress announcement for this run. You can send it later by just calling dupload again w/o this option. Note that this option is by default implied for all hosts with the ``dinstall_runs'' option set to 1.
- --mailonly
- Acts as if --no has been specified and but sends the announcements, unconditionally.
- --noarchive
- Adds a ``X-No-Archive: yes'' header so that the announcement will not be archived. You can use the per-host ``archive'' option in the configuration file.
- -p, --print
- Print the ``database'' as read from the config files and exit. If a host is specified via option --to, only this host's entry is displayed.
- -q, --quiet
- Be quiet, i.e., suppress normal output.
- -t, --to nickname
- Upload to nickname'd host. nickname is the key for doing lookups in the config file. You can use the ``default_host'' configuration option to specify a host without --to.
- --help
- Prints the program usage message and exits.
- -V, --Version
- Prints version and exits.
FILES
Configuration
The configuration files are searched as follows (and read in this order, overriding each other):
/etc/dupload.conf ~/.dupload.conf
Other
Various Debian package files are used by dupload: .dsc, .changes, .deb, .orig.tar.*, .debian.tar.*, .diff.*dupload itself writes the log file package_version-debian.upload, and the additional announcement files package.announce, package_upstreamver.announce, or package_upstreamver-debianrev.announce.