<!entity % versiondata SYSTEM "version.ent"> %versiondata;
<!-- common, language independant entities -->
<!entity % commondata SYSTEM "common.ent" > %commondata;
- <!-- CVS revision of this document -->
- <!entity cvs-rev "$Revision: 1.80 $">
- <!-- if you are translating this document, please notate the RCS
+ <!-- CVS revision of this document -->
+ <!entity cvs-rev "$Revision: 1.92 $">
+ <!-- if you are translating this document, please notate the CVS
revision of the developers reference here -->
<!--
<!entity cvs-en-rev "X.YY">
-->
+
+ <!-- -->
+ <!entity FIXME "<em>FIXME:</em> ">
+
]>
<debiandoc>
<!--
<copyright>
<copyrightsummary>
-copyright ©1998 &ndash 2001 Adam Di Carlo</copyrightsummary>
+copyright ©1998–2002 Adam Di Carlo</copyrightsummary>
<copyrightsummary>
copyright ©1997, 1998 Christian Schwarz</copyrightsummary>
<p>
The purpose of this document is to provide an overview of the
recommended procedures and the available resources for Debian
developers.
+
+<!-- FIXME: rewrites -->
<p>
The procedures discussed within include how to become a maintainer
(<ref id="new-maintainer">); how to upload new packages (<ref
(<ref id="bug-handling">).
<p>
The resources discussed in this reference include the mailing lists
-and servers (<ref id="servers">); a discussion of the structure of the
-Debian archive (<ref id="archive">); explanation of the different
-servers which accept package uploads (<ref id="upload-ftp-master">); and a
-discussion of resources which can help maintainers with the quality of
-their packages (<ref id="tools">).
+(<ref id="mailing-lists">) and servers (<ref id="server-machines">); a
+discussion of the structure of the Debian archive (<ref
+id="archive">); explanation of the different servers which accept
+package uploads (<ref id="upload-ftp-master">); and a discussion of
+resources which can help maintainers with the quality of their
+packages (<ref id="tools">).
<p>
It should be clear that this reference does not discuss the technical
details of the Debian package nor how to generate Debian packages.
<chapt id="new-maintainer">Applying to Become a Maintainer
- <sect>Getting started
+ <sect id="getting-started">Getting started
<p>
-So, you've read all the documentation, you understand what everything
-in the <package>hello</package> example package is for, and you're about to
-Debianize your favourite piece of software. How do you actually
-become a Debian developer so that your work can be incorporated into
-the Project?
+So, you've read all the documentation, you've gone through the <url
+id="&url-newmaint-guide;" name="Debian New Maintainers' Guide">,
+understand what everything in the <package>hello</package> example
+package is for, and you're about to Debianize your favourite piece of
+software. How do you actually become a Debian developer so that your
+work can be incorporated into the Project?
<p>
Firstly, subscribe to &email-debian-devel; if you haven't already.
Send the word <tt>subscribe</tt> in the <em>Subject</em> of an email
public key servers. The New Maintainer Group will put your public key
on the servers if it isn't already there.
<p>
-Due to export restrictions by the United States government some Debian
-packages, including <package>gnupg</package>, are located on ftp sites
-outside of the United States. You can find the current locations of
-those packages at <url id="&url-readme-non-us;">.
- <p>
Some countries restrict the use of cryptographic software by their
citizens. This need not impede one's activities as a Debian package
maintainer however, as it may be perfectly legal to use cryptographic
country where use of cryptography even for authentication is forbidden
then please contact us so we can make special arrangements.
<p>
-When you are ready to apply, you need an existing Debian maintainer
+To apply as a new maintainer, you need an existing Debian maintainer
to verify your application (an <em>advocate</em>). After you have
contributed to Debian for a while, and you want to apply to become a
registered developer, an existing developer with whom you
For more details, please consult <url id="&url-newmaint;" name="New
Maintainer's Corner"> at the Debian web site. Make sure that you
are familiar with the necessary steps of the New Maintainer process
-before actually applying. If you are prepared well, you can save
+before actually applying. If you are well prepared, you can save
a lot of timer later on.
- <sect id="mentors">Debian Mentors
+ <sect id="mentors">Debian mentors and sponsors
<p>
The mailing list &email-debian-mentors; has been set up for novice
maintainers who seek help with initial packaging and other
<p>
Those who prefer one-on-one help (e.g., via private email) should also
post to that list and an experienced developer will volunteer to help.
+ <p>
+In addition, if you have some packages ready for inclusion in Debian,
+but are waiting for your new maintainer application to go through, you
+might be able find a sponsor to upload your package for you. Sponsors
+are people who are official Debian maintainers, and who are willing to
+critique and upload your packages for you. Sponsorees can request a
+sponsors at <url id="&url-sponsors;">.
+ <p>
+If you wish to be a mentor and/or sponsor, more information is
+available in <ref id="newmaint">.
<chapt id="developer-duties">Debian Developer's Duties
- <sect id="user-maint">Maintaining Your Debian Information
+ <sect id="user-maint">Maintaining your Debian information
<p>
There's a LDAP database containing many informations concerning all
developers, you can access it at <url id="&url-debian-db;">. You can
database, please read its online documentation that you can find
at <url id="&url-debian-db-doc;">.
<p>
-You have to keep the information available there up to date.
+You have to keep the information available there up-to-date.
- <sect id="key-maint">Maintaining Your Public Key
+ <sect id="key-maint">Maintaining your public key
<p>
Be very careful with your private keys. Do not place them on any
public servers or multiuser machines, such as
You can find a more in-depth discussion of Debian key maintenance in
the documentation for the <package>debian-keyring</package> package.
- <sect id="inform-vacation">Going On Vacation Gracefully
+
+ <sect id="voting">Voting
+ <p>
+&FIXME;<url id="url-vote">
+
+
+ <sect id="inform-vacation">Going on vacation gracefully
<p>
Most developers take vacations, and usually this means that they can't
work for Debian and they can't be reached by email if any problem occurs.
(this information is only accessible to debian developers). Don't forget
to remove the ``on vacation'' flag when you come back!
- <sect id="upstream-coordination">Coordination With Upstream Developers
+ <sect id="upstream-coordination">Coordination with upstream developers
<p>
A big part of your job as Debian maintainer will be to stay in contact
with the upstream developers. Debian users will sometimes report bugs
modify the sources of the next upstream version. Whatever changes you
need, always try not to fork from the upstream sources.
- <sect id="rc-bugs">Managing Release Critical Bugs
+ <sect id="rc-bugs">Managing release-critical bugs
<p>
-Release Critical Bugs (RCB) are all bugs that have severity
+Release-critical bugs (RCB) are all bugs that have severity
<em>critical</em>, <em>grave</em> or <em>serious</em>.
Those bugs can delay the Debian release
and/or can justify the removal of a package at freeze time. That's why
usual before they do their NMU if they have seen no recent activity from you
in the BTS).
- <sect id="qa-effort">Quality Assurance Effort
- <p>
-Even though there is a dedicated group of people for Quality
-Assurance, QA duties are not reserved solely for them. You can
-participate in this effort by keeping your packages as bug-free as
-possible, and as lintian-clean (see <ref id="lintian-reports">) as
-possible. If you do not find that possible, then you should consider
-orphaning some of your packages (see <ref
-id="orphaning">). Alternatively, you may ask the help of other people
-in order to catch up the backlog of bugs that you have (you can ask
-for help on &email-debian-qa; or &email-debian-devel;).
-
- <sect id="mia-qa">Dealing with unreachable maintainers
- <p>
-If you notice that a package is lacking maintenance, you should
-make sure the maintainer is active and will continue to work on
-their packages. Try contacting them yourself.
- <p>
-If you do not get a reply after a few weeks you should collect all
-useful information about this maintainer. Start by logging in to
-the <url id="http://db.debian.org" name="Debian Developer's Database">
-and doing a full search to check whether the maintainer is on vacation
-and when they were last seen. Collect any important package names
-they maintain and any Release Critical bugs filled against them.
- <p>
-Send all this information to &email-debian-qa;, in order to let the
-QA people do whatever is needed.
- <sect>Retiring Gracefully
+ <sect>Retiring
<p>
If you choose to leave the Debian project, you should make sure you do
the following steps:
</enumlist>
- <chapt id="servers">Mailing Lists, Servers, and Other Machines
- <p>
+
+ <chapt id="resources">Resources for Debian Developers
+ <p>
In this chapter you will find a very brief road map of the Debian
mailing lists, the main Debian servers, and other Debian machines
which may be available to you as a developer.
posts which for whatever reason should not be published publically.
As such, it is a low volume list, and users are urged not to use
&email-debian-private; unless it is really necessary. Moreover, do
-<em>not</em> forward email from that list to anyone.
+<em>not</em> forward email from that list to anyone. Archives of this
+list are not available on the web for obvious reasons, but you can see
+them using your shell account <tt>master.debian.org</tt> and looking
+in the <file>~debian/archive/debian-private</file> directory.
<p>
&email-debian-email; is a special mailing list used as a grab-bag
for Debian related correspondence such as contacting upstream authors
id="&url-lists-archives;">.
+
+ <sect id="doc-rsrcs">Documentation
+ <p>
+&FIXME; <url id="&url-devel-docs;">
+
+
+
<sect id="server-machines">Debian servers
<p>
Debian servers are well known servers which serve critical functions
<p>
The ftp-master server, <tt>ftp-master.debian.org</tt> (or
<tt>auric.debian.org</tt>), holds the canonical copy of the Debian
-archive (excluding the non-U.S. packages). Generally, package uploads
+archive (excluding the non-US packages). Generally, package uploads
go to this server; see <ref id="upload">.
<p>
Problems with the Debian FTP archive generally need to be reported as
Debian account should own the CVS root area, and why you need it.
- <sect1 id="servers-mirrors">Mirrors of Debian servers
+ <sect1 id="devel-db">The Developers Database
+ <p>
+The Deverlopers Database, at <url id="&url-debian-db;">, is an LDAP
+directory for managing Debian developer attributes. You can use this
+resource to search the list of Debian developers. For information on
+keeping your entry the developer database up-to-date, see <ref
+id="user-maint">.
+
+
+ <sect id="servers-mirrors">Mirrors of Debian servers
<p>
The web and FTP servers have several mirrors available. Please do not
put heavy load on the canonical FTP or web servers. Ideally, the
have accounts on these machines.
- <sect id="other-machines">Other Debian Machines
+ <sect id="other-machines">Other Debian developer machines
<p>
There are other Debian machines which may be made available to you.
You can use these for Debian-related purposes as you see fit. Please
- <chapt id="archive">The Debian Archive
-
- <sect>Overview
+ <sect id="archive">The Debian archive
<p>
-The &debian-formal; distribution consists of a lot of Debian packages
+The &debian-formal; distribution consists of a lot of packages
(<tt>.deb</tt>'s, currently around &number-of-pkgs;) and a few
-additional files (documentation, installation disk images, etc.).
+additional files (such documentation and installation disk images).
<p>
Here is an example directory tree of a complete Debian archive:
<p>
&sample-dist-dirtree;
<p>
As you can see, the top-level directory contains two directories,
-<tt>dists/</tt> and <tt>pool/</tt>. The latter is a ``pool'' in which the
+<tt>dists/</tt> and <tt>pool/</tt>. The latter is a “pool” in which the
packages actually are, and which is handled by the archive maintenance
database and the accompanying programs. The former contains the
distributions, <em>stable</em>, <em>testing</em> and <em>unstable</em>.
further into <em>subsections</em>.
- <sect>Sections
+ <sect1>Sections
<p>
The <em>main</em> section of the Debian archive is what makes up the
<strong>official &debian-formal; distribution</strong>. The
id="&url-dfsg;" name="Debian Free Software Guidelines"> (DFSG) and
with all other policy requirements as described in the <url
id="&url-debian-policy;" name="Debian Policy Manual">. The DFSG is
-our definition of ``free software.'' Check out the Debian Policy
+our definition of “free software.” Check out the Debian Policy
Manual for details.
<p>
Packages in the <em>contrib</em> section have to comply with the DFSG,
vendor to vendor, this job can't be done by the Debian developers.)
- <sect>Architectures
+ <sect1>Architectures
<p>
In the first days, the Linux kernel was only available for the Intel
i386 (or greater) platforms, and so was Debian. But when Linux became
pages">.
- <sect>Subsections
+ <sect1>Subsections
<p>
The sections <em>main</em>, <em>contrib</em>, and <em>non-free</em>
are split into <em>subsections</em> to simplify the installation
will eventually cease to exist. They will be kept in the packages' `Section'
header fields, though.
- <sect>Packages
+ <sect1>Packages
<p>
There are two types of Debian packages, namely <em>source</em> and
<em>binary</em> packages.
the package (maintainer, version, etc.).
- <sect>Distribution directories
+ <sect1>Distribution directories
<p>
The directory system described in the previous chapter is itself
contained within <em>distribution directories</em>. Each
directory of the archive (because of backwards compatibility).
- <sect1 id="sec-dists">Stable, testing, and unstable
+ <sect2 id="sec-dists">Stable, testing, and unstable
<p>
There are always distributions called <em>stable</em> (residing in
<tt>dists/stable</tt>), one called <em>testing</em> (residing in
packages in this distribution at any time. Thus, the contents of this
distribution change from day-to-day. Since no special effort is done
to make sure everything in this distribution is working properly, it is
-sometimes ``unstable.''
+sometimes literally unstable.
<p>
Packages get copied from <em>unstable</em> to <em>testing</em> if they
satisfy certain criteria. To get into <em>testing</em> distribution, a
allowed into <em>testing</em> except for bug fixes. After some time
has elapsed, depending on progress, the <em>testing</em> distribution
goes into a `deep freeze', when no changes are made to it except those
-needed for the installation system. This is called a ``test cycle'',
+needed for the installation system. This is called a “test cycle”,
and it can last up to two weeks. There can be several test cycles,
until the distribution is prepared for release, as decided by the
release manager. At the end of the last test cycle, the
<em>testing</em> distribution is renamed to <em>stable</em>,
overriding the old <em>stable</em> distribution, which is removed at
-that time (although they can be found at <tt>archive-host;</tt>).
+that time (although it can be found at <tt>&archive-host;</tt>).
<p>
This development cycle is based on the assumption that the
<em>unstable</em> distribution becomes <em>stable</em> after passing a
<tt>proposed-updates</tt> directory. Those packages in
<tt>proposed-updates</tt> that pass muster are periodically moved as a
batch into the stable distribution and the revision level of the
-stable distribution is incremented (e.g., `1.3' becomes `1.3r1',
-`2.0r2' becomes `2.0r3', and so forth).
+stable distribution is incremented (e.g., ‘3.0’ becomes ‘3.0r1’,
+‘2.2r4’ becomes ‘2.0r5’, and so forth).
<p>
Note that development under <em>unstable</em> continues during the
-``freeze'' period, since the <em>unstable</em> distribution remains in
+freeze period, since the <em>unstable</em> distribution remains in
place in parallel with <em>testing</em>.
- <sect1>Experimental
+ <sect2>Experimental
<p>
The <em>experimental</em> distribution is a specialty distribution.
It is not a full distribution in the same sense as `stable' and
on <tt>people.debian.org</tt> (<tt>klecker.debian.org</tt>).
- <sect id="codenames">Release code names
+ <sect1 id="codenames">Release code names
<p>
Every released Debian distribution has a <em>code name</em>: Debian
1.1 is called `buzz'; Debian 1.2, `rex'; Debian 1.3, `bo'; Debian 2.0,
<em>unstable</em> point to the appropriate release directories.
- <chapt id="upload">Package uploads
+ <chapt id="pkgs">Managing Packages
+ <p>
+This chapter contains information related to creating, uploading,
+maintaining, and porting packages.
+
+ <sect id="upload">Package uploads
- <sect>Announcing new packages
+ <sect1>New packages
<p>
If you want to create a new package for the Debian distribution, you
should first check the <url id="&url-wnpp;" name="Work-Needing and
better feel of what is going on, and what is new, in the project.
</list>
+ <sect1 id="changelog-entries">
+ <heading>Adding an entry to <file>debian/changelog</file></heading>
+ <p>
+Changes that you make to the package need to be recorded in the
+<file>debian/changelog</file>. These changes should provide a concise
+description of what was changed, why (if it's in doubt), and note if
+any bugs were closed. They also record when the package was
+completed. This file will be installed in
+<file>/usr/share/doc/<var>package</var>/changelog.Debian.gz</file>, or
+<file>/usr/share/doc/<var>package</var>/changelog.gz</file> for native
+packages.
+ <p>
+The <file>debian/changelog</file> file conform to a certain structure,
+with a number of different fields. One field of note, the
+<em>distribution</em>, is described in <ref id="upload-dist">. More
+information about the structure of this file can be found in
+the Debian Policy section titled "<file>debian/changelog</file>".
+ <p>
+Changelog entries can be used to automatically close Debian bugs when
+the package is installed into the archive. See <ref
+id="upload-bugfix">.
+ <p>
+It is conventional that the changelog entry notating of a package that
+contains a new upstream version of the software looks like this:
+<example>
+ * new upstream version
+</example>
+ <p>
+There are tools to help you create entries and finalize the
+<file>changelog</file> for release — see <ref id="devscripts">
+and <ref id="dpkg-dev-el">.
+
+
- <sect id="upload-checking">Checking the package prior to upload
+ <sect1 id="upload-checking">Checking the package prior to upload
<p>
Before you upload your package, you should do basic testing on it. At
a minimum, you should try the following activities (you'll need to
</list>
- <sect>Generating the changes file
+ <sect1>Generating the changes file
<p>
When a package is uploaded to the Debian FTP archive, it must be
accompanied by a <tt>.changes</tt> file, which gives directions to the
id="upload-bugfix">.
- <sect1>The original source tarball
+ <sect2>The original source tarball
<p>
The first time a version is uploaded which corresponds to a particular
upstream version, the original source tar file should be uploaded and
flag.
- <sect1 id="upload-dist">Picking a distribution
+ <sect2 id="upload-dist">Picking a distribution
<p>
The <tt>Distribution</tt> field, which originates from the first line of
the <file>debian/changelog</file> file, indicates which distribution the
-->
- <sect2 id="upload-stable">Uploading to <em>stable</em>
+ <sect3 id="upload-stable">Uploading to <em>stable</em>
<p>
Uploading to <em>stable</em> means that the package will be placed into the
<tt>proposed-updates</tt> directory of the Debian archive for further
- <sect id="uploading">Uploading a package
+ <sect1 id="uploading">Uploading a package
- <sect1 id="upload-ftp-master">Uploading to <tt>ftp-master</tt>
+ <sect2 id="upload-ftp-master">Uploading to <tt>ftp-master</tt>
<p>
To upload a package, you need a personal account on
<ftpsite>ftp-master.debian.org</ftpsite>, which you should have as an
official maintainer. If you use <prgn>scp</prgn> or <prgn>rsync</prgn>
to transfer the files, place them into <tt>&us-upload-dir;</tt>;
if you use anonymous FTP to upload, place them into
-<ftppath>/pub/UploadQueue/</ftppath>.
+<ftppath>/pub/UploadQueue/</ftppath>. Please note that you should transfer
+the changes file last. Otherwise, your upload may be rejected because the
+archive maintenance software will parse the changes file and see that not
+all files have been uploaded. If you don't want to bother with transfering
+the changes file last, you can simply copy your files to a temporary
+directory on <tt>ftp-master</tt> and then move them to
+<tt>&us-upload-dir;</tt>.
<p>
<em>Note:</em> Do not upload to <tt>ftp-master</tt> packages
-containing software that is export-controlled by the United States
-government, nor to the overseas upload queues on <tt>chiark</tt> or
-<tt>erlangen</tt>. This prohibition covers almost all cryptographic
-software, and even sometimes software that contains ``hooks'' to
-cryptographic software, such as electronic mail readers that support
-PGP encryption and authentication. Uploads of such software should go
-to <tt>non-us</tt> (see <ref id="upload-non-us">). If you are not
-sure whether U.S. export controls apply to your package, post a
+containing software that is patent-restricted by the United States
+government, nor any cryptographic packages which belong to
+<em>contrib</em> or <em>non-free</em>. If you can't upload it to
+<tt>ftp-master</tt>, then neither can you upload it to the overseas
+upload queues on <tt>chiark</tt> or <tt>erlangen</tt>. Uploads of
+such software should go to <tt>non-us</tt> (see <ref
+id="upload-non-us">). If you are not sure whether U.S. patent
+controls or cryptographic controls apply to your package, post a
message to &email-debian-devel; and ask.
<p>
-You may also find the Debian package <package>dupload</package> useful
-when uploading packages. This handy program is distributed with
+You may also find the Debian packages <package>dupload</package> or
+<package>dput</package> useful
+when uploading packages. These handy program are distributed with
defaults for uploading via <prgn>ftp</prgn> to <tt>ftp-master</tt>,
-<tt>chiark</tt>, and <tt>erlangen</tt>. It can also be configured to
+<tt>chiark</tt>, and <tt>erlangen</tt>. They can also be configured to
use <prgn>ssh</prgn> or <prgn>rsync</prgn>. See <manref name="dupload"
-section="1"> and <manref name="dupload" section="5"> for more information.
+section="1">, <manref name="dupload" section="5"> and <manref name="dput"
+section="1"> for more information.
<p>
After uploading your package, you can check how the archive maintenance
software will process it by running <prgn>dinstall</prgn> on your changes
file: <example>dinstall -n foo.changes</example>
- <sect1 id="upload-non-us">Uploading to <tt>non-US</tt> (pandora)
+ <sect2 id="upload-non-us">Uploading to <tt>non-US</tt> (pandora)
<p>
As discussed above, export controlled software should not be uploaded
-to <tt>ftp-master</tt>. Instead, use <prgn>scp</prgn> or <prgn>rsync</prgn>
-to copy the package to <ftpsite>non-us.debian.org</ftpsite>, placing
-the files in <tt>&non-us-upload-dir;</tt>. By default, you can
-use the same account/password that works on <tt>ftp-master</tt>.
-If you use anonymous FTP to upload, place the files into
-<ftppath>/pub/UploadQueue/</ftppath>.
- <p>
-The program <prgn>dupload</prgn> comes with support for uploading to
-<tt>non-us</tt>; please refer to the documentation that comes with
-the program for details.
+to <tt>ftp-master</tt>. Instead, upload the package to
+<ftpsite>non-us.debian.org</ftpsite>, placing the files in
+<tt>&non-us-upload-dir;</tt> (both <ref id="dupload"> and <ref
+id="dput"> can be used also, with the right invokation). By default,
+you can use the same account/password that works on
+<tt>ftp-master</tt>. If you use anonymous FTP to upload, place the
+files into <ftppath>/pub/UploadQueue/</ftppath>.
<p>
You can check your upload the same way it's done on <tt>ftp-master</tt>,
with:
<example>dinstall -n foo.changes</example>
<p>
Note that U.S. residents or citizens are subject to restrictions on
-export of cryptographic software. As of this writing, U.S. citizens are
-allowed to export some cryptographic software, subject to notification
-rules by the U.S. Department of Commerce.
+export of cryptographic software. As of this writing, U.S. citizens
+are allowed to export some cryptographic software, subject to
+notification rules by the U.S. Department of Commerce. However, this
+restriction has been waived for software which is already available
+outside the U.S. Therefore, any cryptographic software which belongs
+in the <em>main</em> section of the Debian archive and does not depend
+on any package outside of <em>main</em> (e.g., does not depend on
+anything in <em>non-US/main</em>) can be uploaded to <tt>ftp-master</tt>
+or its queues, described above.
<p>
Debian policy does not prevent upload to non-US by U.S. residents or
citizens, but care should be taken in doing so. It is recommended that
breaking current US law by doing an upload to non-US, <em>including
consulting a lawyer</em>.
<p>
-For packages in non-US main or contrib, developers should at least
-follow the <url id="&url-u.s.-export;" name="procedure outlined by the
-US Government">. Maintainers of non-US/non-free packages should
-further consult these <url id="&url-notification-of-export;"
-name="rules on notification of export"> of non-free software.
+For packages in <em>non-US/main</em>, <em>non-US/contrib</em>,
+developers should at least follow the <url id="&url-u.s.-export;"
+name="procedure outlined by the US Government">. Maintainers of
+<em>non-US/non-free</em> packages should further consult the <url
+id="&url-notification-of-export;" name="rules on notification of
+export"> of non-free software.
<p>
This section is for information only and does not constitute legal
advice. Again, it is strongly recommended that U.S. citizens and
residents consult a lawyer before doing uploads to non-US.
- <sect1>Uploads via <tt>chiark</tt>
+ <sect2>Uploads via <tt>chiark</tt>
<p>
If you have a slow network connection to <tt>ftp-master</tt>, there are
alternatives. One is to upload files to <tt>Incoming</tt> via a
program for details.
- <sect1>Uploads via <tt>erlangen</tt>
+ <sect2>Uploads via <tt>erlangen</tt>
<p>
Another upload queue is available in Germany: just upload the files
via anonymous FTP to <url id="&url-upload-erlangen;">.
the program for details.
- <sect1>Other Upload Queues
+ <sect2>Other upload queues
<p>
Another upload queue is available which is based in the US, and is a
good backup when there are problems reaching <tt>ftp-master</tt>. You can
- <sect id="upload-announce">Announcing package uploads
+ <sect1 id="upload-announce">Announcing package uploads
<p>
When a package is uploaded, an announcement should be posted to one of
the ``debian-changes'' lists. This is now done automatically by the archive
where the announcement should go, and will automatically mail the
announcement to the right list. See <ref id="dupload">.
- <sect id="upload-notification">
+ <sect1 id="upload-notification">
<heading>Notification that a new package has been installed</heading>
<p>
The Debian archive maintainers are responsible for handling package
section the package was inserted into. If there is a disparity, you
will receive a separate email notifying you of that. Read on below.
- <sect1 id="override-file">The override file
+ <sect2 id="override-file">The override file
<p>
The <file>debian/control</file> file's <tt>Section</tt> and
<tt>Priority</tt> fields do not actually specify where the file will
- <chapt id="nmu">Non-Maintainer Uploads (NMUs)
+ <sect id="nmu">Non-Maintainer Uploads (NMUs)
<p>
Under certain circumstances it is necessary for someone other than the
official package maintainer to make a release of a package. This is
how NMUs should be done. A fundamental distinction is made between
source and binary-only NMUs, which is explained in the next section.
- <sect id="nmu-terms">Terminology
+ <sect1 id="nmu-terms">Terminology
<p>
There are two new terms used throughout this section: ``binary-only NMU''
and ``source NMU''. These terms are used with specific technical
binary, or binary-only.
- <sect id="nmu-who">Who can do an NMU
+ <sect1 id="nmu-who">Who can do an NMU
<p>
Only official, registered Debian maintainers can do binary or source
NMUs. An official maintainer is someone who has their key in the
quality patches and bug reports.
- <sect id="nmu-when">When to do a source NMU
+ <sect1 id="nmu-when">When to do a source NMU
<p>
Guidelines for when to do a source NMU depend on the target
distribution, i.e., stable, unstable, or experimental. Porters have
- <sect id="nmu-guidelines">How to do a source NMU
+ <sect1 id="nmu-guidelines">How to do a source NMU
<p>
The following applies to porters insofar as they are playing the dual
role of being both package bug-fixers and package porters. If a
upload.
- <sect1 id="nmu-version">Source NMU version numbering
+ <sect2 id="nmu-version">Source NMU version numbering
<p>
Whenever you have made a change to a package, no matter how trivial,
the version number needs to change. This enables our packing system
NMU.
- <sect1 id="nmu-changelog">
+ <sect2 id="nmu-changelog">
<heading>Source NMUs must have a new changelog entry</heading>
<p>
A non-maintainer doing a source NMU must create a changelog entry,
describing which bugs are fixed by the NMU, and generally why the NMU
was required and what it fixed. The changelog entry will have the
non-maintainer's email address in the log entry and the NMU version
-number in it.</p>
+number in it.
<p>
By convention, source NMU changelog entries start with the line
<example>
* Non-maintainer upload
-</example></p></sect1>
+</example>
- <sect1 id="nmu-patch">Source NMUs and the Bug Tracking System
+ <sect2 id="nmu-patch">Source NMUs and the Bug Tracking System
<p>
Maintainers other than the official package maintainer should make as
few changes to the package as possible, and they should always send a
entry in the changelog file documenting the non-maintainer upload.
- <sect1 id="nmu-build">Building source NMUs
+ <sect2 id="nmu-build">Building source NMUs
<p>
Source NMU packages are built normally. Pick a distribution using the
same rules as found in <ref id="upload-dist">. Just as described in
- <chapt id="porting">Porting and Being Ported
+ <sect id="porting">Porting and Being Ported
<p>
Debian supports an ever-increasing number of architectures. Even if
you are not a porter, and you don't use any architecture but one, it
&number-of-arches; more builds.
- <sect id="kind-to-porters">Being Kind to Porters
+ <sect1 id="kind-to-porters">Being kind to porters
<p>
Porters have a difficult and unique task, since they are required to
deal with a large volume of packages. Ideally, every source package
architectures sometimes standardize on different compilers.
<item>
Make sure your debian/rules contains separate ``binary-arch'' and
-``binary-indep'' targets, as the Debian Packaging Manual requires.
+``binary-indep'' targets, as the Debian Policy Manual requires.
Make sure that both targets work independently, that is, that you can
call the target without having called the other before. To test this,
try to run <tt>dpkg-buildpackage -b</tt>.
</enumlist>
- <sect id="porter-guidelines">Guidelines for Porter Uploads
+ <sect1 id="porter-guidelines">Guidelines for porter uploads
<p>
If the package builds out of the box for the architecture to be ported
to, you are in luck and your job is easy. This section applies to
binary-only build of only the architecture-dependant portions of the
package, using the `binary-arch' target in <file>debian/rules</file>.
- <sect1 id="recompile-nmu-versioning">
- <heading>Recompilation Binary-Only NMU Versioning</heading>
+ <sect2 id="recompile-nmu-versioning">
+ <heading>Recompilation binary-only NMU versioning</heading>
<p>
Sometimes you need to recompile a package against other packages which
have been updated, such as libraries. You do have to bump the version
of ``3.4-2.1.1''.
- <sect1 id="source-nmu-when-porter">
+ <sect2 id="source-nmu-when-porter">
<heading>When to do a source NMU if you are a porter</heading>
<p>
Porters doing a source NMU generally follow the guidelines found in
blessing or status, so buyer, beware.
- <sect>Tools for Porters
+ <sect1>Tools for porters
<p>
There are several tools available for the porting effort. This section
contains a brief introduction to these tools; see the package
documentation or references for full information.
- <sect1 id="quinn-diff">
+ <sect2 id="quinn-diff">
<heading><package>quinn-diff</package>
<p>
<package>quinn-diff</package> is used to locate the differences from
architecture <var>X</var>.
- <sect1 id="buildd">
+ <sect2 id="buildd">
<heading><package>buildd</package>
<p>
The <package>buildd</package> system is used as a distributed,
distributions quickly.
- <sect1 id="dpkg-cross">
+ <sect2 id="dpkg-cross">
<heading><package>dpkg-cross</package>
<p>
<package>dpkg-cross</package> is a tool for installing libraries and
- <chapt id="archive-manip">
+ <sect id="archive-manip">
<heading>Moving, Removing, Renaming, Adopting, and Orphaning
Packages</heading>
<p>
maintainers. This chapter gives guidelines in what to do in these
cases.
- <sect>Moving packages
+ <sect1 id="moving-pkgs">Moving packages
<p>
Sometimes a package will change its section. For instance, a
package from the `non-free' section might be GPL'd in a later version,
override file updated, as described in <ref id="override-file">.
- <sect id="removing-pkgs">Removing packages
+ <sect1 id="removing-pkgs">Removing packages
<p>
If for some reason you want to completely remove a package (say, if it
is an old compatibility library which is not longer required), you
<var>package</var></tt>, the program will show details for
<var>package</var>, including reverse depends.
- <sect1>Removing packages from <tt>Incoming</tt>
+ <sect2>Removing packages from <tt>Incoming</tt>
<p>
-If you decide to remove a package from <tt>Incoming</tt>, it is nice
-but not required to send a notification of that to the appropriate
-announce list (either &email-debian-changes; or
-&email-debian-devel-changes;).
+In the past, it was possible to remove packages from <tt>incoming</tt>.
+With the introduction of the New Incoming system this is no longer
+possible. Instead, you have to upload a new revision of your package with
+a higher version as the package you want to replace. Both versions will be
+installed in the archive but only the higher version will actually be
+available in <em>unstable</em> since the previous version will immediately
+be replaced by the higher. However, if you do proper testing of your
+packages, the need to replace a package should not occur too often anyway.
- <sect>Replacing or renaming packages
+ <sect1>Replacing or renaming packages
<p>
Sometimes you made a mistake naming the package and you need to rename
it. In this case, you need to follow a two-step process. First, set
against <tt>ftp.debian.org</tt> asking to remove the package with the
obsolete name.
- <sect id="orphaning">Orphaning a package
+ <sect1 id="orphaning">Orphaning a package
<p>
If you can no longer maintain a package, you need to inform the others
about that, and see that the package is marked as orphaned.
Read instructions on the <url id="&url-wnpp;" name="WNPP web pages">
for more information.
- <sect id="adopting">Adopting a package
+ <sect1 id="adopting">Adopting a package
<p>
A list of packages in need of a new maintainer is available at in the
<url name="Work-Needing and Prospective Packages list (WNPP)"
- <chapt id="bug-handling">Handling Bugs
+ <sect id="bug-handling">Handling package bugs
- <sect>Monitoring bugs
+ <sect1>Monitoring bugs
<p>
If you want to be a good maintainer, you should periodically check the
<url id="&url-bts;" name="Debian bug tracking system (BTS)"> for your
# ask for weekly reports of bugs in my packages
&cron-bug-report;
</example>
-Replace <var>maintainer-address</var> with you official Debian
+Replace <var>address</var> with you official Debian
maintainer address.
- <sect id="submit-bug">Submitting Bugs
- <p>
-Often as a package maintainer, you find bugs in other packages or else
-have bugs reported to your packages which need to be reassigned. The
-<url id="&url-bts-control;" name="BTS instructions"> can tell you how
-to do this.
- <p>
-We encourage you to file bugs when there are problems. Try to submit
-the bug from a normal user account at which you are likely to receive
-mail. Do not submit bugs as root.
- <p>
-Make sure the bug is not already filed against a package. Try to do a
-good job reporting a bug and redirecting it to the proper location.
-For extra credit, you can go through other packages, merging bugs
-which are reported more than once, or setting bug severities to
-`fixed' when they have already been fixed. Note that when you are
-neither the bug submitter nor the package maintainer, you should
-not actually close the bug (unless you secure permission from the
-maintainer).
-
- <sect>Responding to Bugs
+ <sect1 id="bug-answering">Responding to bugs
<p>
Make sure that any discussions you have about bugs are sent both to
the original submitter of the bug, and the bug itself (e.g.,
command sent to &email-bts-control;. If you do so, the original
submitter will not receive any feedback on why the bug was closed.
- <sect id="upload-bugfix">When bugs are closed by new uploads
+ <sect1 id="bug-housekeeping">Bug housekeeping
+ <p>
+As a package maintainer, you will often find bugs in other packages or
+have bugs reported against your packages which are actually bugs in
+other packages. The <url id="&url-bts-control;" name="BTS
+instructions"> document the technical operation of the BTS, such as
+how to file, reassign, merge, and tag bugs. This section contains
+some guidelines for managing your own bugs, based on the collective
+Debian developer experience.
+ <p>
+Filing bugs for problems that you find in other packages is one of
+the "civic obligations" of maintainership, see <ref id="submit-bug">
+for details.
+ <p>
+&FIXME;Talk about tags, forwarding bugs, or else break it into
+different sections...
+
+
+ <sect1 id="upload-bugfix">When bugs are closed by new uploads
<p>
If you fix a bug in your packages, it is your responsibility as the
package maintainer to close the bug when it has been fixed. However,
bug number.
- <sect id="lintian-reports">Lintian reports
+ <sect1 id="lintian-reports">Lintian reports
<p>
You should periodically get the new <package>lintian</package> from
`unstable' and check over all your packages. Alternatively you can
latest <package>lintian</package>.
- <sect>Reporting lots of bugs at once
+ <chapt id="beyond-pkging">
+ <heading>Beyond Packaging</heading>
+ <p>
+Debian is about a lot more than just packaging software and
+maintaining those packages. This chapter contains information about
+ways, often really critical ways, to contribute to Debian beyond the
+simply creating and maintaining packages.
+ <p>
+As a volunteer organization, Debian relies on the discretion of its
+members in choosing what they want to work on, and choosing what is
+the most critical thing to spend their time on.
+
+ <sect id="submit-bug">
+ <heading>Bug Reporting</heading>
+ <p>
+We encourage you to file bugs as you find them in Debian packages.
+ <p>
+Try to submit
+the bug from a normal user account at which you are likely to receive
+mail. Do not submit bugs as root.
+ <p>
+Make sure the bug is not already filed against a package. Try to do a
+good job reporting a bug and redirecting it to the proper location.
+For extra credit, you can go through other packages, merging bugs
+which are reported more than once, or setting bug severities to
+`fixed' when they have already been fixed. Note that when you are
+neither the bug submitter nor the package maintainer, you should
+not actually close the bug (unless you secure permission from the
+maintainer).
+
+ <sect1 id="submit-many-bugs">Reporting lots of bugs at once
<p>
Reporting a great number of bugs for the same problem on a great
number of different packages &mdash i.e., more than 10 &mdash is a deprecated
list.
- <chapt id="newmaint">
- <heading>Interaction with Prospective Developers</heading>
+ <sect id="qa-effort">Quality Assurance effort
+ <p>
+Even though there is a dedicated group of people for Quality
+Assurance, QA duties are not reserved solely for them. You can
+participate in this effort by keeping your packages as bug-free as
+possible, and as lintian-clean (see <ref id="lintian-reports">) as
+possible. If you do not find that possible, then you should consider
+orphaning some of your packages (see <ref
+id="orphaning">). Alternatively, you may ask the help of other people
+in order to catch up the backlog of bugs that you have (you can ask
+for help on &email-debian-qa; or &email-debian-devel;).
+
+ <sect id="mia-qa">Dealing with unreachable maintainers
+ <p>
+If you notice that a package is lacking maintenance, you should
+make sure the maintainer is active and will continue to work on
+his packages. Try contacting him yourself.
+ <p>
+If you do not get a reply after a few weeks you should collect all
+useful information about this maintainer. Start by logging into
+the <url id="&url-debian-db;" name="Debian Developer's Database">
+and doing a full search to check whether the maintainer is on vacation
+and when he was last seen. Collect any important package names
+he maintains and any Release Critical bugs filled against them.
+ <p>
+Send all this information to &email-debian-qa;, in order to let the
+QA people do whatever is needed.
+
+
+
+ <sect id="newmaint">
+ <heading>Interacting with prospective Debian developers</heading>
<p>
-This chapter describes procedures that existing Debian developers should
-follow when it comes to dealing with wannabe developers.
+Debian's success depends on it's ability to attract and retain new and
+talented volunteers. If you are an experienced developer, we
+recommend that you get involved with the process of brining in new
+developers. This section describes how to help new prospective
+developers.
+
- <sect id="sponsoring">Sponsoring packages
+ <sect1 id="sponsoring">Sponsoring packages
<p>
Sponsoring a package means uploading a package for a maintainer who is not
able to do it on their own, a new maintainer applicant. Sponsoring a package
also means accepting responsibility for it.
<p>
+If you wish to volunteer as a sponsor, you can sign up at <url
+id="&url-sponsors;">.
+ <p>
New maintainers usually have certain difficulties creating Debian packages
— this is quite understandable. That is why the sponsor is there, to check
the package and verify that it is good enough for inclusion in Debian.
<p>
If you are an application manager for a prospective developer, you can also
be their sponsor. That way you can also verify the how the applicant is
-handling the `Tasks and Skills' part of their application.
+handling the 'Tasks and Skills' part of their application.
+
- <sect>Advocating new developers
+ <sect1>Advocating new developers
<p>
See the page about <url id="&url-newmaint-advocate;"
name="advocating a prospective developer"> at the Debian web site.
- <sect>Handling new maintainer applications
+ <sect1>Handling new maintainer applications
<p>
Please see <url id="&url-newmaint-amchecklist;" name="Checklist for
Application Managers"> at the Debian web site.
- <chapt id="tools">Overview of Debian Maintainer Tools
+ <appendix id="tools">Overview of Debian Maintainer Tools
<p>
This section contains a rough overview of the tools available to
-maintainers. These tools are meant to help convenience developers and
-free their time for critical tasks.
+maintainers. The following is by no means complete or definitive, but
+just a guide to some of the more popular tools.
+ <p>
+Debian maintainer tools are meant to help convenience developers and
+free their time for critical tasks. As Larry Wall says, there's more
+than one way to do it.
<p>
Some people prefer to use high-level package maintenance tools and
some do not. Debian is officially agnostic on this issue; any tool
<p>
Most of the descriptions of these packages come from the actual
package descriptions themselves. Further information can be found in
-the package documentation itself.
+the package documentation itself. You can also see more info with the
+command <tt>apt-cache show <var>package_name</var></tt>.
<sect id="dpkg-dev">
<p>
<package>debconf</package> provides a consistent interface to
configuring packages interactively. It is user interface
-intedependant, allowing end-users to configure packages with a
+independant, allowing end-users to configure packages with a
text-only interface, an HTML interface, or a dialog interface. New
interfaces can be added modularly.
<p>
+You can find documentation for this package in the
+<package>debconf-doc</package> package.
+ <p>
Many feel that this system should be used for all packages requiring
interactive configuration. <package>debconf</package> is not
currently required by Debian Policy, however, that may change in the
future.
+ <p>
<sect id="debhelper">
various files into your package, compress files, fix file permissions,
integrate your package with the Debian menu system.
<p>
-Unlike <package>debmake</package>, <package>debhelper</package> is
-broken into several small, granular commands which act in a consistent
-manner. As such, it allows a greater granularity of control than
-<package>debmake</package>.
+Unlike some approaches, <package>debhelper</package> is broken into
+several small, granular commands which act in a consistent manner. As
+such, it allows a greater granularity of control than some of the
+other "debian/rules tools".
+ <p>
+There are a number of little <package>debhelper</package> add-on
+packages, too transient to document. You can see the list of most of
+them by doing <tt>apt-cache search ^dh-</tt>.
<sect id="debmake">
favor of <package>debhelper</package>. However, it's not a bug to use
<package>debmake</package>.
+
<sect id="yada">
<heading><package>yada</package>
<p>
-<package>yada</package> is a new packaging helper tool with a slightly
-different philosophy. It uses a <file>debian/packages</file> file to
-auto-generate other necessary files in the <file>debian/</file>
-subdirectory.
+<package>yada</package> is another packaging helper tool. It uses a
+<file>debian/packages</file> file to auto-generate
+<file>debian/rules</file> and other necessary files in the
+<file>debian/</file> subdirectory.
<p>
-Note that <package>yada</package> is still quite new and possibly not
-yet as robust as other systems.
+Note that <package>yada</package> is called "essentially unmaintained"
+by it's own maintainer, Charles Briscoe-Smith. As such, it can be
+considered deprecated.
<sect id="equivs">
new upload locations or methods.
+ <sect id="dput">
+ <heading><package>dput</package>
+ <p>
+The <package>dput</package> package and script does much the same
+thing as <package>dupload</package>, but in a different way. It has
+some features over <package>dupload</package>, such as the ability to
+check the GnuPG signature and checksums before uploading, and the
+possibility of running <tt>dinstall</tt> in dry-run mode after the
+upload.
+
+
<sect id="fakeroot">
<heading><package>fakeroot</package>
<p>
<package>fakeroot</package> simulates root privileges. This enables
you to build packages without being root (packages usually want to
install files with root ownership). If you have
-<package>fakeroot</package> installed, you can say, i.e.,
-<tt>dpkg-buildpackage -rfakeroot</tt> as a user.
+<package>fakeroot</package> installed, you can build packages as a
+user: <tt>dpkg-buildpackage -rfakeroot</tt>.
+
+
+ <sect id="debootstrap">
+ <heading><package>debootstrap</package>
+ <p>
+The <package>debootstrap</package> package and script allows you to
+"bootstrap" a Debian base system into any part of your filesystem.
+By "base system", we mean the bare minimum of packages required to
+operate and install the rest of the system.
+ <p>
+Having a system like this can be useful in many ways. For instance,
+you can <prgn>chroot</prgn> into it if you want to test your build
+depends. Or, you can test how your package behaves when installed
+into a bare base system.
<sect id="devscripts">
<p>
<package>devscripts</package> is a package containing a few wrappers
and tools which you may find helpful for maintaining your Debian
-packages. Example scripts include <prgn>debchange</prgn>, which will
-manipulate your <file>debian/changelog</file> file from the
-command-line, and <prgn>debuild</prgn>, which is a wrapper around
-<prgn>dpkg-buildpackage</prgn>.
+packages. Example scripts include <prgn>debchange</prgn> and
+<prgn>dch</prgn>, which manipulate your <file>debian/changelog</file>
+file from the command-line, and <prgn>debuild</prgn>, which is a
+wrapper around <prgn>dpkg-buildpackage</prgn>.
+
+
+
+ <sect id="dpkg-dev-el">
+ <heading><package>dpkg-dev-el</package>
+ <p>
+<package>dpkg-dev-el</package> is an Emacs lisp package which provides
+assistance when editing some of the files in the <file>debian</file>
+directory of your package. For instance, when editing
+<file>debian/changelog</file>, there are handy functions for
+finalizing a version and listing the package's current bugs.
<sect id="debget">
<p>
<package>debget</package> is a package containing a convenient script
which can be helpful in downloading files from the Debian archive.
-You can use it to download source packages, for instance.
+You can use it to download source packages, for instance (although
+<tt>apt-get source <var>package</var></tt> does pretty much the same
+thing).
+
+<!-- FIXME: add the following
+ dpkg-awk
+ alien
+ dpkg-repack
+ grep-dctrl
+ pbuilder -->
</book>