4.8. The Incoming system
The Incoming system is responsible for collecting updated packages and installing them in the Debian archive. It consists of a set of directories and scripts that are installed on ftp-master.debian.org
.
Packages are uploaded by all the maintainers into a directory called UploadQueue
. This directory is scanned every few minutes by a daemon called queued
, *.command
-files are executed, and remaining and correctly signed *.changes
-files are moved together with their corresponding files to the unchecked
directory. This directory is not visible for most Developers, as ftp-master is restricted; it is scanned every 15 minutes by the dak process-upload
script, which verifies the integrity of the uploaded packages and their cryptographic signatures. If the package is considered ready to be installed, it is moved into the done
directory. If this is the first upload of the package (or it has new binary packages), it is moved to the new
directory, where it waits for approval by the ftpmasters. If the package contains files to be installed by hand it is moved to the byhand
directory, where it waits for manual installation by the ftpmasters. Otherwise, if any error has been detected, the package is refused and is moved to the reject
directory.
Once the package is accepted, the system sends a confirmation mail to the maintainer and closes all the bugs marked as fixed by the upload, and the auto-builders may start recompiling it. The package is now publicly accessible at https://incoming.debian.org/ until it is really installed in the Debian archive. This happens four times a day (and is also called the dinstall run
for historical reasons); the package is then removed from incoming and installed in the pool along with all the other packages. Once all the other updates (generating new Packages
and Sources
index files for example) have been made, a special script is called to ask all the primary mirrors to update themselves.
The archive maintenance software will also send the OpenPGP/GnuPG signed .changes
file that you uploaded to the appropriate mailing lists. If a package is released with the Distribution
set to stable
, the announcement is sent to debian-changes@lists.debian.org
. If a package is released with Distribution
set to unstable
or experimental
, the announcement will be posted to debian-devel-changes@lists.debian.org
or debian-experimental-changes@lists.debian.org
instead.
Though ftp-master is restricted, a copy of the installation is available to all developers on mirror.ftp-master.debian.org
.