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