chiark / gitweb /
* Recommend the use of DSA's request tracker instead of mailing them.
[developers-reference.git] / resources.dbk
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3     "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4   <!ENTITY % commondata SYSTEM "common.ent" > %commondata;
5 ]>
6 <chapter id="resources">
7 <title>Resources for Debian Developers</title>
8 <para>
9 In this chapter you will find a very brief road map of the Debian mailing
10 lists, the Debian machines which may be available to you as a developer, and
11 all the other resources that are available to help you in your maintainer work.
12 </para>
13 <section id="mailing-lists">
14 <title>Mailing lists</title>
15 <para>
16 Much of the conversation between Debian developers (and users) is managed
17 through a wide array of mailing lists we host at <literal><ulink
18 url="http://&lists-host;/">&lists-host;</ulink></literal>.
19 To find out more on how to subscribe or unsubscribe, how to post and how not to
20 post, where to find old posts and how to search them, how to contact the list
21 maintainers and see various other information about the mailing lists, please
22 read <ulink url="&url-debian-lists;"></ulink>.  This section
23 will only cover aspects of mailing lists that are of particular interest to
24 developers.
25 </para>
26 <section id="mailing-lists-rules">
27 <title>Basic rules for use</title>
28 <para>
29 When replying to messages on the mailing list, please do not send a carbon copy
30 (<literal>CC</literal>) to the original poster unless they explicitly request
31 to be copied.  Anyone who posts to a mailing list should read it to see the
32 responses.
33 </para>
34 <para>
35 Cross-posting (sending the same message to multiple lists) is discouraged.  As
36 ever on the net, please trim down the quoting of articles you're replying to.
37 In general, please adhere to the usual conventions for posting messages.
38 </para>
39 <para>
40 Please read the <ulink
41 url="&url-debian-lists;#codeofconduct">code of conduct</ulink>
42 for more information. The <ulink url="&url-dcg;">Debian Community
43 Guidelines</ulink> are also worth reading.
44 </para>
45 </section>
46
47 <section id="core-devel-mailing-lists">
48 <title>Core development mailing lists</title>
49 <para>
50 The core Debian mailing lists that developers should use are:
51 </para>
52 <itemizedlist>
53 <listitem>
54 <para>
55 &email-debian-devel-announce;, used to announce important
56 things to developers.  All developers are expected to be subscribed to this
57 list.
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 &email-debian-devel;, used to discuss various development
63 related technical issues.
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 &email-debian-policy;, where the Debian Policy is discussed
69 and voted on.
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 &email-debian-project;, used to discuss various non-technical
75 issues related to the project.
76 </para>
77 </listitem>
78 </itemizedlist>
79 <para>
80 There are other mailing lists available for a variety of special topics; see
81 <ulink url="http://&lists-host;/"></ulink> for a list.
82 </para>
83 </section>
84
85 <section id="mailing-lists-special">
86 <title>Special lists</title>
87 <para>
88 &email-debian-private; is a special mailing list for private
89 discussions amongst Debian developers.  It is meant to be used for posts which
90 for whatever reason should not be published publicly.  As such, it is a low
91 volume list, and users are urged not to use
92 &email-debian-private; unless it is really necessary.
93 Moreover, do <emphasis>not</emphasis> forward email from that list to anyone.
94 Archives of this list are not available on the web for obvious reasons, but you
95 can see them using your shell account on <literal>&lists-host;</literal>
96 and looking in the <filename>&file-debian-private-archive;</filename>
97 directory.
98 </para>
99 <para>
100 &email-debian-email; is a special mailing list used as a
101 grab-bag for Debian related correspondence such as contacting upstream authors
102 about licenses, bugs, etc.  or discussing the project with others where it
103 might be useful to have the discussion archived somewhere.
104 </para>
105 </section>
106
107 <section id="mailing-lists-new">
108 <title>Requesting new development-related lists</title>
109 <para>
110 Before requesting a mailing list that relates to the development of a package
111 (or a small group of related packages), please consider if using an alias (via
112 a .forward-aliasname file on master.debian.org, which translates into a
113 reasonably nice <replaceable>you-aliasname@debian.org</replaceable> address) or
114 a self-managed mailing list on <link linkend="alioth">Alioth</link> is
115 more appropriate.
116 </para>
117 <para>
118 If you decide that a regular mailing list on &lists-host; is really what
119 you want, go ahead and fill in a request, following <ulink
120 url="&url-debian-lists-new;">the HOWTO</ulink>.
121 </para>
122 </section>
123
124 </section>
125
126 <section id="irc-channels">
127 <title>IRC channels</title>
128 <para>
129 Several IRC channels are dedicated to Debian's development.  They are mainly
130 hosted on the <ulink url="&url-oftc;">Open and free technology
131 community (OFTC)</ulink> network.  The <literal>irc.debian.org</literal> DNS
132 entry is an alias to <literal>irc.oftc.net</literal>.
133 </para>
134 <para>
135 The main channel for Debian in general is <emphasis>#debian</emphasis>.  This
136 is a large, general-purpose channel where users can find recent news in the
137 topic and served by bots.  <emphasis>#debian</emphasis> is for English
138 speakers; there are also <emphasis>#debian.de</emphasis>,
139 <emphasis>#debian-fr</emphasis>, <emphasis>#debian-br</emphasis> and other
140 similarly named channels for speakers of other languages.
141 </para>
142 <para>
143 The main channel for Debian development is <emphasis>#debian-devel</emphasis>.
144 It is a very active channel since usually over 150 people are always logged in.
145 It's a channel for people who work on Debian, it's not a support channel
146 (there's <emphasis>#debian</emphasis> for that).  It is however open to anyone
147 who wants to lurk (and learn).  Its topic is commonly full of interesting
148 information for developers.
149 </para>
150 <para>
151 Since <emphasis>#debian-devel</emphasis> is an open channel, you should not
152 speak there of issues that are discussed in
153 &email-debian-private;.  There's another channel for this
154 purpose, it's called <emphasis>#debian-private</emphasis> and it's protected by
155 a key.  This key is available in the archives of debian-private in
156 <filename>master.debian.org:&file-debian-private-archive;</filename>,
157 just <command>zgrep</command> for <emphasis>#debian-private</emphasis> in all
158 the files.
159 </para>
160 <para>
161 There are other additional channels dedicated to specific subjects.
162 <emphasis>#debian-bugs</emphasis> is used for coordinating bug squashing
163 parties.  <emphasis>#debian-boot</emphasis> is used to coordinate the work on
164 the debian-installer.  <emphasis>#debian-doc</emphasis> is occasionally used to
165 talk about documentation, like the document you are reading.  Other channels
166 are dedicated to an architecture or a set of packages:
167 <emphasis>#debian-kde</emphasis>, <emphasis>#debian-dpkg</emphasis>,
168 <emphasis>#debian-jr</emphasis>, <emphasis>#debian-edu</emphasis>,
169 <emphasis>#debian-oo</emphasis> (OpenOffice package) ...
170 </para>
171 <para>
172 Some non-English developers' channels exist as well, for example
173 <emphasis>#debian-devel-fr</emphasis> for French speaking people interested in
174 Debian's development.
175 </para>
176 <para>
177 Channels dedicated to Debian also exist on other IRC networks, notably on the
178 <ulink url="&url-openprojects;">freenode</ulink> IRC network,
179 which was pointed at by the <literal>irc.debian.org</literal> alias until 4th
180 June 2006.
181 </para>
182 <para>
183 To get a cloak on freenode, you send Jörg Jaspert &lt;joerg@debian.org&gt; a
184 signed mail where you tell what your nick is.  Put cloak somewhere in the
185 Subject: header.  The nick should be registered: <ulink
186 url="http://freenode.net/faq.shtml#nicksetup">Nick Setup Page</ulink>.  The
187 mail needs to be signed by a key in the Debian keyring.  Please see <ulink
188 url="http://freenode.net/faq.shtml#projectcloak">Freenodes
189 documentation</ulink> for more information about cloaks.
190 </para>
191 </section>
192
193 <section id="doc-rsrcs">
194 <title>Documentation</title>
195 <para>
196 This document contains a lot of information which is useful to Debian
197 developers, but it cannot contain everything.  Most of the other interesting
198 documents are linked from <ulink url="&url-devel-docs;">The
199 Developers' Corner</ulink>.  Take the time to browse all the links, you will
200 learn many more things.
201 </para>
202 </section>
203
204 <section id="server-machines">
205 <title>Debian machines</title>
206 <para>
207 Debian has several computers working as servers, most of which serve critical
208 functions in the Debian project.  Most of the machines are used for porting
209 activities, and they all have a permanent connection to the Internet.
210 </para>
211 <para>
212 Some of the machines are available for individual developers to use, as long as
213 the developers follow the rules set forth in the <ulink
214 url="&url-dmup;">Debian Machine Usage Policies</ulink>.
215 </para>
216 <para>
217 Generally speaking, you can use these machines for Debian-related purposes as
218 you see fit.  Please be kind to system administrators, and do not use up tons
219 and tons of disk space, network bandwidth, or CPU without first getting the
220 approval of the system administrators.  Usually these machines are run by
221 volunteers.
222 </para>
223 <para>
224 Please take care to protect your Debian passwords and SSH keys installed on
225 Debian machines.  Avoid login or upload methods which send passwords over the
226 Internet in the clear, such as telnet, FTP, POP etc.
227 </para>
228 <para>
229 Please do not put any material that doesn't relate to Debian on the Debian
230 servers, unless you have prior permission.
231 </para>
232 <para>
233 The current list of Debian machines is available at <ulink
234 url="&url-devel-machines;"></ulink>.  That web page contains
235 machine names, contact information, information about who can log in, SSH keys
236 etc.
237 </para>
238 <para>
239 If you have a problem with the operation of a Debian server, and you think that
240 the system operators need to be notified of this problem, you can check
241 the list of open issues in the DSA queue of our request tracker at <ulink
242 url="&url-rt;" /> (you can login with user "guest" and password "readonly").
243 To report a new problem, simply send a mail to &email-rt-dsa; and make
244 sure to put the string "Debian RT" somewhere in the subject.
245 </para>
246 <para>
247 If you have a problem with a certain service, not related to the system
248 administration (such as packages to be removed from the archive, suggestions
249 for the web site, etc.), generally you'll report a bug against a
250 ``pseudo-package''.  See <xref linkend="submit-bug"/> for information on how to
251 submit bugs.
252 </para>
253 <para>
254 Some of the core servers are restricted, but the information from there is
255 mirrored to another server.
256 </para>
257 <section id="servers-bugs">
258 <title>The bugs server</title>
259 <para>
260 <literal>&bugs-host;</literal> is the canonical location for
261 the Bug Tracking System (BTS).
262 </para>
263 <para>
264 It is restricted; a mirror is available on <literal>merkel</literal>.
265 </para>
266 <para>
267 If you plan on doing some statistical analysis or processing of Debian bugs,
268 this would be the place to do it.  Please describe your plans on
269 &email-debian-devel; before implementing anything, however, to
270 reduce unnecessary duplication of effort or wasted processing time.
271 </para>
272 </section>
273
274 <section id="servers-ftp-master">
275 <title>The ftp-master server</title>
276 <para>
277 The <literal>&ftp-master-host;</literal> server holds the canonical copy of
278 the Debian archive (excluding the non-US packages).  Generally, package uploads
279 go to this server; see <xref linkend="upload"/> .
280 </para>
281 <para>
282 It is restricted; a mirror is available on <literal>merkel</literal>.
283 </para>
284 <para>
285 Problems with the Debian FTP archive generally need to be reported as bugs
286 against the <systemitem role="package">&ftp-debian-org;</systemitem>
287 pseudo-package or an email to &email-ftpmaster;, but also see
288 the procedures in <xref linkend="archive-manip"/> .
289 </para>
290 </section>
291
292 <section id="servers-non-us">
293 <title>The non-US server</title>
294 <para>
295 The non-US server <literal>&non-us-host;</literal> was discontinued with
296 the release of sarge.  The pseudo-package <systemitem
297 role="package">nonus.debian.org</systemitem> still exists for now.
298 </para>
299 </section>
300
301 <section id="servers-www">
302 <title>The www-master server</title>
303 <para>
304 The main web server is <literal>www-master.debian.org</literal>.  It holds the
305 official web pages, the face of Debian for most newbies.
306 </para>
307 <para>
308 If you find a problem with the Debian web server, you should generally submit a
309 bug against the pseudo-package, <systemitem
310 role="package">www.debian.org</systemitem>.  Remember to check whether or not
311 someone else has already reported the problem to the <ulink
312 url="http://&bugs-host;/&www-debian-org;">Bug Tracking System</ulink>.
313 </para>
314 </section>
315
316 <section id="servers-people">
317 <title>The people web server</title>
318 <para>
319 <literal>people.debian.org</literal> is the server used for developers' own web
320 pages about anything related to Debian.
321 </para>
322 <para>
323 If you have some Debian-specific information which you want to serve on the
324 web, you can do this by putting material in the
325 <filename>public_html</filename> directory under your home directory on
326 <literal>people.debian.org</literal>.  This will be accessible at the URL
327 <literal>http://people.debian.org/~<replaceable>your-user-id</replaceable>/</literal>.
328 </para>
329 <para>
330 You should only use this particular location because it will be backed up,
331 whereas on other hosts it won't.
332 </para>
333 <para>
334 Usually the only reason to use a different host is when you need to publish
335 materials subject to the U.S.  export restrictions, in which case you can use
336 one of the other servers located outside the United States.
337 </para>
338 <para>
339 Send mail to &email-debian-devel; if you have any questions.
340 </para>
341 </section>
342
343 <section id="servers-cvs">
344 <title>The CVS server</title>
345 <!-- TODO: document svn.debian.org, arch.debian.org also -->
346 <para>
347 Our CVS server is located on <literal>cvs.debian.org</literal>.
348 </para>
349 <para>
350 If you need to use a publicly accessible CVS server, for instance, to help
351 coordinate work on a package between many different developers, you can request
352 a CVS area on the server.
353 </para>
354 <para>
355 Generally, <literal>cvs.debian.org</literal> offers a combination of local CVS
356 access, anonymous client-server read-only access, and full client-server access
357 through <command>ssh</command>.  Also, the CVS area can be accessed read-only
358 via the Web at <ulink url="&url-cvsweb;"></ulink>.
359 </para>
360 <para>
361 To request a CVS area, send a request via email to
362 &email-debian-admin;.  Include the name of the requested CVS
363 area, the Debian account that should own the CVS root area, and why you need
364 it.
365 </para>
366 </section>
367
368 <section id="dchroot">
369 <title>chroots to different distributions</title>
370 <para>
371 On some machines, there are chroots to different distributions available.  You
372 can use them like this:
373 </para>
374 <screen>
375 vore$ dchroot unstable
376 Executing shell in chroot: /org/vore.debian.org/chroots/user/unstable
377 </screen>
378 <para>
379 In all chroots, the normal user home directories are available.  You can find
380 out which chroots are available via
381 <literal>&url-devel-machines;</literal>.
382 </para>
383 </section>
384
385 </section>
386
387 <section id="devel-db">
388 <title>The Developers Database</title>
389 <para>
390 The Developers Database, at <ulink
391 url="&url-debian-db;"></ulink>, is an LDAP directory for
392 managing Debian developer attributes.  You can use this resource to search the
393 list of Debian developers.  Part of this information is also available through
394 the finger service on Debian servers, try <command>finger
395 yourlogin@db.debian.org</command> to see what it reports.
396 </para>
397 <para>
398 Developers can <ulink url="&url-debian-db-login;">log into the
399 database</ulink> to change various information about themselves, such as:
400 </para>
401 <itemizedlist>
402 <listitem>
403 <para>
404 forwarding address for your debian.org email
405 </para>
406 </listitem>
407 <listitem>
408 <para>
409 subscription to debian-private
410 </para>
411 </listitem>
412 <listitem>
413 <para>
414 whether you are on vacation
415 </para>
416 </listitem>
417 <listitem>
418 <para>
419 personal information such as your address, country, the latitude and longitude
420 of the place where you live for use in <ulink
421 url="&url-worldmap;">the world map of Debian
422 developers</ulink>, phone and fax numbers, IRC nickname and web page
423 </para>
424 </listitem>
425 <listitem>
426 <para>
427 password and preferred shell on Debian Project machines
428 </para>
429 </listitem>
430 </itemizedlist>
431 <para>
432 Most of the information is not accessible to the public, naturally.  For more
433 information please read the online documentation that you can find at <ulink
434 url="&url-debian-db-doc;"></ulink>.
435 </para>
436 <para>
437 Developers can also submit their SSH keys to be used for authorization on the
438 official Debian machines, and even add new *.debian.net DNS entries.  Those
439 features are documented at <ulink
440 url="&url-debian-db-mail-gw;"></ulink>.
441 </para>
442 </section>
443
444 <section id="archive">
445 <title>The Debian archive</title>
446 <para>
447 The &debian-formal; distribution consists of a lot of packages
448 (<filename>.deb</filename>'s, currently around
449 &number-of-pkgs;) and a few additional files (such as
450 documentation and installation disk images).
451 </para>
452 <para>
453 Here is an example directory tree of a complete Debian archive:
454 </para>
455 &sample-dist-dirtree;
456 <para>
457 As you can see, the top-level directory contains two directories,
458 <filename>dists/</filename> and <filename>pool/</filename>.  The latter is a
459 “pool” in which the packages actually are, and which is handled by the
460 archive maintenance database and the accompanying programs.  The former
461 contains the distributions, <emphasis>stable</emphasis>,
462 <emphasis>testing</emphasis> and <emphasis>unstable</emphasis>.  The
463 <filename>Packages</filename> and <filename>Sources</filename> files in the
464 distribution subdirectories can reference files in the
465 <filename>pool/</filename> directory.  The directory tree below each of the
466 distributions is arranged in an identical manner.  What we describe below for
467 <emphasis>stable</emphasis> is equally applicable to the
468 <emphasis>unstable</emphasis> and <emphasis>testing</emphasis> distributions.
469 </para>
470 <para>
471 <filename>dists/stable</filename> contains three directories, namely
472 <filename>main</filename>, <filename>contrib</filename>, and
473 <filename>non-free</filename>.
474 </para>
475 <para>
476 In each of the areas, there is a directory for the source packages
477 (<filename>source</filename>) and a directory for each supported architecture
478 (<filename>binary-i386</filename>, <filename>binary-m68k</filename>, etc.).
479 </para>
480 <para>
481 The <filename>main</filename> area contains additional directories which hold
482 the disk images and some essential pieces of documentation required for
483 installing the Debian distribution on a specific architecture
484 (<filename>disks-i386</filename>, <filename>disks-m68k</filename>, etc.).
485 </para>
486 <section id="archive-sections">
487 <title>Sections</title>
488 <para>
489 The <emphasis>main</emphasis> section of the Debian archive is what makes up
490 the <emphasis role="strong">official &debian-formal; distribution</emphasis>.
491 The <emphasis>main</emphasis> section is official because it fully complies
492 with all our guidelines.  The other two sections do not, to different degrees;
493 as such, they are <emphasis role="strong">not</emphasis> officially part of
494 &debian-formal;.
495 </para>
496 <para>
497 Every package in the main section must fully comply with the <ulink
498 url="&url-dfsg;">Debian Free Software
499 Guidelines</ulink> (DFSG) and with all other policy requirements as described
500 in the <ulink url="&url-debian-policy;">Debian Policy
501 Manual</ulink>.  The DFSG is our definition of “free software.” Check out
502 the Debian Policy Manual for details.
503 </para>
504 <para>
505 Packages in the <emphasis>contrib</emphasis> section have to comply with the
506 DFSG, but may fail other requirements.  For instance, they may depend on
507 non-free packages.
508 </para>
509 <para>
510 Packages which do not conform to the DFSG are placed in the
511 <emphasis>non-free</emphasis> section.  These packages are not considered as
512 part of the Debian distribution, though we support their use, and we provide
513 infrastructure (such as our bug-tracking system and mailing lists) for non-free
514 software packages.
515 </para>
516 <para>
517 The <ulink url="&url-debian-policy;">Debian Policy
518 Manual</ulink> contains a more exact definition of the three sections.  The
519 above discussion is just an introduction.
520 </para>
521 <para>
522 The separation of the three sections at the top-level of the archive is
523 important for all people who want to distribute Debian, either via FTP servers
524 on the Internet or on CD-ROMs: by distributing only the
525 <emphasis>main</emphasis> and <emphasis>contrib</emphasis> sections, one can
526 avoid any legal risks.  Some packages in the <emphasis>non-free</emphasis>
527 section do not allow commercial distribution, for example.
528 </para>
529 <para>
530 On the other hand, a CD-ROM vendor could easily check the individual package
531 licenses of the packages in <emphasis>non-free</emphasis> and include as many
532 on the CD-ROMs as it's allowed to.  (Since this varies greatly from vendor to
533 vendor, this job can't be done by the Debian developers.)
534 </para>
535 <para>
536 Note that the term section is also used to refer to categories which simplify
537 the organization and browsing of available packages, e.g.
538 <emphasis>admin</emphasis>, <emphasis>net</emphasis>,
539 <emphasis>utils</emphasis> etc.  Once upon a time, these sections (subsections,
540 rather) existed in the form of subdirectories within the Debian archive.
541 Nowadays, these exist only in the Section header fields of packages.
542 </para>
543 </section>
544
545 <section id="s4.6.2">
546 <title>Architectures</title>
547 <para>
548 In the first days, the Linux kernel was only available for Intel i386 (or
549 greater) platforms, and so was Debian.  But as Linux became more and more
550 popular, the kernel was ported to other architectures, too.
551 </para>
552 <para>
553 The Linux 2.0 kernel supports Intel x86, DEC Alpha, SPARC, Motorola 680x0 (like
554 Atari, Amiga and Macintoshes), MIPS, and PowerPC.  The Linux 2.2 kernel
555 supports even more architectures, including ARM and UltraSPARC.  Since Linux
556 supports these platforms, Debian decided that it should, too.  Therefore,
557 Debian has ports underway; in fact, we also have ports underway to non-Linux
558 kernels.  Aside from <emphasis>i386</emphasis> (our name for Intel x86), there
559 is <emphasis>m68k</emphasis>, <emphasis>alpha</emphasis>,
560 <emphasis>powerpc</emphasis>, <emphasis>sparc</emphasis>,
561 <emphasis>hurd-i386</emphasis>, <emphasis>arm</emphasis>,
562 <emphasis>ia64</emphasis>, <emphasis>hppa</emphasis>,
563 <emphasis>s390</emphasis>, <emphasis>mips</emphasis>,
564 <emphasis>mipsel</emphasis> and <emphasis>sh</emphasis> as of this writing.
565 </para>
566 <para>
567 &debian-formal; 1.3 is only available as <emphasis>i386</emphasis>.  Debian
568 2.0 shipped for <emphasis>i386</emphasis> and <emphasis>m68k</emphasis>
569 architectures.  Debian 2.1 ships for the <emphasis>i386</emphasis>,
570 <emphasis>m68k</emphasis>, <emphasis>alpha</emphasis>, and
571 <emphasis>sparc</emphasis> architectures.  Debian 2.2 added support for the
572 <emphasis>powerpc</emphasis> and <emphasis>arm</emphasis> architectures.
573 Debian 3.0 added support of five new architectures: <emphasis>ia64</emphasis>,
574 <emphasis>hppa</emphasis>, <emphasis>s390</emphasis>, <emphasis>mips</emphasis>
575 and <emphasis>mipsel</emphasis>.
576 </para>
577 <para>
578 Information for developers and users about the specific ports are available at
579 the <ulink url="&url-debian-ports;">Debian Ports web pages</ulink>.
580 </para>
581 </section>
582
583 <section id="s4.6.3">
584 <title>Packages</title>
585 <para>
586 There are two types of Debian packages, namely <emphasis>source</emphasis> and
587 <emphasis>binary</emphasis> packages.
588 </para>
589 <para>
590 Source packages consist of either two or three files: a
591 <filename>.dsc</filename> file, and either a <filename>.tar.gz</filename> file
592 or both an <filename>.orig.tar.gz</filename> and a
593 <filename>.diff.gz</filename> file.
594 </para>
595 <para>
596 If a package is developed specially for Debian and is not distributed outside
597 of Debian, there is just one <filename>.tar.gz</filename> file which contains
598 the sources of the program.  If a package is distributed elsewhere too, the
599 <filename>.orig.tar.gz</filename> file stores the so-called <emphasis>upstream
600 source code</emphasis>, that is the source code that's distributed by the
601 <emphasis>upstream maintainer</emphasis> (often the author of the software).
602 In this case, the <filename>.diff.gz</filename> contains the changes made by
603 the Debian maintainer.
604 </para>
605 <para>
606 The <filename>.dsc</filename> file lists all the files in the source package
607 together with checksums (<command>md5sums</command>) and some additional info
608 about the package (maintainer, version, etc.).
609 </para>
610 </section>
611
612 <section id="s4.6.4">
613 <title>Distributions</title>
614 <para>
615 The directory system described in the previous chapter is itself contained
616 within <emphasis>distribution directories</emphasis>.  Each distribution is
617 actually contained in the <filename>pool</filename> directory in the top-level
618 of the Debian archive itself.
619 </para>
620 <para>
621 To summarize, the Debian archive has a root directory within an FTP server.
622 For instance, at the mirror site, <literal>ftp.us.debian.org</literal>, the
623 Debian archive itself is contained in <ulink
624 url="ftp://ftp.us.debian.org/debian">/debian</ulink>, which is a common
625 location (another is <filename>/pub/debian</filename>).
626 </para>
627 <para>
628 A distribution comprises Debian source and binary packages, and the respective
629 <filename>Sources</filename> and <filename>Packages</filename> index files,
630 containing the header information from all those packages.  The former are kept
631 in the <filename>pool/</filename> directory, while the latter are kept in the
632 <filename>dists/</filename> directory of the archive (for backwards
633 compatibility).
634 </para>
635 <section id="sec-dists">
636 <title>Stable, testing, and unstable</title>
637 <para>
638 There are always distributions called <emphasis>stable</emphasis> (residing in
639 <filename>dists/stable</filename>), <emphasis>testing</emphasis> (residing in
640 <filename>dists/testing</filename>), and <emphasis>unstable</emphasis>
641 (residing in <filename>dists/unstable</filename>).  This reflects the
642 development process of the Debian project.
643 </para>
644 <para>
645 Active development is done in the <emphasis>unstable</emphasis> distribution
646 (that's why this distribution is sometimes called the <emphasis>development
647 distribution</emphasis>).  Every Debian developer can update his or her
648 packages in this distribution at any time.  Thus, the contents of this
649 distribution change from day to day.  Since no special effort is made to make
650 sure everything in this distribution is working properly, it is sometimes
651 literally unstable.
652 </para>
653 <para>
654 The <link linkend="testing">testing</link> distribution is generated
655 automatically by taking packages from unstable if they satisfy certain
656 criteria.  Those criteria should ensure a good quality for packages within
657 testing.  The update to testing is launched each day after the new packages
658 have been installed.  See <xref linkend="testing"/> .
659 </para>
660 <para>
661 After a period of development, once the release manager deems fit, the
662 <emphasis>testing</emphasis> distribution is frozen, meaning that the policies
663 which control how packages move from <emphasis>unstable</emphasis> to
664 <emphasis>testing</emphasis> are tightened.  Packages which are too buggy are
665 removed.  No changes are allowed into <emphasis>testing</emphasis> except for
666 bug fixes.  After some time has elapsed, depending on progress, the
667 <emphasis>testing</emphasis> distribution is frozen even further.  Details of
668 the handling of the testing distribution are published by the Release Team on
669 debian-devel-announce.  After the open issues are solved to the satisfaction of
670 the Release Team, the distribution is released.  Releasing means that
671 <emphasis>testing</emphasis> is renamed to <emphasis>stable</emphasis>, and a
672 new copy is created for the new <emphasis>testing</emphasis>, and the previous
673 <emphasis>stable</emphasis> is renamed to <emphasis>oldstable</emphasis> and
674 stays there until it is finally archived.  On archiving, the contents are moved
675 to <literal>&archive-host;</literal>).
676 </para>
677 <para>
678 This development cycle is based on the assumption that the
679 <emphasis>unstable</emphasis> distribution becomes <emphasis>stable</emphasis>
680 after passing a period of being in <emphasis>testing</emphasis>.  Even once a
681 distribution is considered stable, a few bugs inevitably remain — that's why
682 the stable distribution is updated every now and then.  However, these updates
683 are tested very carefully and have to be introduced into the archive
684 individually to reduce the risk of introducing new bugs.  You can find proposed
685 additions to <emphasis>stable</emphasis> in the
686 <filename>proposed-updates</filename> directory.  Those packages in
687 <filename>proposed-updates</filename> that pass muster are periodically moved
688 as a batch into the stable distribution and the revision level of the stable
689 distribution is incremented (e.g., ‘3.0’ becomes ‘3.0r1’, ‘2.2r4’
690 becomes ‘2.2r5’, and so forth).  Please refer to
691 <link linkend="upload-stable">uploads to the <emphasis>stable</emphasis>
692 distribution</link> for details.
693 </para>
694 <para>
695 Note that development under <emphasis>unstable</emphasis> continues during the
696 freeze period, since the <emphasis>unstable</emphasis> distribution remains in
697 place in parallel with <emphasis>testing</emphasis>.
698 </para>
699 </section>
700
701 <section id="s4.6.4.2">
702 <title>More information about the testing distribution</title>
703 <para>
704 Packages are usually installed into the `testing' distribution after they have
705 undergone some degree of testing in unstable.
706 </para>
707 <para>
708 For more details, please see the <link linkend="testing">information about
709 the testing distribution</link>.
710 </para>
711 </section>
712
713 <section id="experimental">
714 <title>Experimental</title>
715 <para>
716 The <emphasis>experimental</emphasis> distribution is a special distribution.
717 It is not a full distribution in the same sense as `stable' and `unstable' are.
718 Instead, it is meant to be a temporary staging area for highly experimental
719 software where there's a good chance that the software could break your system,
720 or software that's just too unstable even for the <emphasis>unstable</emphasis>
721 distribution (but there is a reason to package it nevertheless).  Users who
722 download and install packages from <emphasis>experimental</emphasis> are
723 expected to have been duly warned.  In short, all bets are off for the
724 <emphasis>experimental</emphasis> distribution.
725 </para>
726 <para>
727 These are the <citerefentry> <refentrytitle>sources.list</refentrytitle>
728 <manvolnum>5</manvolnum> </citerefentry> lines for
729 <emphasis>experimental</emphasis>:
730 </para>
731 <programlisting>
732 deb http://ftp.<replaceable>xy</replaceable>.debian.org/debian/ experimental main
733 deb-src http://ftp.<replaceable>xy</replaceable>.debian.org/debian/ experimental main
734 </programlisting>
735 <para>
736 If there is a chance that the software could do grave damage to a system, it is
737 likely to be better to put it into <emphasis>experimental</emphasis>.  For
738 instance, an experimental compressed file system should probably go into
739 <emphasis>experimental</emphasis>.
740 </para>
741 <para>
742 Whenever there is a new upstream version of a package that introduces new
743 features but breaks a lot of old ones, it should either not be uploaded, or be
744 uploaded to <emphasis>experimental</emphasis>.  A new, beta, version of some
745 software which uses a completely different configuration can go into
746 <emphasis>experimental</emphasis>, at the maintainer's discretion.  If you are
747 working on an incompatible or complex upgrade situation, you can also use
748 <emphasis>experimental</emphasis> as a staging area, so that testers can get
749 early access.
750 </para>
751 <para>
752 Some experimental software can still go into <emphasis>unstable</emphasis>,
753 with a few warnings in the description, but that isn't recommended because
754 packages from <emphasis>unstable</emphasis> are expected to propagate to
755 <emphasis>testing</emphasis> and thus to <emphasis>stable</emphasis>.  You
756 should not be afraid to use <emphasis>experimental</emphasis> since it does not
757 cause any pain to the ftpmasters, the experimental packages are automatically
758 removed once you upload the package in <emphasis>unstable</emphasis> with a
759 higher version number.
760 </para>
761 <para>
762 New software which isn't likely to damage your system can go directly into
763 <emphasis>unstable</emphasis>.
764 </para>
765 <para>
766 An alternative to <emphasis>experimental</emphasis> is to use your personal web
767 space on <literal>people.debian.org</literal>.
768 </para>
769 <para>
770 When uploading to unstable a package which had bugs fixed in experimental,
771 please consider using the option <literal>-v</literal> to
772 <command>dpkg-buildpackage</command> to finally get them closed.
773 </para>
774 </section>
775
776 </section>
777
778 <section id="codenames">
779 <title>Release code names</title>
780 <para>
781 Every released Debian distribution has a <emphasis>code name</emphasis>: Debian
782 1.1 is called `buzz'; Debian 1.2, `rex'; Debian 1.3, `bo'; Debian 2.0, `hamm';
783 Debian 2.1, `slink'; Debian 2.2, `potato'; Debian 3.0, `woody'; Debian 3.1,
784 sarge; Debian 4.0, etch.  There is also a ``pseudo-distribution'', called
785 `sid', which is the current `unstable' distribution; since packages are moved
786 from `unstable' to `testing' as they approach stability, `sid' itself is never
787 released.  As well as the usual contents of a Debian distribution, `sid'
788 contains packages for architectures which are not yet officially supported or
789 released by Debian.  These architectures are planned to be integrated into the
790 mainstream distribution at some future date.
791 </para>
792 <para>
793 Since Debian has an open development model (i.e., everyone can participate and
794 follow the development) even the `unstable' and `testing' distributions are
795 distributed to the Internet through the Debian FTP and HTTP server network.
796 Thus, if we had called the directory which contains the release candidate
797 version `testing', then we would have to rename it to `stable' when the version
798 is released, which would cause all FTP mirrors to re-retrieve the whole
799 distribution (which is quite large).
800 </para>
801 <para>
802 On the other hand, if we called the distribution directories
803 <emphasis>Debian-x.y</emphasis> from the beginning, people would think that
804 Debian release <emphasis>x.y</emphasis> is available.  (This happened in the
805 past, where a CD-ROM vendor built a Debian 1.0 CD-ROM based on a pre-1.0
806 development version.  That's the reason why the first official Debian release
807 was 1.1, and not 1.0.)
808 </para>
809 <para>
810 Thus, the names of the distribution directories in the archive are determined
811 by their code names and not their release status (e.g., `slink').  These names
812 stay the same during the development period and after the release; symbolic
813 links, which can be changed easily, indicate the currently released stable
814 distribution.  That's why the real distribution directories use the
815 <emphasis>code names</emphasis>, while symbolic links for
816 <emphasis>stable</emphasis>, <emphasis>testing</emphasis>, and
817 <emphasis>unstable</emphasis> point to the appropriate release directories.
818 </para>
819 </section>
820
821 </section>
822
823 <section id="mirrors">
824 <title>Debian mirrors</title>
825 <para>
826 The various download archives and the web site have several mirrors available
827 in order to relieve our canonical servers from heavy load.  In fact, some of
828 the canonical servers aren't public — a first tier of mirrors balances the
829 load instead.  That way, users always access the mirrors and get used to using
830 them, which allows Debian to better spread its bandwidth requirements over
831 several servers and networks, and basically makes users avoid hammering on one
832 primary location.  Note that the first tier of mirrors is as up-to-date as it
833 can be since they update when triggered from the internal sites (we call this
834 push mirroring).
835 </para>
836 <para>
837 All the information on Debian mirrors, including a list of the available public
838 FTP/HTTP servers, can be found at <ulink
839 url="&url-debian-mirrors;"></ulink>.  This useful page also
840 includes information and tools which can be helpful if you are interested in
841 setting up your own mirror, either for internal or public access.
842 </para>
843 <para>
844 Note that mirrors are generally run by third-parties who are interested in
845 helping Debian.  As such, developers generally do not have accounts on these
846 machines.
847 </para>
848 </section>
849
850 <section id="incoming-system">
851 <title>The Incoming system</title>
852 <para>
853 The Incoming system is responsible for collecting updated packages and
854 installing them in the Debian archive.  It consists of a set of directories and
855 scripts that are installed on <literal>&ftp-master-host;</literal>.
856 </para>
857 <para>
858 Packages are uploaded by all the maintainers into a directory called
859 <filename>UploadQueue</filename>.  This directory is scanned every few minutes
860 by a daemon called <command>queued</command>,
861 <filename>*.command</filename>-files are executed, and remaining and correctly
862 signed <filename>*.changes</filename>-files are moved together with their
863 corresponding files to the <filename>unchecked</filename> directory.  This
864 directory is not visible for most Developers, as ftp-master is restricted; it
865 is scanned every 15 minutes by the <command>katie</command> script, which
866 verifies the integrity of the uploaded packages and their cryptographic
867 signatures.  If the package is considered ready to be installed, it is moved
868 into the <filename>accepted</filename> directory.  If this is the first upload
869 of the package (or it has new binary packages), it is moved to the
870 <filename>new</filename> directory, where it waits for approval by the
871 ftpmasters.  If the package contains files to be installed by hand it is moved
872 to the <filename>byhand</filename> directory, where it waits for manual
873 installation by the ftpmasters.  Otherwise, if any error has been detected, the
874 package is refused and is moved to the <filename>reject</filename> directory.
875 </para>
876 <para>
877 Once the package is accepted, the system sends a confirmation mail to the
878 maintainer and closes all the bugs marked as fixed by the upload, and the
879 auto-builders may start recompiling it.  The package is now publicly accessible
880 at <ulink url="&url-incoming;"></ulink> until it is really
881 installed in the Debian archive.  This happens only once a day (and is also
882 called the `dinstall run' for historical reasons); the package is then removed
883 from incoming and installed in the pool along with all the other packages.
884 Once all the other updates (generating new <filename>Packages</filename> and
885 <filename>Sources</filename> index files for example) have been made, a special
886 script is called to ask all the primary mirrors to update themselves.
887 </para>
888 <para>
889 The archive maintenance software will also send the OpenPGP/GnuPG signed
890 <filename>.changes</filename> file that you uploaded to the appropriate mailing
891 lists.  If a package is released with the <literal>Distribution:</literal> set
892 to `stable', the announcement is sent to
893 &email-debian-changes;.  If a package is released with
894 <literal>Distribution:</literal> set to `unstable' or `experimental', the
895 announcement will be posted to &email-debian-devel-changes;
896 instead.
897 </para>
898 <para>
899 Though ftp-master is restricted, a copy of the installation is available to all
900 developers on <literal>&ftp-master-mirror;</literal>.
901 </para>
902 <!-- FIXME: delete it or keep it for historical purposes?
903 <para>
904 All Debian developers have write access to the <filename>unchecked</filename>
905 directory in order to upload their packages; they also have that access
906 to the <filename>reject</filename> directory in order to remove their bad uploads
907 or to move some files back to the <filename>unchecked</filename> directory. But
908 all the other directories are only writable by the ftpmasters, which is
909 why you cannot remove an upload once it has been accepted.
910 </para>
911
912 <section id="delayed-incoming-broken">
913 <title>Delayed incoming</title>
914 <para>
915 <emphasis>Note:</emphasis> This description here is currently not working, because
916 ftp-master is restricted. Please see <xref linkend="delayed-incoming"/> for
917 the currently working way.
918 </para>
919 <para>
920 The <filename>unchecked</filename> directory has a special <filename>DELAYED</filename>
921 subdirectory. It is itself subdivided in nine directories
922 called <filename>1-day</filename> to <filename>9-day</filename>. Packages which are uploaded to
923 one of those directories will be moved to the real unchecked
924 directory after the corresponding number of days.
925 This is done by a script which is run each day and which moves the
926 packages between the directories. Those which are in "1-day" are
927 installed in <filename>unchecked</filename> while the others are moved to the 
928 adjacent directory (for example, a package in <filename>5-day</filename> will
929 be moved to <filename>4-day</filename>). This feature is particularly useful
930 for people who are doing non-maintainer uploads. Instead of
931 waiting before uploading a NMU, it is uploaded as soon as it is
932 ready, but to one of those <filename>DELAYED/<varname>x</varname>-day</filename> directories.
933 That leaves the corresponding number of days for the maintainer
934 to react and upload another fix themselves if they are not
935 completely satisfied with the NMU. Alternatively they can remove
936 the NMU.
937 </para>
938 <para>
939 The use of that delayed feature can be simplified with a bit
940 of integration with your upload tool.  For instance, if you use 
941 <command>dupload</command> (see <xref linkend="dupload"/>), you can add this
942 snippet to your configuration file:
943 <programlisting>
944 $delay = ($ENV{DELAY} || 7);
945 $cfg{'delayed'} = {
946          fqdn => "&ftp-master-host;",
947          login => "yourdebianlogin",
948          incoming => "/org/&ftp-debian-org;/incoming/DELAYED/$delay-day/",
949          dinstall_runs => 1,
950          method => "scpb"
951 };
952 </programlisting>
953 Once you've made that change, <command>dupload</command> can be used to
954 easily upload a package in one of the delayed directories:
955 <literal>DELAY=5 dupload -X-to delayed &lt;changes-file&gt;</literal>
956 </para>
957 </section>
958 -->
959 </section>
960
961 <section id="pkg-info">
962 <title>Package information</title>
963 <section id="pkg-info-web">
964 <title>On the web</title>
965 <para>
966 Each package has several dedicated web pages.
967 <literal>http://&packages-host;/<replaceable>package-name</replaceable></literal>
968 displays each version of the package available in the various distributions.
969 Each version links to a page which provides information, including the package
970 description, the dependencies, and package download links.
971 </para>
972 <para>
973 The bug tracking system tracks bugs for each package.  You can view the bugs of
974 a given package at the URL
975 <literal>http://&bugs-host;/<replaceable>package-name</replaceable></literal>.
976 </para>
977 </section>
978
979 <section id="madison">
980 <title>The <command>madison</command> utility</title>
981 <para>
982 <command>madison</command> is a command-line utility that is available on
983 <literal>&ftp-master-host;</literal>, and on the mirror on
984 <literal>&ftp-master-mirror;</literal>.  It uses a single argument corresponding
985 to a package name.  In result it displays which version of the package is
986 available for each architecture and distribution combination.  An example will
987 explain it better.
988 </para>
989 <screen>
990 $ madison libdbd-mysql-perl
991 libdbd-mysql-perl |   1.2202-4 |        stable | source, alpha, arm, i386, m68k, powerpc, sparc
992 libdbd-mysql-perl |   1.2216-2 |       testing | source, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
993 libdbd-mysql-perl | 1.2216-2.0.1 |       testing | alpha
994 libdbd-mysql-perl |   1.2219-1 |      unstable | source, alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
995 </screen>
996 <para>
997 In this example, you can see that the version in <emphasis>unstable</emphasis>
998 differs from the version in <emphasis>testing</emphasis> and that there has
999 been a binary-only NMU of the package for the alpha architecture.  Each version
1000 of the package has been recompiled on most of the architectures.
1001 </para>
1002 </section>
1003
1004 </section>
1005
1006 <section id="pkg-tracking-system">
1007 <title>The Package Tracking System</title>
1008 <para>
1009 The Package Tracking System (PTS) is an email-based tool to track the activity
1010 of a source package.  This really means that you can get the same emails that
1011 the package maintainer gets, simply by subscribing to the package in the PTS.
1012 </para>
1013 <para>
1014 Each email sent through the PTS is classified under one of the keywords listed
1015 below.  This will let you select the mails that you want to receive.
1016 </para>
1017 <para>
1018 By default you will get:
1019 </para>
1020 <variablelist>
1021 <varlistentry>
1022 <term><literal>bts</literal></term>
1023 <listitem>
1024 <para>
1025 All the bug reports and following discussions.
1026 </para>
1027 </listitem>
1028 </varlistentry>
1029 <varlistentry>
1030 <term><literal>bts-control</literal></term>
1031 <listitem>
1032 <para>
1033 The email notifications from <email>control@&bugs-host;</email> about bug
1034 report status changes.
1035 </para>
1036 </listitem>
1037 </varlistentry>
1038 <varlistentry>
1039 <term><literal>upload-source</literal></term>
1040 <listitem>
1041 <para>
1042 The email notification from <command>katie</command> when an uploaded source
1043 package is accepted.
1044 </para>
1045 </listitem>
1046 </varlistentry>
1047 <varlistentry>
1048 <term><literal>katie-other</literal></term>
1049 <listitem>
1050 <para>
1051 Other warning and error emails from <command>katie</command> (such as an
1052 override disparity for the section and/or the priority field).
1053 </para>
1054 </listitem>
1055 </varlistentry>
1056 <varlistentry>
1057 <term><literal>default</literal></term>
1058 <listitem>
1059 <para>
1060 Any non-automatic email sent to the PTS by people who wanted to contact the
1061 subscribers of the package.  This can be done by sending mail to
1062 <literal><replaceable>sourcepackage</replaceable>@&pts-host;</literal>.
1063 In order to prevent spam, all messages sent to these addresses must contain the
1064 <literal>X-PTS-Approved</literal> header with a non-empty value.
1065 </para>
1066 </listitem>
1067 </varlistentry>
1068 <varlistentry>
1069 <term><literal>summary</literal></term>
1070 <listitem>
1071 <para>
1072 Regular summary emails about the package's status.  Currently, only progression
1073 in <emphasis>testing</emphasis> is sent.
1074 </para>
1075 </listitem>
1076 </varlistentry>
1077 </variablelist>
1078 <para>
1079 You can also decide to receive additional information:
1080 </para>
1081 <variablelist>
1082 <varlistentry>
1083 <term><literal>upload-binary</literal></term>
1084 <listitem>
1085 <para>
1086 The email notification from <command>katie</command> when an uploaded binary
1087 package is accepted.  In other words, whenever a build daemon or a porter
1088 uploads your package for another architecture, you can get an email to track
1089 how your package gets recompiled for all architectures.
1090 </para>
1091 </listitem>
1092 </varlistentry>
1093 <varlistentry>
1094 <term><literal>cvs</literal></term>
1095 <listitem>
1096 <para>
1097 CVS commit notifications, if the package has a CVS repository and the
1098 maintainer has set up forwarding commit notifications to the PTS.
1099 </para>
1100 </listitem>
1101 </varlistentry>
1102 <varlistentry>
1103 <term><literal>ddtp</literal></term>
1104 <listitem>
1105 <para>
1106 Translations of descriptions or debconf templates submitted to the Debian
1107 Description Translation Project.
1108 </para>
1109 </listitem>
1110 </varlistentry>
1111 <varlistentry>
1112 <term><literal>derivatives</literal></term>
1113 <listitem>
1114 <para>
1115 Information about changes made to the package in derivative distributions (for
1116 example Ubuntu).
1117 </para>
1118 </listitem>
1119 </varlistentry>
1120 </variablelist>
1121 <section id="pts-commands">
1122 <title>The PTS email interface</title>
1123 <para>
1124 You can control your subscription(s) to the PTS by sending various commands to
1125 <email>pts@qa.debian.org</email>.
1126 </para>
1127 <variablelist>
1128 <varlistentry>
1129 <term><literal>subscribe &lt;sourcepackage&gt; [&lt;email&gt;]</literal></term>
1130 <listitem>
1131 <para>
1132 Subscribes <replaceable>email</replaceable> to communications related to the
1133 source package <replaceable>sourcepackage</replaceable>.  Sender address is
1134 used if the second argument is not present.  If
1135 <replaceable>sourcepackage</replaceable> is not a valid source package, you'll
1136 get a warning.  However if it's a valid binary package, the PTS will subscribe
1137 you to the corresponding source package.
1138 </para>
1139 </listitem>
1140 </varlistentry>
1141 <varlistentry>
1142 <term><literal>unsubscribe &lt;sourcepackage&gt; [&lt;email&gt;]</literal></term>
1143 <listitem>
1144 <para>
1145 Removes a previous subscription to the source package
1146 <replaceable>sourcepackage</replaceable> using the specified email address or
1147 the sender address if the second argument is left out.
1148 </para>
1149 </listitem>
1150 </varlistentry>
1151 <varlistentry>
1152 <term><literal>unsubscribeall [&lt;email&gt;]</literal></term>
1153 <listitem>
1154 <para>
1155 Removes all subscriptions of the specified email address or the sender address
1156 if the second argument is left out.
1157 </para>
1158 </listitem>
1159 </varlistentry>
1160 <varlistentry>
1161 <term><literal>which [&lt;email&gt;]</literal></term>
1162 <listitem>
1163 <para>
1164 Lists all subscriptions for the sender or the email address optionally
1165 specified.
1166 </para>
1167 </listitem>
1168 </varlistentry>
1169 <varlistentry>
1170 <term><literal>keyword [&lt;email&gt;]</literal></term>
1171 <listitem>
1172 <para>
1173 Tells you the keywords that you are accepting.  For an explanation of keywords,
1174 <link linkend="pkg-tracking-system">see above</link>.  Here's a quick
1175 summary:
1176 </para>
1177 <itemizedlist>
1178 <listitem>
1179 <para>
1180 <literal>bts</literal>: mails coming from the Debian Bug Tracking System
1181 </para>
1182 </listitem>
1183 <listitem>
1184 <para>
1185 <literal>bts-control</literal>: reply to mails sent to
1186 &email-bts-control;
1187 </para>
1188 </listitem>
1189 <listitem>
1190 <para>
1191 <literal>summary</literal>: automatic summary mails about the state of a
1192 package
1193 </para>
1194 </listitem>
1195 <listitem>
1196 <para>
1197 <literal>cvs</literal>: notification of CVS commits
1198 </para>
1199 </listitem>
1200 <listitem>
1201 <para>
1202 <literal>ddtp</literal>: translations of descriptions and debconf templates
1203 </para>
1204 </listitem>
1205 <listitem>
1206 <para>
1207 <literal>derivatives</literal>: changes made on the package by derivative
1208 distributions
1209 </para>
1210 </listitem>
1211 <listitem>
1212 <para>
1213 <literal>upload-source</literal>: announce of a new source upload that has been
1214 accepted
1215 </para>
1216 </listitem>
1217 <listitem>
1218 <para>
1219 <literal>upload-binary</literal>: announce of a new binary-only upload
1220 (porting)
1221 </para>
1222 </listitem>
1223 <listitem>
1224 <para>
1225 <literal>katie-other</literal>: other mails from ftpmasters (override
1226 disparity, etc.)
1227 </para>
1228 </listitem>
1229 <listitem>
1230 <para>
1231 <literal>default</literal>: all the other mails (those which aren't automatic)
1232 </para>
1233 </listitem>
1234 </itemizedlist>
1235 </listitem>
1236 </varlistentry>
1237 <varlistentry>
1238 <term><literal>keyword &lt;sourcepackage&gt; [&lt;email&gt;]</literal></term>
1239 <listitem>
1240 <para>
1241 Same as the previous item but for the given source package, since you may
1242 select a different set of keywords for each source package.
1243 </para>
1244 </listitem>
1245 </varlistentry>
1246 <varlistentry>
1247 <term><literal>keyword [&lt;email&gt;] {+|-|=} &lt;list of keywords&gt;</literal></term>
1248 <listitem>
1249 <para>
1250 Accept (+) or refuse (-) mails classified under the given keyword(s).  Define
1251 the list (=) of accepted keywords.  This changes the default set of keywords
1252 accepted by a user.
1253 </para>
1254 </listitem>
1255 </varlistentry>
1256 <varlistentry>
1257 <term><literal>keywordall [&lt;email&gt;] {+|-|=} &lt;list of keywords&gt;</literal></term>
1258 <listitem>
1259 <para>
1260 Accept (+) or refuse (-) mails classified under the given keyword(s).  Define
1261 the list (=) of accepted keywords.  This changes the set of accepted keywords
1262 of all the currently active subscriptions of a user.
1263 </para>
1264 </listitem>
1265 </varlistentry>
1266 <varlistentry>
1267 <term><literal>keyword &lt;sourcepackage&gt; [&lt;email&gt;] {+|-|=} &lt;list of keywords&gt;</literal></term>
1268 <listitem>
1269 <para>
1270 Same as previous item but overrides the keywords list for the indicated source
1271 package.
1272 </para>
1273 </listitem>
1274 </varlistentry>
1275 <varlistentry>
1276 <term><literal>quit | thanks | --</literal></term>
1277 <listitem>
1278 <para>
1279 Stops processing commands.  All following lines are ignored by the bot.
1280 </para>
1281 </listitem>
1282 </varlistentry>
1283 </variablelist>
1284 <para>
1285 The <command>pts-subscribe</command> command-line utility (from the <systemitem
1286 role="package">devscripts</systemitem> package) can be handy to temporarily
1287 subscribe to some packages, for example after having made an non-maintainer
1288 upload.
1289 </para>
1290 </section>
1291
1292 <section id="pts-mail-filtering">
1293 <title>Filtering PTS mails</title>
1294 <para>
1295 Once you are subscribed to a package, you will get the mails sent to
1296 <literal><replaceable>sourcepackage</replaceable>@&pts-host;</literal>.
1297 Those mails have special headers appended to let you filter them in a special
1298 mailbox (e.g.  with <command>procmail</command>).  The added headers are
1299 <literal>X-Loop</literal>, <literal>X-PTS-Package</literal>,
1300 <literal>X-PTS-Keyword</literal> and <literal>X-Unsubscribe</literal>.
1301 </para>
1302 <para>
1303 Here is an example of added headers for a source upload notification on the
1304 <systemitem role="package">dpkg</systemitem> package:
1305 </para>
1306 <screen>
1307 X-Loop: dpkg@&pts-host;
1308 X-PTS-Package: dpkg
1309 X-PTS-Keyword: upload-source
1310 X-Unsubscribe: echo 'unsubscribe dpkg' | mail pts@qa.debian.org
1311 </screen>
1312 </section>
1313
1314 <section id="pts-cvs-commit">
1315 <title>Forwarding CVS commits in the PTS</title>
1316 <para>
1317 If you use a publicly accessible CVS repository for maintaining your Debian
1318 package, you may want to forward the commit notification to the PTS so that the
1319 subscribers (and possible co-maintainers) can closely follow the package's
1320 evolution.
1321 </para>
1322 <para>
1323 Once you set up the CVS repository to generate commit notifications, you just
1324 have to make sure it sends a copy of those mails to
1325 <literal><replaceable>sourcepackage</replaceable>_cvs@&pts-host;</literal>.
1326 Only the people who accept the <emphasis>cvs</emphasis> keyword will receive
1327 these notifications.
1328 </para>
1329 </section>
1330
1331 <section id="pts-web">
1332 <title>The PTS web interface</title>
1333 <para>
1334 The PTS has a web interface at <ulink
1335 url="http://&pts-host;/"></ulink> that puts together a lot of
1336 information about each source package.  It features many useful links (BTS, QA
1337 stats, contact information, DDTP translation status, buildd logs) and gathers
1338 much more information from various places (30 latest changelog entries, testing
1339 status, ...).  It's a very useful tool if you want to know what's going on with
1340 a specific source package.  Furthermore there's a form that allows easy
1341 subscription to the PTS via email.
1342 </para>
1343 <para>
1344 You can jump directly to the web page concerning a specific source package with
1345 a URL like
1346 <literal>http://&pts-host;/<replaceable>sourcepackage</replaceable></literal>.
1347 </para>
1348 <para>
1349 This web interface has been designed like a portal for the development of
1350 packages: you can add custom content on your packages' pages.  You can add
1351 static information (news items that are meant to stay available indefinitely)
1352 and news items in the latest news section.
1353 </para>
1354 <para>
1355 Static news items can be used to indicate:
1356 </para>
1357 <itemizedlist>
1358 <listitem>
1359 <para>
1360 the availability of a project hosted on
1361 <link linkend="alioth">Alioth</link> for co-maintaining the package
1362 </para>
1363 </listitem>
1364 <listitem>
1365 <para>
1366 a link to the upstream web site
1367 </para>
1368 </listitem>
1369 <listitem>
1370 <para>
1371 a link to the upstream bug tracker
1372 </para>
1373 </listitem>
1374 <listitem>
1375 <para>
1376 the existence of an IRC channel dedicated to the software
1377 </para>
1378 </listitem>
1379 <listitem>
1380 <para>
1381 any other available resource that could be useful in the maintenance of the
1382 package
1383 </para>
1384 </listitem>
1385 </itemizedlist>
1386 <para>
1387 Usual news items may be used to announce that:
1388 </para>
1389 <itemizedlist>
1390 <listitem>
1391 <para>
1392 beta packages are available for testing
1393 </para>
1394 </listitem>
1395 <listitem>
1396 <para>
1397 final packages are expected for next week
1398 </para>
1399 </listitem>
1400 <listitem>
1401 <para>
1402 the packaging is about to be redone from scratch
1403 </para>
1404 </listitem>
1405 <listitem>
1406 <para>
1407 backports are available
1408 </para>
1409 </listitem>
1410 <listitem>
1411 <para>
1412 the maintainer is on vacation (if they wish to publish this information)
1413 </para>
1414 </listitem>
1415 <listitem>
1416 <para>
1417 a NMU is being worked on
1418 </para>
1419 </listitem>
1420 <listitem>
1421 <para>
1422 something important will affect the package
1423 </para>
1424 </listitem>
1425 </itemizedlist>
1426 <para>
1427 Both kinds of news are generated in a similar manner: you just have to send an
1428 email either to <email>pts-static-news@qa.debian.org</email> or to
1429 <email>pts-news@qa.debian.org</email>.  The mail should indicate which package
1430 is concerned by having the name of the source package in a
1431 <literal>X-PTS-Package</literal> mail header or in a <literal>Package</literal>
1432 pseudo-header (like the BTS reports).  If a URL is available in the
1433 <literal>X-PTS-Url</literal> mail header or in the <literal>Url</literal>
1434 pseudo-header, then the result is a link to that URL instead of a complete news
1435 item.
1436 </para>
1437 <para>
1438 Here are a few examples of valid mails used to generate news items in the PTS.
1439 The first one adds a link to the cvsweb interface of debian-cd in the Static
1440 information section:
1441 </para>
1442 <screen>
1443 From: Raphael Hertzog &lt;hertzog@debian.org&gt;
1444 To: pts-static-news@qa.debian.org
1445 Subject: Browse debian-cd CVS repository with cvsweb
1446
1447 Package: debian-cd
1448 Url: &url-cvsweb;debian-cd/
1449 </screen>
1450 <para>
1451 The second one is an announcement sent to a mailing list which is also sent to
1452 the PTS so that it is published on the PTS web page of the package.  Note the
1453 use of the BCC field to avoid answers sent to the PTS by mistake.
1454 </para>
1455 <screen>
1456 : Raphael Hertzog &lt;hertzog@debian.org&gt;
1457 To: debian-gtk-gnome@&lists-host;
1458 Bcc: pts-news@qa.debian.org
1459 Subject: Galeon 2.0 backported for woody
1460 X-PTS-Package: galeon
1461
1462 Hello gnomers!
1463
1464 I'm glad to announce that galeon has been backported for woody. You'll find
1465 everything here:
1466 ...
1467 </screen>
1468 <para>
1469 Think twice before adding a news item to the PTS because you won't be able to
1470 remove it later and you won't be able to edit it either.  The only thing that
1471 you can do is send a second news item that will deprecate the information
1472 contained in the previous one.
1473 </para>
1474 </section>
1475
1476 </section>
1477
1478 <section id="ddpo">
1479 <title>Developer's packages overview</title>
1480 <para>
1481 A QA (quality assurance) web portal is available at <ulink
1482 url="&url-ddpo;"></ulink> which displays a table listing all
1483 the packages of a single developer (including those where the party is listed
1484 as a co-maintainer).  The table gives a good summary about the developer's
1485 packages: number of bugs by severity, list of available versions in each
1486 distribution, testing status and much more including links to any other useful
1487 information.
1488 </para>
1489 <para>
1490 It is a good idea to look up your own data regularly so that you don't forget
1491 any open bugs, and so that you don't forget which packages are your
1492 responsibility.
1493 </para>
1494 </section>
1495
1496 <section id="alioth">
1497 <title>Debian *Forge: Alioth</title>
1498 <para>
1499 Alioth is a fairly new Debian service, based on a slightly modified version of
1500 the GForge software (which evolved from SourceForge).  This software offers
1501 developers access to easy-to-use tools such as bug trackers, patch manager,
1502 project/task managers, file hosting services, mailing lists, CVS repositories
1503 etc.  All these tools are managed via a web interface.
1504 </para>
1505 <para>
1506 It is intended to provide facilities to free software projects backed or led by
1507 Debian, facilitate contributions from external developers to projects started
1508 by Debian, and help projects whose goals are the promotion of Debian or its
1509 derivatives.
1510 </para>
1511 <para>
1512 All Debian developers automatically have an account on Alioth.  They can
1513 activate it by using the recover password facility.  External developers can
1514 request guest accounts on Alioth.
1515 </para>
1516 <para>
1517 For more information please visit <ulink
1518 url="&url-alioth;"></ulink>.
1519 </para>
1520 </section>
1521
1522 <section id="developer-misc">
1523 <title>Goodies for Developers</title>
1524 <section id="lwn">
1525 <title>LWN Subscriptions</title>
1526 <para>
1527 Since October of 2002, HP has sponsored a subscription to LWN for all
1528 interested Debian developers.  Details on how to get access to this benefit are
1529 in <ulink
1530 url="http://&lists-host;/debian-devel-announce/2002/10/msg00018.html"></ulink>.
1531 </para>
1532 </section>
1533
1534 </section>
1535
1536 </chapter>
1537