[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ next ]


Debian New Maintainers' Guide
Chapter 8 - Uploading the package


Now that you have tested your new package thoroughly, you will be technically ready to start the Debian new maintainer application process, as described at http://www.debian.org/devel/join/newmaint


8.1 Uploading to the Debian archive

Once you become an official developer, you'll need to upload the package to the Debian archive. You can do this manually, but it's easier to use the provided automated tools, like dupload(1) or dput(1). We'll describe how it's done with dupload. [51]

First you have to set up dupload's config file. You can either edit the system-wide /etc/dupload.conf file, or have your own ~/.dupload.conf file override the few things you want to change.

You can read the dupload.conf(5) manual page to understand what each of these options means.

The $default_host option determines which of the upload queues will be used by default. anonymous-ftp-master is the primary one, but it's possible that you will want to use another one.

While connected to the Internet, you can upload your package by the following:

     $ dupload gentoo_0.9.12-1_i386.changes

dupload checks that the MD5/SHA1/SHA256 checksums of the files match those from the .changes file. If they do not match, it will warn you to rebuild it as described in Complete (re)build, Section 6.1 so it can be properly uploaded.

If you encounter an upload problem at ftp://ftp.upload.debian.org/pub/UploadQueue/, you can fix this by manually uploading GPG signed *.commands file to there with ftp. [52] For example, use hello.commands:

     -----BEGIN PGP SIGNED MESSAGE-----
     
     Uploader: Foo Bar <Foo.Bar@example.org>
     Commands: 
      rm hello_1.0-1_i386.deb
      mv hello_1.0-1.dsx hello_1.0-1.dsc
     
     -----BEGIN PGP SIGNATURE-----
     Version: 2.6.3ia
     
     iQCVAwUBNFiQSXVhJ0HiWnvJAQG58AP+IDJVeSWmDvzMUphScg1EK0mvChgnuD7h
     BRiVQubXkB2DphLJW5UUSRnjw1iuFcYwH/lFpNpl7XP95LkLX3iFza9qItw4k2/q
     tvylZkmIA9jxCyv/YB6zZCbHmbvUnL473eLRoxlnYZd3JFaCZMJ86B0Ph4GFNPAf
     Z4jxNrgh7Bc=
     =pH94
     -----END PGP SIGNATURE-----

See mentors.debian.net for publically accessible upload area for non-DD.

See Debian Reference, 2.7.12. 'Small public package archive' for an example for creating a small public package archive compatible with the modern secure APT system.


8.2 Skipped uploads

If you created multiple entries in debian/changelog by skipping uploads, you must create a proper *_.changes file which includes all changes from the last upload.

This can be done by specifying -v option to the package building programs such as dpkg-buildpackage, debuild, pdebuild, etc.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ next ]


Debian New Maintainers' Guide

version 1.2.25, 2010-12-22 12:44:34 UTC

Josip Rodin joy-mg@debian.org