chiark / gitweb /
first cut
[developers-reference.git] / developers-reference.sgml
index bc8d66b123b8da0c1f7f8adc698e05c36336a10d..0c81cda08672f02d58f72b812b6c94b6b894b1b4 100644 (file)
@@ -78,7 +78,7 @@ Manual">.
       <sect>Getting started
        <p>
 So, you've read all the documentation, you understand what everything
-in the <prgn/hello/ example package is for, and you're about to
+in the <package/hello/ 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?
@@ -178,7 +178,7 @@ tampering.  You can do it by executing `<tt>pgp -ks
 If your PGP key isn't on public PGP key servers such as
 <tt>pgp.net</tt>, please read the documentation available locally
 <tt>/usr/doc/pgp/keyserv.doc</tt>.  That document contains
-instructions on how to put your key on the public keyservers.
+instructions on how to put your key on the public key servers.
        <p>
 Due to export restrictions by the United States government some Debian
 packages, including PGP, have been moved to an ftp site outside of the
@@ -189,7 +189,7 @@ United States. You can find the current locations of those packages on
 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
-products for authenication, rather than encryption purposes (as is
+products for authentication, rather than encryption purposes (as is
 the case in France).  The Debian Project does not require the use of
 cryptography <em/qua/ cryptography in any manner.  If you live in a
 country where use of cryptography even for authentication is forbidden
@@ -205,7 +205,7 @@ also contain your PGP or RSA public key (extracted using <tt>pgp
 underway) for the database of keys which is distributed from
 <ftpsite/ftp.debian.org/ in
 <ftppath>/pub/debian/doc/debian-keyring.tar.gz</ftppath>, or the
-<prgn>debian-keyring</prgn> package).  Please be sure to sign your
+<package/debian-keyring/ package).  Please be sure to sign your
 request message with your chosen PGP or RSA key.
        <p>
 Once this information is received and processed, you should be
@@ -241,7 +241,7 @@ unsubscribe to the mailing lists can be found at <url
 id="http://www.debian.org/MailingLists/subscribe">, <url
 id="ftp://ftp.debian.org/debian/doc/mailing-lists.txt"> or locally in
 <tt>/usr/doc/debian/mailing-lists.txt</tt> if you have the
-<prgn>doc-debian</prgn> package installed.
+<package>doc-debian</package> package installed.
        <p>
 When replying to messages on the mailing list, please do not send
 a carbon copy (<tt/CC/--this does not mean `courtesy copy') to
@@ -310,9 +310,9 @@ main/binary-i386/
 main/binary-i386/admin/
 main/binary-i386/base/
      ...
-main/binary-m86k
-main/binary-m86k/admin/
-main/binary-m86k/base/
+main/binary-m68k
+main/binary-m68k/admin/
+main/binary-m68k/base/
      ...
 main/source/
 main/source/admin/
@@ -325,14 +325,14 @@ main/disks-m68k/
 contrib/
 contrib/binary-all/
 contrib/binary-i386/
-contrib/binary-m86k/
+contrib/binary-m68k/
      ...
 contrib/source/
 
 non-free/
 non-free/binary-all/
 non-free/binary-i386/
-non-free/binary-m86k/
+non-free/binary-m68k/
          ...
 non-free/source/
 </example>
@@ -343,7 +343,7 @@ three directories, namely <em>main</>, <em>contrib</>, and
        <p>
 In each section, there is a directory with the source packages
 (source), a directory for each supported architecture (binary-i386,
-binary-m86k, etc.), and a directory for architecture independent
+binary-m68k, etc.), and a directory for architecture independent
 packages (binary-all).
        <p>
 The <em/main/ section contains additional directories which holds the
@@ -522,7 +522,7 @@ in the description.  However, if there is a chance that the software
 could do grave damage to a system, it might be better to put it into
 <em/experimental/.
          <p>
-For instance, an experimental encrypted filesystem should probably go
+For instance, an experimental encrypted file system should probably go
 into experimental.  A new, beta, version of some software which uses
 completely different configuration might go into experimental at the
 maintainer's discretion.  New software which isn't likely to damage
@@ -664,7 +664,6 @@ to <tt/frozen unstable/.  Note that setting the distribution to
 testing, before it is actually included in <em/stable/.  Also note
 that it never makes sense to combine the <em/experimental/
 distribution with anything else.
-
          <p>
 The first time a version is uploaded which corresponds to a particular
 upstream version the original source tar file should be uploaded and
@@ -693,25 +692,29 @@ Before you upload your package, you should do basic testing on it.
 Make sure you try the following activities (you'll need to have an
 older version of the Debian package around).
 <list>
-              <item> install the package and make sure the software
-              works, or upgrade the package from an older version to
-              your new version if a Debian package for it already
-              exists
-
-             <item> downgrade the package to the previous version
-              (if one exists) -- this tests the <tt/postrm/ and
-              <tt/prerm/ scripts
-
-             <item> remove the package
-
-             <item> run <prgn/lintian/ over the package.  You can run
-             <prgn/lintian/ as follows: <tt>lintian -v
-             <var>package-NN</var>.changes</tt>. This will check the
-             source package as well as the binary package.  If you
-             don't understand the output that <prgn/lintian/
-             generates, try adding the <tt/-i/ switch, which will
-             cause <prgn/lintian/ to output a very verbose
-             description of the problem.
+              <item>
+Install the package and make sure the software works, or upgrade the
+package from an older version to your new version if a Debian package
+for it already exists.
+
+             <item>
+Run <prgn/lintian/ over the package.  You can run <prgn/lintian/ as
+follows: <tt>lintian -v <var>package-NN</var>.changes</tt>. This will
+check the source package as well as the binary package.  If you don't
+understand the output that <prgn/lintian/ generates, try adding the
+<tt/-i/ switch, which will cause <prgn/lintian/ to output a very
+verbose description of the problem.
+               <p>
+Normally, a package should <em/not/ be uploaded if it causes lintian
+to emit errors (they will start with <tt/E/).
+               <p>
+For more information on <prgn/lintian/, see <ref id="lintian">.
+             <item>
+Downgrade the package to the previous version (if one exists) -- this
+tests the <tt/postrm/ and <tt/prerm/ scripts.
+
+             <item>
+Remove the package, then reinstall it.
 
            </list>
 
@@ -735,7 +738,7 @@ of such software should go to <tt/non-us/ (see below).  If you are
 not sure whether U.S. export controls apply to your package, post a
 message to <email/debian-devel@lists.debian.org/ and ask.
          <p>
-You may also find the Debian package <prgn/dupload/ useful when
+You may also find the Debian package <package/dupload/ useful when
 uploading packages.  This handy program is distributed with defaults
 for uploading via <prgn/ftp/ to <tt/master/, <tt/chiark/, and
 <tt/erlangen/.  It can also be configured to use <prgn/ssh/.  See
@@ -787,7 +790,7 @@ To upload a package to the <em/non-us/ server you just have to
 transfer the files via anonymous ftp to <url
 id="ftp://non-us.debian.org/pub/debian-non-US/Incoming">.  Note, that
 the <tt>.changes</tt> file must have a valid PGP signature from one of
-the keys of the developers keyring.
+the keys of the developers key-ring.
 
 
       <sect>Announcing package uploads
@@ -808,7 +811,7 @@ If a package is released with <tt/Distribution:/ set to <tt/unstable/,
 should be posted to <email/debian-devel-changes@lists.debian.org/
 instead.
        <p>
-On occassion, it is necessary to upload a package to both the <tt/stable/
+On occasion, it is necessary to upload a package to both the <tt/stable/
 and <tt/unstable/ distributions; this is done by putting both distributions
 in the <tt/Distribution:/ line.  In such a case the upload announcement
 should go to both of the above mailing lists.
@@ -884,7 +887,7 @@ the fixed bugs explaining that they have been fixed.  Using
 set the severity of the bugs fixed in the NMU to "fixed".  This
 ensures that everyone knows that the bug was fixed in an NMU; however
 the bug is left open until the changes in the NMU are incorporated
-"officially" into the package by the offical package maintainer.
+"officially" into the package by the official package maintainer.
        <p>
 The normal maintainer should do at least one of the following:
          <list compact>
@@ -947,15 +950,15 @@ name="Debian Packaging Manual"> for
 details).  Carefully examine the installation log sent to you when the
 package is installed into the archive.  If for some reason the old
 location of the package remains, file a bug against
-<prgn/ftp.debian.org/ asking that the old location be removed.  Give
+<tt/ftp.debian.org/ asking that the old location be removed.  Give
 details on what you did, since it might be a <prgn/dinstall/ bug.
 
 
       <sect>Removing packages
        <p>
 If for some reason you want to completely remove a package (say, if it
-is an old compatability library which is not longer required), you
-need to file a bug against <prgn/ftp.debian.org/ asking that the
+is an old compatibility library which is not longer required), you
+need to file a bug against <tt/ftp.debian.org/ asking that the
 package be removed.  Make sure you indicate which distribution the
 package should be removed from.
        <p>
@@ -972,7 +975,7 @@ obsolete name of the package (see the <url
 id="http://www.debian.org/doc/packaging-manuals/packaging.html/"
 name="Debian Packaging Manual"> for details).  Once you've uploaded
 that package, and the package has moved into the archive, file a bug
-against <prgn/ftp.debian.org/ asking to remove the package with the
+against <tt/ftp.debian.org/ asking to remove the package with the
 obsolete name.
 
 
@@ -999,7 +1002,7 @@ your packages.
 Maintainers interact with the BTS via email addresses at
 <tt/bugs.debian.org/.  Documentation on available commands can be
 found at <url id="http://www.debian.org/Bugs/">, or, if you have
-installed the <prgn/debian-doc/ package, you can look at the local
+installed the <package/debian-doc/ package, you can look at the local
 files <tt>/usr/doc/debian/bug-*</tt>.
        <p>
 Often as a package maintainer, you find bugs in other packages or else
@@ -1030,13 +1033,13 @@ number.
 
       <sect id="lintian-reports">Lintian reports
        <p>
-You should periodically get the new <prgn/lintian/ from `unstable' and
+You should periodically get the new <package/lintian/ from `unstable' and
 check over all your packages.  Alternatively you can check for your
 maintainer email address at the <url
 id="http://www.debian.org/lintian/" name="online lintian report">.
 That report, which is updated automatically, contains <prgn/lintian/
 reports against the latest version of the distribution (usually from
-'unstable') using the latest <prgn/lintian/.
+'unstable') using the latest <package/lintian/.
 
 
       <sect>Reporting lots of bugs at once
@@ -1054,70 +1057,69 @@ send the bug report to <email/maintonly@bugs.debian.org/ so that the
 bug report is not forwarded to the bug distribution mailing list.
 
 
-    <chapt id="tools">Whirlwind Tour of Debian Maintainer Tools
+    <chapt 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.  
       <p>
 Some people prefer to use high-level package maintenance tools and
-some do not.  Debian is officially agnostic on this issue, other than
-making the attempt to accomodate the reasonable wishes of developers.
-Therefore, this section is not meant to stipulate to anyone which
-tools they should use or how they should go about with their duties of
-maintainership.  Nor is it meant to endorse any particular tool to the
-exclusion of a competing tool.
+some do not.  Debian is officially agnostic on this issue; any tool
+which gets the job done is fine.  Therefore, this section is not meant
+to stipulate to anyone which tools they should use or how they should
+go about with their duties of maintainership.  Nor is it meant to
+endorse any particular tool to the exclusion of a competing tool.
       <p>
 Most of the descriptions of these packages come from the actual
 package descriptions themselves.
 
       <sect id="dpkg-dev">
-       <heading><prgn>dpkg-dev</prgn>
+       <heading><package/dpkg-dev/
        <p>
-<prgn>dpkg-dev</prgn> contains the tools (including
+<package/dpkg-dev/ contains the tools (including
 <prgn/dpkg-source/) required to unpack, build and upload Debian source
 packages.  These utilities contain the fundamental, low-level
 functionality required to create and manipulated packages; as such,
 they are required for any Debian maintainer.
 
       <sect id="lintian">
-       <heading><prgn>lintian</prgn>
+       <heading><package/lintian/
        <p>
-<prgn>Lintian</prgn> dissects Debian packages and reports bugs and
+<package/Lintian/ dissects Debian packages and reports bugs and
 policy violations. It contains automated checks for many aspects of
 Debian policy as well as some checks for common errors.  The use of
-<prgn>lintian</prgn> has already been discussed in <ref
+<package/lintian/ has already been discussed in <ref
 id="upload-checking"> and <ref id="lintian-reports">.
 
       <sect id="debhelper">
-       <heading><prgn>debhelper</prgn>
+       <heading><package/debhelper/
        <p>
-<prgn>debhelper</prgn> is a collection of programs that can be used in
+<package/debhelper/ is a collection of programs that can be used in
 <tt>debian/rules</tt> to automate common tasks related to building
 binary Debian packages. Programs are included to install various files
 into your package, compress files, fix file permissions, integrate
 your package with the Debian menu system.
        <p>
-Unlike <prgn>debmake</prgn>, <prgn>debhelper</prgn> is broken into
+Unlike <package/debmake/, <package/debhelper/ is broken into
 several small, granular commands which act in a consistent manner.  As
 such, it allows a greater granularity of control than
-<prgn>debmake</prgn>.
+<package/debmake/.
 
       <sect id="debmake">
-       <heading><prgn>debmake</prgn>
+       <heading><package/debmake/
        <p>
-<prgn>debmake</prgn>, a pre-cursor to <prgn>debhelper</prgn>, is a
+<package/debmake/, a pre-cursor to <package/debhelper/, is a
 less granular <tt>debian/rules</tt> assistant. It includes two main
 programs: <prgn>deb-make</prgn>, which can be used to help a
 maintainer convert a regular (non-Debian) source archive into a Debian
 source package; and <prgn>debstd</prgn>, which incorporates in one big
 shot the same sort of automated functions that one finds in
-<prgn>debhelper</prgn>.
+<package/debhelper/.
 
       <sect id="cvs-buildpackage">
-       <heading><prgn>cvs-buildpackage</prgn>
+       <heading><package/cvs-buildpackage/
        <p>
-<prgn>cvs-buildpackage</prgn> provides the capability to inject or
+<package/cvs-buildpackage/ provides the capability to inject or
 import Debian source packages into a CVS repository, build a Debian
 package from the CVS repository, and helps in integrating upstream
 changes into the repository.
@@ -1129,9 +1131,9 @@ of a package for <em/stable/, <em/unstable/, and possibly
 version control system.
 
       <sect id="dupload">
-       <heading><prgn>dupload</prgn>
+       <heading><package/dupload/
        <p>
-<prgn>dupload</prgn> is a package and a script to automagically upload
+<package/dupload/ is a package and a script to automagically upload
 Debian packages to the Debian archive, to log the upload, and to send
 mail about the upload of a package.  You can configure it for new
 upload locations or methods.