dupload [options...] [changes-file|directory...]
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, see the Announcement section for more details.
The default transfer method is ftp. Alternative methods are http, https, scp/SSH, scpb/SSH, rsync/SSH and copy.
If you are using an upload queue, use ftp because it is fast. If you are using an authenticated host, always use https, or one of scp or rsync via SSH, because ftp transmits the password in clear text.
For logins other than anonymous, you are asked for the password. For security reasons there is no way to supply it via the command-line or the environment.
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.
If the host has been configured to send announcement mails, the .changes file will be sent to the specified addresses.
The contents of all the following files are prepended to the announcement mail body, if present:
Where upstream-version and revision are to be replaced with actual version numbers. For example, if your package is called foobar, has upstream version 3.14, and Debian revision 2:
By default, the announcement addresses are unset because dinstall sends mails instead.
For scp and scpb (since 2.10.2) a -v per level is passed to the scp command.
Since version 2.10.2.
Since version 2.9.8.
Since version 2.11.0.
Since version 2.11.0.
dupload is tested on Debian systems only. It should not require too much effort to make it run under others systems, though.