%commondata; ]> Resources for Debian Developers In this chapter you will find a very brief road map of the Debian mailing lists, the Debian machines which may be available to you as a developer, and all the other resources that are available to help you in your maintainer work.
Mailing lists Much of the conversation between Debian developers (and users) is managed through a wide array of mailing lists we host at &lists-host;. To find out more on how to subscribe or unsubscribe, how to post and how not to post, where to find old posts and how to search them, how to contact the list maintainers and see various other information about the mailing lists, please read . This section will only cover aspects of mailing lists that are of particular interest to developers.
Basic rules for use When replying to messages on the mailing list, please do not send a carbon copy (CC) to the original poster unless they explicitly request to be copied. Anyone who posts to a mailing list should read it to see the responses. Cross-posting (sending the same message to multiple lists) is discouraged. As ever on the net, please trim down the quoting of articles you're replying to. In general, please adhere to the usual conventions for posting messages. Please read the code of conduct for more information. The Debian Community Guidelines are also worth reading.
Core development mailing lists The core Debian mailing lists that developers should use are: &email-debian-devel-announce;, used to announce important things to developers. All developers are expected to be subscribed to this list. &email-debian-devel;, used to discuss various development related technical issues. &email-debian-policy;, where the Debian Policy is discussed and voted on. &email-debian-project;, used to discuss various non-technical issues related to the project. There are other mailing lists available for a variety of special topics; see for a list.
Special lists &email-debian-private; is a special mailing list for private discussions amongst Debian developers. It is meant to be used for posts which for whatever reason should not be published publicly. 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 not 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 on &master-host; and looking in the &file-debian-private-archive; directory. &email-debian-email; is a special mailing list used as a grab-bag for Debian related correspondence such as contacting upstream authors about licenses, bugs, etc. or discussing the project with others where it might be useful to have the discussion archived somewhere.
Requesting new development-related lists Before requesting a mailing list that relates to the development of a package (or a small group of related packages), please consider if using an alias (via a .forward-aliasname file on master.debian.org, which translates into a reasonably nice you-aliasname@debian.org address) or a self-managed mailing list on Alioth is more appropriate. If you decide that a regular mailing list on &lists-host; is really what you want, go ahead and fill in a request, following the HOWTO.
IRC channels Several IRC channels are dedicated to Debian's development. They are mainly hosted on the Open and free technology community (OFTC) network. The irc.debian.org DNS entry is an alias to irc.oftc.net. The main channel for Debian in general is #debian. This is a large, general-purpose channel where users can find recent news in the topic and served by bots. #debian is for English speakers; there are also #debian.de, #debian-fr, #debian-br and other similarly named channels for speakers of other languages. The main channel for Debian development is #debian-devel. It is a very active channel; it will typically have a minimum of 150 people at any time of day. It's a channel for people who work on Debian, it's not a support channel (there's #debian for that). It is however open to anyone who wants to lurk (and learn). Its topic is commonly full of interesting information for developers. Since #debian-devel is an open channel, you should not speak there of issues that are discussed in &email-debian-private;. There's another channel for this purpose, it's called #debian-private and it's protected by a key. This key is available at master.debian.org:&file-debian-private-key;. There are other additional channels dedicated to specific subjects. #debian-bugs is used for coordinating bug squashing parties. #debian-boot is used to coordinate the work on the debian-installer. #debian-doc is occasionally used to talk about documentation, like the document you are reading. Other channels are dedicated to an architecture or a set of packages: #debian-kde, #debian-dpkg, #debian-jr, #debian-edu, #debian-oo (OpenOffice.org package)... Some non-English developers' channels exist as well, for example #debian-devel-fr for French speaking people interested in Debian's development. Channels dedicated to Debian also exist on other IRC networks, notably on the freenode IRC network, which was pointed at by the irc.debian.org alias until 4th June 2006. To get a cloak on freenode, you send Jörg Jaspert <joerg@debian.org> a signed mail where you tell what your nick is. Put cloak somewhere in the Subject: header. The nick should be registered: Nick Setup Page. The mail needs to be signed by a key in the Debian keyring. Please see Freenodes documentation for more information about cloaks.
Documentation This document contains a lot of information which is useful to Debian developers, but it cannot contain everything. Most of the other interesting documents are linked from The Developers' Corner. Take the time to browse all the links, you will learn many more things.
Debian machines Debian has several computers working as servers, most of which serve critical functions in the Debian project. Most of the machines are used for porting activities, and they all have a permanent connection to the Internet. Some of the machines are available for individual developers to use, as long as the developers follow the rules set forth in the Debian Machine Usage Policies. Generally speaking, you can use these machines for Debian-related purposes as you see fit. Please be kind to system administrators, and do not use up tons and tons of disk space, network bandwidth, or CPU without first getting the approval of the system administrators. Usually these machines are run by volunteers. Please take care to protect your Debian passwords and SSH keys installed on Debian machines. Avoid login or upload methods which send passwords over the Internet in the clear, such as Telnet, FTP, POP etc. Please do not put any material that doesn't relate to Debian on the Debian servers, unless you have prior permission. The current list of Debian machines is available at . That web page contains machine names, contact information, information about who can log in, SSH keys etc. If you have a problem with the operation of a Debian server, and you think that the system operators need to be notified of this problem, you can check the list of open issues in the DSA queue of our request tracker at (you can login with user "debian", its password is available at master.debian.org:&file-debian-rt-password;). To report a new problem, simply send a mail to &email-rt-dsa; and make sure to put the string "Debian RT" somewhere in the subject. If you have a problem with a certain service, not related to the system administration (such as packages to be removed from the archive, suggestions for the web site, etc.), generally you'll report a bug against a ``pseudo-package''. See for information on how to submit bugs. Some of the core servers are restricted, but the information from there is mirrored to another server.
The bugs server &bugs-host; is the canonical location for the Bug Tracking System (BTS). If you plan on doing some statistical analysis or processing of Debian bugs, this would be the place to do it. Please describe your plans on &email-debian-devel; before implementing anything, however, to reduce unnecessary duplication of effort or wasted processing time.
The ftp-master server The &ftp-master-host; server holds the canonical copy of the Debian archive. Generally, package uploaded to &ftp-upload-host; end up on this server, see . It is restricted; a mirror is available on &ftp-master-mirror;. Problems with the Debian FTP archive generally need to be reported as bugs against the &ftp-debian-org; pseudo-package or an email to &email-ftpmaster;, but also see the procedures in .
The www-master server The main web server is www-master.debian.org. It holds the official web pages, the face of Debian for most newbies. If you find a problem with the Debian web server, you should generally submit a bug against the pseudo-package, www.debian.org. Remember to check whether or not someone else has already reported the problem to the Bug Tracking System.
The people web server people.debian.org is the server used for developers' own web pages about anything related to Debian. If you have some Debian-specific information which you want to serve on the web, you can do this by putting material in the public_html directory under your home directory on people.debian.org. This will be accessible at the URL http://people.debian.org/~your-user-id/. You should only use this particular location because it will be backed up, whereas on other hosts it won't. Usually the only reason to use a different host is when you need to publish materials subject to the U.S. export restrictions, in which case you can use one of the other servers located outside the United States. Send mail to &email-debian-devel; if you have any questions.
The VCS servers If you need to use a Version Control System for any of your Debian work, you can use one of the existing repositories hosted on Alioth or you can request a new project and ask for the VCS repository of your choice. Alioth supports CVS (cvs.alioth.debian.org/cvs.debian.org), Subversion (svn.debian.org), Arch (tla/baz, both on arch.debian.org), Bazaar (bzr.debian.org), Darcs (darcs.debian.org), Mercurial (hg.debian.org) and Git (git.debian.org). Checkout if you plan to maintain packages in a VCS repository. See for information on the services provided by Alioth.
chroots to different distributions On some machines, there are chroots to different distributions available. You can use them like this: vore$ dchroot unstable Executing shell in chroot: /org/vore.debian.org/chroots/user/unstable In all chroots, the normal user home directories are available. You can find out which chroots are available via .
The Developers Database The Developers Database, at , is an LDAP directory for managing Debian developer attributes. You can use this resource to search the list of Debian developers. Part of this information is also available through the finger service on Debian servers, try finger yourlogin@db.debian.org to see what it reports. Developers can log into the database to change various information about themselves, such as: forwarding address for your debian.org email subscription to debian-private whether you are on vacation personal information such as your address, country, the latitude and longitude of the place where you live for use in the world map of Debian developers, phone and fax numbers, IRC nickname and web page password and preferred shell on Debian Project machines Most of the information is not accessible to the public, naturally. For more information please read the online documentation that you can find at . Developers can also submit their SSH keys to be used for authorization on the official Debian machines, and even add new *.debian.net DNS entries. Those features are documented at .
The Debian archive The &debian-formal; distribution consists of a lot of packages (currently around &number-of-pkgs; source packages) and a few additional files (such as documentation and installation disk images). Here is an example directory tree of a complete Debian archive: &sample-dist-dirtree; As you can see, the top-level directory contains two directories, dists/ and pool/. 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, stable, testing and unstable. The Packages and Sources files in the distribution subdirectories can reference files in the pool/ directory. The directory tree below each of the distributions is arranged in an identical manner. What we describe below for stable is equally applicable to the unstable and testing distributions. dists/stable contains three directories, namely main, contrib, and non-free. In each of the areas, there is a directory for the source packages (source) and a directory for each supported architecture (binary-i386, binary-amd64, etc.). The main area contains additional directories which hold the disk images and some essential pieces of documentation required for installing the Debian distribution on a specific architecture (disks-i386, disks-amd64, etc.).
Sections The main section of the Debian archive is what makes up the official &debian-formal; distribution. The main section is official because it fully complies with all our guidelines. The other two sections do not, to different degrees; as such, they are not officially part of &debian-formal;. Every package in the main section must fully comply with the Debian Free Software Guidelines (DFSG) and with all other policy requirements as described in the Debian Policy Manual. The DFSG is our definition of “free software.” Check out the Debian Policy Manual for details. Packages in the contrib section have to comply with the DFSG, but may fail other requirements. For instance, they may depend on non-free packages. Packages which do not conform to the DFSG are placed in the non-free section. These packages are not considered as part of the Debian distribution, though we enable their use, and we provide infrastructure (such as our bug-tracking system and mailing lists) for non-free software packages. The Debian Policy Manual contains a more exact definition of the three sections. The above discussion is just an introduction. The separation of the three sections at the top-level of the archive is important for all people who want to distribute Debian, either via FTP servers on the Internet or on CD-ROMs: by distributing only the main and contrib sections, one can avoid any legal risks. Some packages in the non-free section do not allow commercial distribution, for example. On the other hand, a CD-ROM vendor could easily check the individual package licenses of the packages in non-free and include as many on the CD-ROMs as it's allowed to. (Since this varies greatly from vendor to vendor, this job can't be done by the Debian developers.) Note that the term section is also used to refer to categories which simplify the organization and browsing of available packages, e.g. admin, net, utils etc. Once upon a time, these sections (subsections, rather) existed in the form of subdirectories within the Debian archive. Nowadays, these exist only in the Section header fields of packages.
Architectures In the first days, the Linux kernel was only available for Intel i386 (or greater) platforms, and so was Debian. But as Linux became more and more popular, the kernel was ported to other architectures and Debian started to support them. And as if supporting so much hardware was not enough, Debian decided to build some ports based on other Unix kernels, like hurd and kfreebsd. &debian-formal; 1.3 was only available as i386. Debian 2.0 shipped for i386 and m68k architectures. Debian 2.1 shipped for the i386, m68k, alpha, and sparc architectures. Since then Debian has grown hugely. Debian 6 supports a total of nine Linux architectures (amd64, armel, i386, ia64, mips, mipsel, powerpc, s390, sparc) and two kFreeBSD architectures (kfreebsd-i386 and kfreebsd-amd64). Information for developers and users about the specific ports are available at the Debian Ports web pages.
Packages There are two types of Debian packages, namely source and binary packages. Depending on the format of the source package, it will consist of one or more files in addition to the mandatory .dsc file: with format “1.0”, it has either a .tar.gz file or both an .orig.tar.gz and a .diff.gz file; with format “3.0 (quilt)”, it has a mandatory .orig.tar.{gz,bz2,xz} upstream tarball, multiple optional .orig-component.tar.{gz,bz2,xz} additional upstream tarballs and a mandatory debian.tar.{gz,bz2,xz} debian tarball; with format “3.0 (native)”, it has only a single .tar.{gz,bz2,xz} tarball. If a package is developed specially for Debian and is not distributed outside of Debian, there is just one .tar.{gz,bz2,xz} file which contains the sources of the program, it's called a “native” source package. If a package is distributed elsewhere too, the .orig.tar.{gz,bz2,xz} file stores the so-called upstream source code, that is the source code that's distributed by the upstream maintainer (often the author of the software). In this case, the .diff.gz or the debian.tar.{gz,bz2,xz} contains the changes made by the Debian maintainer. The .dsc file lists all the files in the source package together with checksums (md5sums) and some additional info about the package (maintainer, version, etc.).
Distributions The directory system described in the previous chapter is itself contained within distribution directories. Each distribution is actually contained in the pool directory in the top-level of the Debian archive itself. To summarize, the Debian archive has a root directory within an FTP server. For instance, at the mirror site, ftp.us.debian.org, the Debian archive itself is contained in /debian, which is a common location (another is /pub/debian). A distribution comprises Debian source and binary packages, and the respective Sources and Packages index files, containing the header information from all those packages. The former are kept in the pool/ directory, while the latter are kept in the dists/ directory of the archive (for backwards compatibility).
Stable, testing, and unstable There are always distributions called stable (residing in dists/stable), testing (residing in dists/testing), and unstable (residing in dists/unstable). This reflects the development process of the Debian project. Active development is done in the unstable distribution (that's why this distribution is sometimes called the development distribution). Every Debian developer can update his or her packages in this distribution at any time. Thus, the contents of this distribution change from day to day. Since no special effort is made to make sure everything in this distribution is working properly, it is sometimes literally unstable. The testing distribution is generated automatically by taking packages from unstable if they satisfy certain criteria. Those criteria should ensure a good quality for packages within testing. The update to testing is launched twice each day, right after the new packages have been installed. See . After a period of development, once the release manager deems fit, the testing distribution is frozen, meaning that the policies which control how packages move from unstable to testing are tightened. Packages which are too buggy are removed. No changes are allowed into testing except for bug fixes. After some time has elapsed, depending on progress, the testing distribution is frozen even further. Details of the handling of the testing distribution are published by the Release Team on debian-devel-announce. After the open issues are solved to the satisfaction of the Release Team, the distribution is released. Releasing means that testing is renamed to stable, and a new copy is created for the new testing, and the previous stable is renamed to oldstable and stays there until it is finally archived. On archiving, the contents are moved to &archive-host;. This development cycle is based on the assumption that the unstable distribution becomes stable after passing a period of being in testing. Even once a distribution is considered stable, a few bugs inevitably remain — that's why the stable distribution is updated every now and then. However, these updates are tested very carefully and have to be introduced into the archive individually to reduce the risk of introducing new bugs. You can find proposed additions to stable in the proposed-updates directory. Those packages in proposed-updates 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., ‘6.0’ becomes ‘6.0.1’, ‘5.0.7’ becomes ‘5.0.8’, and so forth). Please refer to uploads to the stable distribution for details. Note that development under unstable continues during the freeze period, since the unstable distribution remains in place in parallel with testing.
More information about the testing distribution Packages are usually installed into the testing distribution after they have undergone some degree of testing in unstable. For more details, please see the information about the testing distribution.
Experimental The experimental distribution is a special distribution. It is not a full distribution in the same sense as stable, testing and unstable are. Instead, it is meant to be a temporary staging area for highly experimental software where there's a good chance that the software could break your system, or software that's just too unstable even for the unstable distribution (but there is a reason to package it nevertheless). Users who download and install packages from experimental are expected to have been duly warned. In short, all bets are off for the experimental distribution. These are the sources.list 5 lines for experimental: deb http://ftp.xy.debian.org/debian/ experimental main deb-src http://ftp.xy.debian.org/debian/ experimental main If there is a chance that the software could do grave damage to a system, it is likely to be better to put it into experimental. For instance, an experimental compressed file system should probably go into experimental. Whenever there is a new upstream version of a package that introduces new features but breaks a lot of old ones, it should either not be uploaded, or be uploaded to experimental. A new, beta, version of some software which uses a completely different configuration can go into experimental, at the maintainer's discretion. If you are working on an incompatible or complex upgrade situation, you can also use experimental as a staging area, so that testers can get early access. Some experimental software can still go into unstable, with a few warnings in the description, but that isn't recommended because packages from unstable are expected to propagate to testing and thus to stable. You should not be afraid to use experimental since it does not cause any pain to the ftpmasters, the experimental packages are periodically removed once you upload the package in unstable with a higher version number. New software which isn't likely to damage your system can go directly into unstable. An alternative to experimental is to use your personal web space on people.debian.org.
Release code names Every released Debian distribution has a code name: Debian 1.1 is called buzz; Debian 1.2, rex; Debian 1.3, bo; Debian 2.0, hamm; Debian 2.1, slink; Debian 2.2, potato; Debian 3.0, woody; Debian 3.1, sarge; Debian 4.0, etch; Debian 5.0, lenny; Debian 6.0, squeeze and the next release will be called wheezy. There is also a ``pseudo-distribution'', called sid, which is the current unstable distribution; since packages are moved from unstable to testing as they approach stability, sid itself is never released. As well as the usual contents of a Debian distribution, sid contains packages for architectures which are not yet officially supported or released by Debian. These architectures are planned to be integrated into the mainstream distribution at some future date. Since Debian has an open development model (i.e., everyone can participate and follow the development) even the unstable and testing distributions are distributed to the Internet through the Debian FTP and HTTP server network. Thus, if we had called the directory which contains the release candidate version testing, then we would have to rename it to stable when the version is released, which would cause all FTP mirrors to re-retrieve the whole distribution (which is quite large). On the other hand, if we called the distribution directories Debian-x.y from the beginning, people would think that Debian release x.y is available. (This happened in the past, where a CD-ROM vendor built a Debian 1.0 CD-ROM based on a pre-1.0 development version. That's the reason why the first official Debian release was 1.1, and not 1.0.) Thus, the names of the distribution directories in the archive are determined by their code names and not their release status (e.g., `squeeze'). These names stay the same during the development period and after the release; symbolic links, which can be changed easily, indicate the currently released stable distribution. That's why the real distribution directories use the code names, while symbolic links for stable, testing, and unstable point to the appropriate release directories.
Debian mirrors The various download archives and the web site have several mirrors available in order to relieve our canonical servers from heavy load. In fact, some of the canonical servers aren't public — a first tier of mirrors balances the load instead. That way, users always access the mirrors and get used to using them, which allows Debian to better spread its bandwidth requirements over several servers and networks, and basically makes users avoid hammering on one primary location. Note that the first tier of mirrors is as up-to-date as it can be since they update when triggered from the internal sites (we call this push mirroring). All the information on Debian mirrors, including a list of the available public FTP/HTTP servers, can be found at . This useful page also includes information and tools which can be helpful if you are interested in setting up your own mirror, either for internal or public access. Note that mirrors are generally run by third-parties who are interested in helping Debian. As such, developers generally do not have accounts on these machines.
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-host;. 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 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 &email-debian-changes;. If a package is released with Distribution set to unstable or experimental, the announcement will be posted to &email-debian-devel-changes; instead. Though ftp-master is restricted, a copy of the installation is available to all developers on &ftp-master-mirror;.
Package information
On the web Each package has several dedicated web pages. http://&packages-host;/package-name displays each version of the package available in the various distributions. Each version links to a page which provides information, including the package description, the dependencies, and package download links. The bug tracking system tracks bugs for each package. You can view the bugs of a given package at the URL http://&bugs-host;/package-name.
The <command>dak ls</command> utility dak ls is part of the dak suite of tools, listing available package versions for all known distributions and architectures. The dak tool is available on &ftp-master-host;, and on the mirror on &ftp-master-mirror;. It uses a single argument corresponding to a package name. An example will explain it better: $ dak ls evince evince | 0.1.5-2sarge1 | oldstable | source, alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc evince | 0.4.0-5 | etch-m68k | source, m68k evince | 0.4.0-5 | stable | source, alpha, amd64, arm, hppa, i386, ia64, mips, mipsel, powerpc, s390, sparc evince | 2.20.2-1 | testing | source evince | 2.20.2-1+b1 | testing | alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, s390, sparc evince | 2.22.2-1 | unstable | source, alpha, amd64, arm, armel, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc In this example, you can see that the version in unstable differs from the version in testing and that there has been a binary-only NMU of the package for all architectures. Each version of the package has been recompiled on all architectures.
The Package Tracking System The Package Tracking System (PTS) is an email-based tool to track the activity of a source package. This really means that you can get the same emails that the package maintainer gets, simply by subscribing to the package in the PTS. Each email sent through the PTS is classified under one of the keywords listed below. This will let you select the mails that you want to receive. By default you will get: bts All the bug reports and following discussions. bts-control The email notifications from control@&bugs-host; about bug report status changes. upload-source The email notification from dak when an uploaded source package is accepted. katie-other Other warning and error emails from dak (such as an override disparity for the section and/or the priority field). buildd Build failures notifications sent by the network of build daemons, they contain a pointer to the build logs for analysis. default Any non-automatic email sent to the PTS by people who wanted to contact the subscribers of the package. This can be done by sending mail to sourcepackage@&pts-host;. In order to prevent spam, all messages sent to these addresses must contain the X-PTS-Approved header with a non-empty value. contact Mails sent to the maintainer through the *@packages.debian.org email aliases. summary Regular summary emails about the package's status, including progression into testing, DEHS notifications of new upstream versions, and a notification if the package is removed or orphaned. You can also decide to receive additional information: upload-binary The email notification from katie when an uploaded binary package is accepted. In other words, whenever a build daemon or a porter uploads your package for another architecture, you can get an email to track how your package gets recompiled for all architectures. cvs VCS commit notifications, if the package has a VCS repository and the maintainer has set up forwarding of commit notifications to the PTS. The "cvs" name is historic, in most cases commit notifications will come from some other VCS like subversion or git. ddtp Translations of descriptions or debconf templates submitted to the Debian Description Translation Project. derivatives Information about changes made to the package in derivative distributions (for example Ubuntu). derivatives-bugs Bugs reports and comments from derivative distributions (for example Ubuntu).
The PTS email interface You can control your subscription(s) to the PTS by sending various commands to pts@qa.debian.org. subscribe <sourcepackage> [<email>] Subscribes email to communications related to the source package sourcepackage. Sender address is used if the second argument is not present. If sourcepackage is not a valid source package, you'll get a warning. However if it's a valid binary package, the PTS will subscribe you to the corresponding source package. unsubscribe <sourcepackage> [<email>] Removes a previous subscription to the source package sourcepackage using the specified email address or the sender address if the second argument is left out. unsubscribeall [<email>] Removes all subscriptions of the specified email address or the sender address if the second argument is left out. which [<email>] Lists all subscriptions for the sender or the email address optionally specified. keyword [<email>] Tells you the keywords that you are accepting. For an explanation of keywords, see above. Here's a quick summary: bts: mails coming from the Debian Bug Tracking System bts-control: reply to mails sent to &email-bts-control; summary: automatic summary mails about the state of a package contact: mails sent to the maintainer through the *@packages.debian.org aliases cvs: notification of VCS commits ddtp: translations of descriptions and debconf templates derivatives: changes made on the package by derivative distributions derivatives-bugs: bugs reports and comments from derivative distributions upload-source: announce of a new source upload that has been accepted upload-binary: announce of a new binary-only upload (porting) katie-other: other mails from ftpmasters (override disparity, etc.) buildd: build failures notifications from build daemons default: all the other mails (those which aren't automatic) keyword <sourcepackage> [<email>] Same as the previous item but for the given source package, since you may select a different set of keywords for each source package. keyword [<email>] {+|-|=} <list of keywords> Accept (+) or refuse (-) mails classified under the given keyword(s). Define the list (=) of accepted keywords. This changes the default set of keywords accepted by a user. keywordall [<email>] {+|-|=} <list of keywords> Accept (+) or refuse (-) mails classified under the given keyword(s). Define the list (=) of accepted keywords. This changes the set of accepted keywords of all the currently active subscriptions of a user. keyword <sourcepackage> [<email>] {+|-|=} <list of keywords> Same as previous item but overrides the keywords list for the indicated source package. quit | thanks | -- Stops processing commands. All following lines are ignored by the bot. The pts-subscribe command-line utility (from the devscripts package) can be handy to temporarily subscribe to some packages, for example after having made an non-maintainer upload.
Filtering PTS mails Once you are subscribed to a package, you will get the mails sent to sourcepackage@&pts-host;. Those mails have special headers appended to let you filter them in a special mailbox (e.g. with procmail). The added headers are X-Loop, X-PTS-Package, X-PTS-Keyword and X-Unsubscribe. Here is an example of added headers for a source upload notification on the dpkg package: X-Loop: dpkg@&pts-host; X-PTS-Package: dpkg X-PTS-Keyword: upload-source List-Unsubscribe: <mailto:pts@qa.debian.org?body=unsubscribe+dpkg>
Forwarding VCS commits in the PTS If you use a publicly accessible VCS repository for maintaining your Debian package, you may want to forward the commit notification to the PTS so that the subscribers (and possible co-maintainers) can closely follow the package's evolution. Once you set up the VCS repository to generate commit notifications, you just have to make sure it sends a copy of those mails to sourcepackage_cvs@&pts-host;. Only the people who accept the cvs keyword will receive these notifications. Note that the mail needs to be sent from a debian.org machine, otherwise you'll have to add the X-PTS-Approved: 1 header. For Subversion repositories, the usage of svnmailer is recommended. See for an example on how to do it.
The PTS web interface The PTS has a web interface at that puts together a lot of information about each source package. It features many useful links (BTS, QA stats, contact information, DDTP translation status, buildd logs) and gathers much more information from various places (30 latest changelog entries, testing status, etc.). It's a very useful tool if you want to know what's going on with a specific source package. Furthermore there's a form that allows easy subscription to the PTS via email. You can jump directly to the web page concerning a specific source package with a URL like http://&pts-host;/sourcepackage. This web interface has been designed like a portal for the development of packages: you can add custom content on your packages' pages. You can add static information (news items that are meant to stay available indefinitely) and news items in the latest news section. Static news items can be used to indicate: the availability of a project hosted on Alioth for co-maintaining the package a link to the upstream web site a link to the upstream bug tracker the existence of an IRC channel dedicated to the software any other available resource that could be useful in the maintenance of the package Usual news items may be used to announce that: beta packages are available for testing final packages are expected for next week the packaging is about to be redone from scratch backports are available the maintainer is on vacation (if they wish to publish this information) a NMU is being worked on something important will affect the package Both kinds of news are generated in a similar manner: you just have to send an email either to pts-static-news@qa.debian.org or to pts-news@qa.debian.org. The mail should indicate which package is concerned by having the name of the source package in a X-PTS-Package mail header or in a Package pseudo-header (like the BTS reports). If a URL is available in the X-PTS-Url mail header or in the Url pseudo-header, then the result is a link to that URL instead of a complete news item. Here are a few examples of valid mails used to generate news items in the PTS. The first one adds a link to the viewsvn interface of debian-cd in the Static information section: From: Raphael Hertzog <hertzog@debian.org> To: pts-static-news@qa.debian.org Subject: Browse debian-cd SVN repository Package: debian-cd Url: http://svn.debian.org/viewsvn/debian-cd/trunk/ The second one is an announcement sent to a mailing list which is also sent to the PTS so that it is published on the PTS web page of the package. Note the use of the BCC field to avoid answers sent to the PTS by mistake. From: Raphael Hertzog <hertzog@debian.org> To: debian-gtk-gnome@&lists-host; Bcc: pts-news@qa.debian.org Subject: Galeon 2.0 backported for woody X-PTS-Package: galeon Hello gnomers! I'm glad to announce that galeon has been backported for woody. You'll find everything here: ... Think twice before adding a news item to the PTS because you won't be able to remove it later and you won't be able to edit it either. The only thing that you can do is send a second news item that will deprecate the information contained in the previous one.
Developer's packages overview A QA (quality assurance) web portal is available at which displays a table listing all the packages of a single developer (including those where the party is listed as a co-maintainer). The table gives a good summary about the developer's packages: number of bugs by severity, list of available versions in each distribution, testing status and much more including links to any other useful information. It is a good idea to look up your own data regularly so that you don't forget any open bugs, and so that you don't forget which packages are your responsibility.
Debian's FusionForge installation: Alioth Alioth is a Debian service based on a slightly modified version of the FusionForge software (which evolved from SourceForge and GForge). This software offers developers access to easy-to-use tools such as bug trackers, patch manager, project/task managers, file hosting services, mailing lists, VCS repositories etc. All these tools are managed via a web interface. It is intended to provide facilities to free software projects backed or led by Debian, facilitate contributions from external developers to projects started by Debian, and help projects whose goals are the promotion of Debian or its derivatives. It's heavily used by many Debian teams and provides hosting for all sorts of VCS repositories. All Debian developers automatically have an account on Alioth. They can activate it by using the recover password facility. External developers can request guest accounts on Alioth. For more information please visit the following links:
Goodies for Developers
LWN Subscriptions Since October of 2002, HP has sponsored a subscription to LWN for all interested Debian developers. Details on how to get access to this benefit are in .
Gandi.net Hosting Discount As of November 2008, Gandi.net offers a discount rate on their VPS hosting for Debian Developers. See .