chiark / gitweb /
POT updated in order to fit with last changes.
[developers-reference.git] / po4a / po / pkgs.pot
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2010-05-31 18:23-0400\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=utf-8\n"
16 "Content-Transfer-Encoding: ENCODING"
17
18 #. type: Content of: <chapter><title>
19 #: pkgs.dbk:7
20 msgid "Managing Packages"
21 msgstr ""
22
23 #. type: Content of: <chapter><para>
24 #: pkgs.dbk:9
25 msgid ""
26 "This chapter contains information related to creating, uploading, "
27 "maintaining, and porting packages."
28 msgstr ""
29
30 #. type: Content of: <chapter><section><title>
31 #: pkgs.dbk:13
32 msgid "New packages"
33 msgstr ""
34
35 #. type: Content of: <chapter><section><para>
36 #: pkgs.dbk:15
37 msgid ""
38 "If you want to create a new package for the Debian distribution, you should "
39 "first check the <ulink url=\"&url-wnpp;\">Work-Needing and Prospective "
40 "Packages (WNPP)</ulink> list.  Checking the WNPP list ensures that no one is "
41 "already working on packaging that software, and that effort is not "
42 "duplicated.  Read the <ulink url=\"&url-wnpp;\">WNPP web pages</ulink> for "
43 "more information."
44 msgstr ""
45
46 #. type: Content of: <chapter><section><para>
47 #: pkgs.dbk:23
48 msgid ""
49 "Assuming no one else is already working on your prospective package, you "
50 "must then submit a bug report (<xref linkend=\"submit-bug\"/>) against the "
51 "pseudo-package <systemitem role=\"package\">wnpp</systemitem> describing "
52 "your plan to create a new package, including, but not limiting yourself to, "
53 "a description of the package, the license of the prospective package, and "
54 "the current URL where it can be downloaded from."
55 msgstr ""
56
57 #. type: Content of: <chapter><section><para>
58 #: pkgs.dbk:31
59 msgid ""
60 "You should set the subject of the bug to <literal>ITP: "
61 "<replaceable>foo</replaceable> -- <replaceable>short "
62 "description</replaceable></literal>, substituting the name of the new "
63 "package for <replaceable>foo</replaceable>.  The severity of the bug report "
64 "must be set to <literal>wishlist</literal>.  Please send a copy to "
65 "&email-debian-devel; by using the X-Debbugs-CC header (don't use CC:, "
66 "because that way the message's subject won't indicate the bug number). If "
67 "you are packaging so many new packages (>10)  that notifying the mailing "
68 "list in separate messages is too disruptive, send a summary after filing the "
69 "bugs to the debian-devel list instead.  This will inform the other "
70 "developers about upcoming packages and will allow a review of your "
71 "description and package name."
72 msgstr ""
73
74 #. type: Content of: <chapter><section><para>
75 #: pkgs.dbk:45
76 msgid ""
77 "Please include a <literal>Closes: "
78 "#<replaceable>nnnnn</replaceable></literal> entry in the changelog of the "
79 "new package in order for the bug report to be automatically closed once the "
80 "new package is installed in the archive (see <xref "
81 "linkend=\"upload-bugfix\"/>)."
82 msgstr ""
83
84 #. type: Content of: <chapter><section><para>
85 #: pkgs.dbk:51
86 msgid ""
87 "If you think your package needs some explanations for the administrators of "
88 "the NEW package queue, include them in your changelog, send to "
89 "&email-ftpmaster; a reply to the email you receive as a maintainer after "
90 "your upload, or reply to the rejection email in case you are already "
91 "re-uploading."
92 msgstr ""
93
94 #. type: Content of: <chapter><section><para>
95 #: pkgs.dbk:57
96 msgid ""
97 "When closing security bugs include CVE numbers as well as the "
98 "<literal>Closes: #<replaceable>nnnnn</replaceable></literal> This is useful "
99 "for the security team to track vulnerabilities.  If an upload is made to fix "
100 "the bug before the advisory ID is known, it is encouraged to modify the "
101 "historical changelog entry with the next upload.  Even in this case, please "
102 "include all available pointers to background information in the original "
103 "changelog entry."
104 msgstr ""
105
106 #. type: Content of: <chapter><section><para>
107 #: pkgs.dbk:66
108 msgid ""
109 "There are a number of reasons why we ask maintainers to announce their "
110 "intentions:"
111 msgstr ""
112
113 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
114 #: pkgs.dbk:72
115 msgid ""
116 "It helps the (potentially new) maintainer to tap into the experience of "
117 "people on the list, and lets them know if anyone else is working on it "
118 "already."
119 msgstr ""
120
121 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
122 #: pkgs.dbk:78
123 msgid ""
124 "It lets other people thinking about working on the package know that there "
125 "already is a volunteer, so efforts may be shared."
126 msgstr ""
127
128 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
129 #: pkgs.dbk:84
130 msgid ""
131 "It lets the rest of the maintainers know more about the package than the one "
132 "line description and the usual changelog entry ``Initial release'' that gets "
133 "posted to &email-debian-devel-changes;."
134 msgstr ""
135
136 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
137 #: pkgs.dbk:91
138 msgid ""
139 "It is helpful to the people who live off <literal>unstable</literal> (and "
140 "form our first line of testers).  We should encourage these people."
141 msgstr ""
142
143 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
144 #: pkgs.dbk:97
145 msgid ""
146 "The announcements give maintainers and other interested parties a better "
147 "feel of what is going on, and what is new, in the project."
148 msgstr ""
149
150 #. type: Content of: <chapter><section><para>
151 #: pkgs.dbk:103
152 msgid ""
153 "Please see <ulink url=\"http://&ftp-master-host;/REJECT-FAQ.html\"></ulink> "
154 "for common rejection reasons for a new package."
155 msgstr ""
156
157 #. type: Content of: <chapter><section><title>
158 #: pkgs.dbk:109
159 msgid "Recording changes in the package"
160 msgstr ""
161
162 #. type: Content of: <chapter><section><para>
163 #: pkgs.dbk:111
164 msgid ""
165 "Changes that you make to the package need to be recorded in the "
166 "<filename>debian/changelog</filename>.  These changes should provide a "
167 "concise description of what was changed, why (if it's in doubt), and note if "
168 "any bugs were closed.  They also record when the package was completed.  "
169 "This file will be installed in "
170 "<filename>/usr/share/doc/<replaceable>package</replaceable>/changelog.Debian.gz</filename>, "
171 "or "
172 "<filename>/usr/share/doc/<replaceable>package</replaceable>/changelog.gz</filename> "
173 "for native packages."
174 msgstr ""
175
176 #. type: Content of: <chapter><section><para>
177 #: pkgs.dbk:122
178 msgid ""
179 "The <filename>debian/changelog</filename> file conforms to a certain "
180 "structure, with a number of different fields.  One field of note, the "
181 "<literal>distribution</literal>, is described in <xref "
182 "linkend=\"distribution\"/>.  More information about the structure of this "
183 "file can be found in the Debian Policy section titled "
184 "<filename>debian/changelog</filename>."
185 msgstr ""
186
187 #. type: Content of: <chapter><section><para>
188 #: pkgs.dbk:130
189 msgid ""
190 "Changelog entries can be used to automatically close Debian bugs when the "
191 "package is installed into the archive.  See <xref "
192 "linkend=\"upload-bugfix\"/>."
193 msgstr ""
194
195 #. type: Content of: <chapter><section><para>
196 #: pkgs.dbk:134
197 msgid ""
198 "It is conventional that the changelog entry of a package that contains a new "
199 "upstream version of the software looks like this:"
200 msgstr ""
201
202 #. type: Content of: <chapter><section><screen>
203 #: pkgs.dbk:138
204 #, no-wrap
205 msgid "  * New upstream release.\n"
206 msgstr ""
207
208 #. type: Content of: <chapter><section><para>
209 #: pkgs.dbk:141
210 msgid ""
211 "There are tools to help you create entries and finalize the "
212 "<filename>changelog</filename> for release — see <xref "
213 "linkend=\"devscripts\"/> and <xref linkend=\"dpkg-dev-el\"/>."
214 msgstr ""
215
216 #. type: Content of: <chapter><section><para>
217 #: pkgs.dbk:146
218 msgid "See also <xref linkend=\"bpp-debian-changelog\"/>."
219 msgstr ""
220
221 #. type: Content of: <chapter><section><title>
222 #: pkgs.dbk:151
223 msgid "Testing the package"
224 msgstr ""
225
226 #. type: Content of: <chapter><section><para>
227 #: pkgs.dbk:153
228 msgid ""
229 "Before you upload your package, you should do basic testing on it.  At a "
230 "minimum, you should try the following activities (you'll need to have an "
231 "older version of the same Debian package around):"
232 msgstr ""
233
234 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
235 #: pkgs.dbk:160
236 msgid ""
237 "Install the package and make sure the software works, or upgrade the package "
238 "from an older version to your new version if a Debian package for it already "
239 "exists."
240 msgstr ""
241
242 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
243 #: pkgs.dbk:167
244 msgid ""
245 "Run <command>lintian</command> over the package.  You can run "
246 "<command>lintian</command> as follows: <literal>lintian -v "
247 "<replaceable>package-version</replaceable>.changes</literal>.  This will "
248 "check the source package as well as the binary package.  If you don't "
249 "understand the output that <command>lintian</command> generates, try adding "
250 "the <literal>-i</literal> switch, which will cause "
251 "<command>lintian</command> to output a very verbose description of the "
252 "problem."
253 msgstr ""
254
255 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
256 #: pkgs.dbk:176
257 msgid ""
258 "Normally, a package should <emphasis>not</emphasis> be uploaded if it causes "
259 "lintian to emit errors (they will start with <literal>E</literal>)."
260 msgstr ""
261
262 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
263 #: pkgs.dbk:180
264 msgid ""
265 "For more information on <command>lintian</command>, see <xref "
266 "linkend=\"lintian\"/>."
267 msgstr ""
268
269 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
270 #: pkgs.dbk:186
271 msgid ""
272 "Optionally run <command>debdiff</command> (see <xref linkend=\"debdiff\"/>) "
273 "to analyze changes from an older version, if one exists."
274 msgstr ""
275
276 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
277 #: pkgs.dbk:192
278 msgid ""
279 "Downgrade the package to the previous version (if one exists) — this tests "
280 "the <filename>postrm</filename> and <filename>prerm</filename> scripts."
281 msgstr ""
282
283 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
284 #: pkgs.dbk:198
285 msgid "Remove the package, then reinstall it."
286 msgstr ""
287
288 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
289 #: pkgs.dbk:203
290 msgid ""
291 "Copy the source package in a different directory and try unpacking it and "
292 "rebuilding it.  This tests if the package relies on existing files outside "
293 "of it, or if it relies on permissions being preserved on the files shipped "
294 "inside the <filename>.diff.gz</filename> file."
295 msgstr ""
296
297 #. type: Content of: <chapter><section><title>
298 #: pkgs.dbk:213
299 msgid "Layout of the source package"
300 msgstr ""
301
302 #. type: Content of: <chapter><section><para>
303 #: pkgs.dbk:215
304 msgid "There are two types of Debian source packages:"
305 msgstr ""
306
307 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
308 #: pkgs.dbk:220
309 msgid ""
310 "the so-called <literal>native</literal> packages, where there is no "
311 "distinction between the original sources and the patches applied for Debian"
312 msgstr ""
313
314 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
315 #: pkgs.dbk:226
316 msgid ""
317 "the (more common) packages where there's an original source tarball file "
318 "accompanied by another file that contains the changes made by Debian"
319 msgstr ""
320
321 #. type: Content of: <chapter><section><para>
322 #: pkgs.dbk:232
323 msgid ""
324 "For the native packages, the source package includes a Debian source control "
325 "file (<filename>.dsc</filename>) and the source tarball "
326 "(<filename>.tar.{gz,bz2,lzma}</filename>). A source package of a non-native "
327 "package includes a Debian source control file, the original source tarball "
328 "(<filename>.orig.tar.{gz,bz2,lzma}</filename>) and the Debian changes "
329 "(<filename>.diff.gz</filename> for the source format “1.0” or "
330 "<filename>.debian.tar.{gz,bz2,lzma}</filename> for the source format “3.0 "
331 "(quilt)”)."
332 msgstr ""
333
334 #. type: Content of: <chapter><section><para>
335 #: pkgs.dbk:241
336 msgid ""
337 "With source format “1.0”, whether a package is native or not was determined "
338 "by <command>dpkg-source</command> at build time. Nowadays it is recommended "
339 "to be explicit about the desired source format by putting either “3.0 "
340 "(quilt)” or “3.0 (native)” in <filename>debian/source/format</filename>.  "
341 "The rest of this section relates only to non-native packages."
342 msgstr ""
343
344 #. type: Content of: <chapter><section><para>
345 #: pkgs.dbk:248
346 msgid ""
347 "The first time a version is uploaded which corresponds to a particular "
348 "upstream version, the original source tar file should be uploaded and "
349 "included in the <filename>.changes</filename> file.  Subsequently, this very "
350 "same tar file should be used to build the new diffs and "
351 "<filename>.dsc</filename> files, and will not need to be re-uploaded."
352 msgstr ""
353
354 #. type: Content of: <chapter><section><para>
355 #: pkgs.dbk:255
356 msgid ""
357 "By default, <command>dpkg-genchanges</command> and "
358 "<command>dpkg-buildpackage</command> will include the original source tar "
359 "file if and only if the current changelog entry has a different upstream "
360 "version from the preceding entry. This behavior may be modified by using "
361 "<literal>-sa</literal> to always include it or <literal>-sd</literal> to "
362 "always leave it out."
363 msgstr ""
364
365 #. type: Content of: <chapter><section><para>
366 #: pkgs.dbk:263
367 msgid ""
368 "If no original source is included in the upload, the original source "
369 "tar-file used by <command>dpkg-source</command> when constructing the "
370 "<filename>.dsc</filename> file and diff to be uploaded "
371 "<emphasis>must</emphasis> be byte-for-byte identical with the one already in "
372 "the archive."
373 msgstr ""
374
375 #. type: Content of: <chapter><section><para>
376 #: pkgs.dbk:270
377 msgid ""
378 "Please notice that, in non-native packages, permissions on files that are "
379 "not present in the <filename>*.orig.tar.{gz,bz2,lzma}</filename> will not be "
380 "preserved, as diff does not store file permissions in the patch. However "
381 "when using source format “3.0 (quilt)”, permissions of files inside the "
382 "<filename>debian</filename> directory are preserved since they are stored in "
383 "a tar archive."
384 msgstr ""
385
386 #. type: Content of: <chapter><section><title>
387 #: pkgs.dbk:279
388 msgid "Picking a distribution"
389 msgstr ""
390
391 #. type: Content of: <chapter><section><para>
392 #: pkgs.dbk:281
393 msgid ""
394 "Each upload needs to specify which distribution the package is intended "
395 "for.  The package build process extracts this information from the first "
396 "line of the <filename>debian/changelog</filename> file and places it in the "
397 "<literal>Distribution</literal> field of the <filename>.changes</filename> "
398 "file."
399 msgstr ""
400
401 #. type: Content of: <chapter><section><para>
402 #: pkgs.dbk:287
403 msgid ""
404 "There are several possible values for this field: <literal>stable</literal>, "
405 "<literal>unstable</literal>, <literal>testing-proposed-updates</literal> and "
406 "<literal>experimental</literal>.  Normally, packages are uploaded into "
407 "<literal>unstable</literal>."
408 msgstr ""
409
410 #. type: Content of: <chapter><section><para>
411 #: pkgs.dbk:293
412 msgid ""
413 "Actually, there are two other possible distributions: "
414 "<literal>stable-security</literal> and <literal>testing-security</literal>, "
415 "but read <xref linkend=\"bug-security\"/> for more information on those."
416 msgstr ""
417
418 #. type: Content of: <chapter><section><para>
419 #: pkgs.dbk:298
420 msgid ""
421 "It is not possible to upload a package into several distributions at the "
422 "same time."
423 msgstr ""
424
425 #. type: Content of: <chapter><section><section><title>
426 #: pkgs.dbk:302
427 msgid ""
428 "Special case: uploads to the <literal>stable</literal> and "
429 "<literal>oldstable</literal> distributions"
430 msgstr ""
431
432 #. type: Content of: <chapter><section><section><para>
433 #: pkgs.dbk:305
434 msgid ""
435 "Uploading to <literal>stable</literal> means that the package will "
436 "transferred to the <literal>proposed-updates-new</literal> queue for review "
437 "by the stable release managers, and if approved will be installed in "
438 "<filename>stable-proposed-updates</filename> directory of the Debian "
439 "archive.  From there, it will be included in <literal>stable</literal> with "
440 "the next point release."
441 msgstr ""
442
443 #. type: Content of: <chapter><section><section><para>
444 #: pkgs.dbk:313
445 msgid ""
446 "To ensure that your upload will be accepted, you should discuss the changes "
447 "with the stable release team before you upload. For that, send a mail to the "
448 "&email-debian-release; mailing list, including the patch you want to apply "
449 "to the package version currently in <literal>stable</literal>. Always be "
450 "verbose and detailed in your changelog entries for uploads to the "
451 "<literal>stable</literal> distribution."
452 msgstr ""
453
454 #. type: Content of: <chapter><section><section><para>
455 #: pkgs.dbk:321
456 msgid ""
457 "Extra care should be taken when uploading to <literal>stable</literal>.  "
458 "Basically, a package should only be uploaded to <literal>stable</literal> if "
459 "one of the following happens:"
460 msgstr ""
461
462 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
463 #: pkgs.dbk:328
464 msgid "a truly critical functionality problem"
465 msgstr ""
466
467 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
468 #: pkgs.dbk:333
469 msgid "the package becomes uninstallable"
470 msgstr ""
471
472 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
473 #: pkgs.dbk:338
474 msgid "a released architecture lacks the package"
475 msgstr ""
476
477 #. type: Content of: <chapter><section><section><para>
478 #: pkgs.dbk:343
479 msgid ""
480 "In the past, uploads to <literal>stable</literal> were used to address "
481 "security problems as well.  However, this practice is deprecated, as uploads "
482 "used for Debian security advisories are automatically copied to the "
483 "appropriate <filename>proposed-updates</filename> archive when the advisory "
484 "is released.  See <xref linkend=\"bug-security\"/> for detailed information "
485 "on handling security problems. If the security teams deems the problem to be "
486 "too benign to be fixed through a <literal>DSA</literal>, the stable release "
487 "managers are usually willing to include your fix nonetheless in a regular "
488 "upload to <literal>stable</literal>."
489 msgstr ""
490
491 #. type: Content of: <chapter><section><section><para>
492 #: pkgs.dbk:354
493 msgid ""
494 "Changing anything else in the package that isn't important is discouraged, "
495 "because even trivial fixes can cause bugs later on."
496 msgstr ""
497
498 #. type: Content of: <chapter><section><section><para>
499 #: pkgs.dbk:358
500 msgid ""
501 "Packages uploaded to <literal>stable</literal> need to be compiled on "
502 "systems running <literal>stable</literal>, so that their dependencies are "
503 "limited to the libraries (and other packages) available in "
504 "<literal>stable</literal>; for example, a package uploaded to "
505 "<literal>stable</literal> that depends on a library package that only exists "
506 "in <literal>unstable</literal> will be rejected.  Making changes to "
507 "dependencies of other packages (by messing with <literal>Provides</literal> "
508 "or <filename>shlibs</filename> files), possibly making those other packages "
509 "uninstallable, is strongly discouraged."
510 msgstr ""
511
512 #. type: Content of: <chapter><section><section><para>
513 #: pkgs.dbk:368
514 msgid ""
515 "Uploads to the <literal>oldstable</literal> distributions are possible as "
516 "long as it hasn't been archived. The same rules as for "
517 "<literal>stable</literal> apply."
518 msgstr ""
519
520 #. type: Content of: <chapter><section><section><title>
521 #: pkgs.dbk:375
522 msgid "Special case: uploads to <literal>testing/testing-proposed-updates</literal>"
523 msgstr ""
524
525 #. type: Content of: <chapter><section><section><para>
526 #: pkgs.dbk:377
527 msgid ""
528 "Please see the information in the <link linkend=\"t-p-u\">testing "
529 "section</link> for details."
530 msgstr ""
531
532 #. type: Content of: <chapter><section><title>
533 #: pkgs.dbk:385
534 msgid "Uploading a package"
535 msgstr ""
536
537 #. type: Content of: <chapter><section><section><title>
538 #: pkgs.dbk:387
539 msgid "Uploading to <literal>ftp-master</literal>"
540 msgstr ""
541
542 #. type: Content of: <chapter><section><section><para>
543 #: pkgs.dbk:389
544 msgid ""
545 "To upload a package, you should upload the files (including the signed "
546 "changes and dsc-file) with anonymous ftp to "
547 "<literal>&ftp-upload-host;</literal> in the directory <ulink "
548 "url=\"ftp://&ftp-upload-host;&upload-queue;\">&upload-queue;</ulink>.  To "
549 "get the files processed there, they need to be signed with a key in the "
550 "Debian Developers keyring or the Debian Maintainers keyring (see <ulink "
551 "url=\"&url-wiki-dm;\"></ulink>)."
552 msgstr ""
553
554 #. type: Content of: <chapter><section><section><para>
555 #: pkgs.dbk:398
556 msgid ""
557 "Please note that you should transfer the changes file last.  Otherwise, your "
558 "upload may be rejected because the archive maintenance software will parse "
559 "the changes file and see that not all files have been uploaded."
560 msgstr ""
561
562 #. type: Content of: <chapter><section><section><para>
563 #: pkgs.dbk:403
564 msgid ""
565 "You may also find the Debian packages <link "
566 "linkend=\"dupload\">dupload</link> or <link linkend=\"dput\">dput</link> "
567 "useful when uploading packages.These handy programs help automate the "
568 "process of uploading packages into Debian."
569 msgstr ""
570
571 #. type: Content of: <chapter><section><section><para>
572 #: pkgs.dbk:408
573 msgid ""
574 "For removing packages, please see <ulink "
575 "url=\"ftp://&ftp-upload-host;&upload-queue;README\"/> and the Debian package "
576 "<link linkend=\"dcut\">dcut</link>."
577 msgstr ""
578
579 #. type: Content of: <chapter><section><section><title>
580 #: pkgs.dbk:415
581 msgid "Delayed uploads"
582 msgstr ""
583
584 #. type: Content of: <chapter><section><section><para>
585 #: pkgs.dbk:418
586 msgid ""
587 "It is sometimes useful to upload a package immediately, but to want this "
588 "package to arrive in the archive only a few days later. For example, when "
589 "preparing a <link linkend=\"nmu\">Non-Maintainer Upload</link>, you might "
590 "want to give the maintainer a few days to react."
591 msgstr ""
592
593 #. type: Content of: <chapter><section><section><para>
594 #: pkgs.dbk:425
595 msgid ""
596 "An upload to the delayed directory keeps the package in <ulink "
597 "url=\"http://ftp-master.debian.org/deferred.html\">the deferred uploads "
598 "queue</ulink>.  When the specified waiting time is over, the package is "
599 "moved into the regular incoming directory for processing.  This is done "
600 "through automatic uploading to <literal>&ftp-upload-host;</literal> in "
601 "upload-directory <literal>DELAYED/[012345678]-day</literal>. 0-day is "
602 "uploaded multiple times per day to <literal>&ftp-upload-host;</literal>."
603 msgstr ""
604
605 #. type: Content of: <chapter><section><section><para>
606 #: pkgs.dbk:435
607 msgid ""
608 "With dput, you can use the <literal>--delayed "
609 "<replaceable>DELAY</replaceable></literal> parameter to put the package into "
610 "one of the queues."
611 msgstr ""
612
613 #. type: Content of: <chapter><section><section><title>
614 #: pkgs.dbk:441
615 msgid "Security uploads"
616 msgstr ""
617
618 #. type: Content of: <chapter><section><section><para>
619 #: pkgs.dbk:443
620 msgid ""
621 "Do <emphasis role=\"strong\">NOT</emphasis> upload a package to the security "
622 "upload queue (<literal>oldstable-security</literal>, "
623 "<literal>stable-security</literal>, etc.) without prior authorization from "
624 "the security team.  If the package does not exactly meet the team's "
625 "requirements, it will cause many problems and delays in dealing with the "
626 "unwanted upload.  For details, please see <xref linkend=\"bug-security\"/>."
627 msgstr ""
628
629 #. type: Content of: <chapter><section><section><title>
630 #: pkgs.dbk:453
631 msgid "Other upload queues"
632 msgstr ""
633
634 #. type: Content of: <chapter><section><section><para>
635 #: pkgs.dbk:455
636 msgid ""
637 "There is an alternative upload queue in Europe at <ulink "
638 "url=\"ftp://&ftp-eu-upload-host;&upload-queue;\"/>. It operates in the same "
639 "way as <literal>&ftp-upload-host;</literal>, but should be faster for "
640 "European developers."
641 msgstr ""
642
643 #. type: Content of: <chapter><section><section><para>
644 #: pkgs.dbk:461
645 msgid ""
646 "Packages can also be uploaded via ssh to "
647 "<literal>&ssh-upload-host;</literal>; files should be put "
648 "<literal>/srv/upload.debian.org/UploadQueue</literal>. This queue does not "
649 "support <link linkend=\"delayed-incoming\">delayed uploads</link>."
650 msgstr ""
651
652 #. type: Content of: <chapter><section><section><title>
653 #: pkgs.dbk:469
654 msgid "Notification that a new package has been installed"
655 msgstr ""
656
657 #. type: Content of: <chapter><section><section><para>
658 #: pkgs.dbk:471
659 msgid ""
660 "The Debian archive maintainers are responsible for handling package "
661 "uploads.  For the most part, uploads are automatically handled on a daily "
662 "basis by the archive maintenance tools, <command>katie</command>.  "
663 "Specifically, updates to existing packages to the "
664 "<literal>unstable</literal> distribution are handled automatically.  In "
665 "other cases, notably new packages, placing the uploaded package into the "
666 "distribution is handled manually.  When uploads are handled manually, the "
667 "change to the archive may take up to a month to occur.  Please be patient."
668 msgstr ""
669
670 #. type: Content of: <chapter><section><section><para>
671 #: pkgs.dbk:481
672 msgid ""
673 "In any case, you will receive an email notification indicating that the "
674 "package has been added to the archive, which also indicates which bugs will "
675 "be closed by the upload.  Please examine this notification carefully, "
676 "checking if any bugs you meant to close didn't get triggered."
677 msgstr ""
678
679 #. type: Content of: <chapter><section><section><para>
680 #: pkgs.dbk:487
681 msgid ""
682 "The installation notification also includes information on what section the "
683 "package was inserted into.  If there is a disparity, you will receive a "
684 "separate email notifying you of that.  Read on below."
685 msgstr ""
686
687 #. type: Content of: <chapter><section><section><para>
688 #: pkgs.dbk:492
689 msgid ""
690 "Note that if you upload via queues, the queue daemon software will also send "
691 "you a notification by email."
692 msgstr ""
693
694 #. type: Content of: <chapter><section><title>
695 #: pkgs.dbk:500
696 msgid "Specifying the package section, subsection and priority"
697 msgstr ""
698
699 #. type: Content of: <chapter><section><para>
700 #: pkgs.dbk:502
701 msgid ""
702 "The <filename>debian/control</filename> file's <literal>Section</literal> "
703 "and <literal>Priority</literal> fields do not actually specify where the "
704 "file will be placed in the archive, nor its priority.  In order to retain "
705 "the overall integrity of the archive, it is the archive maintainers who have "
706 "control over these fields.  The values in the "
707 "<filename>debian/control</filename> file are actually just hints."
708 msgstr ""
709
710 #. type: Content of: <chapter><section><para>
711 #: pkgs.dbk:510
712 msgid ""
713 "The archive maintainers keep track of the canonical sections and priorities "
714 "for packages in the <literal>override file</literal>.  If there is a "
715 "disparity between the <literal>override file</literal> and the package's "
716 "fields as indicated in <filename>debian/control</filename>, then you will "
717 "receive an email noting the divergence when the package is installed into "
718 "the archive.  You can either correct your "
719 "<filename>debian/control</filename> file for your next upload, or else you "
720 "may wish to make a change in the <literal>override file</literal>."
721 msgstr ""
722
723 #. type: Content of: <chapter><section><para>
724 #: pkgs.dbk:520
725 msgid ""
726 "To alter the actual section that a package is put in, you need to first make "
727 "sure that the <filename>debian/control</filename> file in your package is "
728 "accurate.  Next, submit a bug against <systemitem "
729 "role=\"package\">ftp.debian.org</systemitem> requesting that the section or "
730 "priority for your package be changed from the old section or priority to the "
731 "new one. Use a Subject like <literal>override: PACKAGE1:section/priority, "
732 "[...], PACKAGEX:section/priority</literal>, and include the justification "
733 "for the change in the body of the bug report."
734 msgstr ""
735
736 #. type: Content of: <chapter><section><para>
737 #: pkgs.dbk:531
738 msgid ""
739 "For more information about <literal>override files</literal>, see "
740 "<citerefentry> <refentrytitle>dpkg-scanpackages</refentrytitle> "
741 "<manvolnum>1</manvolnum> </citerefentry> and <ulink "
742 "url=\"&url-bts-devel;#maintincorrect\"></ulink>."
743 msgstr ""
744
745 #. type: Content of: <chapter><section><para>
746 #: pkgs.dbk:537
747 msgid ""
748 "Note that the <literal>Section</literal> field describes both the section as "
749 "well as the subsection, which are described in <xref "
750 "linkend=\"archive-sections\"/>.  If the section is main, it should be "
751 "omitted.  The list of allowable subsections can be found in <ulink "
752 "url=\"&url-debian-policy;ch-archive.html#s-subsections\"></ulink>."
753 msgstr ""
754
755 #. type: Content of: <chapter><section><title>
756 #: pkgs.dbk:546
757 msgid "Handling bugs"
758 msgstr ""
759
760 #. type: Content of: <chapter><section><para>
761 #: pkgs.dbk:548
762 msgid ""
763 "Every developer has to be able to work with the Debian <ulink "
764 "url=\"&url-bts;\">bug tracking system</ulink>.  This includes knowing how to "
765 "file bug reports properly (see <xref linkend=\"submit-bug\"/>), how to "
766 "update them and reorder them, and how to process and close them."
767 msgstr ""
768
769 #. type: Content of: <chapter><section><para>
770 #: pkgs.dbk:554
771 msgid ""
772 "The bug tracking system's features are described in the <ulink "
773 "url=\"&url-bts-devel;\">BTS documentation for developers</ulink>.  This "
774 "includes closing bugs, sending followup messages, assigning severities and "
775 "tags, marking bugs as forwarded, and other issues."
776 msgstr ""
777
778 #. type: Content of: <chapter><section><para>
779 #: pkgs.dbk:560
780 msgid ""
781 "Operations such as reassigning bugs to other packages, merging separate bug "
782 "reports about the same issue, or reopening bugs when they are prematurely "
783 "closed, are handled using the so-called control mail server.  All of the "
784 "commands available on this server are described in the <ulink "
785 "url=\"&url-bts-control;\">BTS control server documentation</ulink>."
786 msgstr ""
787
788 #. type: Content of: <chapter><section><section><title>
789 #: pkgs.dbk:568
790 msgid "Monitoring bugs"
791 msgstr ""
792
793 #. type: Content of: <chapter><section><section><para>
794 #: pkgs.dbk:570
795 msgid ""
796 "If you want to be a good maintainer, you should periodically check the "
797 "<ulink url=\"&url-bts;\">Debian bug tracking system (BTS)</ulink> for your "
798 "packages.  The BTS contains all the open bugs against your packages.  You "
799 "can check them by browsing this page: "
800 "<literal>http://&bugs-host;/<replaceable>yourlogin</replaceable>@debian.org</literal>."
801 msgstr ""
802
803 #. type: Content of: <chapter><section><section><para>
804 #: pkgs.dbk:577
805 msgid ""
806 "Maintainers interact with the BTS via email addresses at "
807 "<literal>&bugs-host;</literal>.  Documentation on available commands can be "
808 "found at <ulink url=\"&url-bts;\"></ulink>, or, if you have installed the "
809 "<systemitem role=\"package\">doc-debian</systemitem> package, you can look "
810 "at the local files &file-bts-docs;."
811 msgstr ""
812
813 #. type: Content of: <chapter><section><section><para>
814 #: pkgs.dbk:584
815 msgid ""
816 "Some find it useful to get periodic reports on open bugs.  You can add a "
817 "cron job such as the following if you want to get a weekly email outlining "
818 "all the open bugs against your packages:"
819 msgstr ""
820
821 #. type: Content of: <chapter><section><section><screen>
822 #: pkgs.dbk:589
823 #, no-wrap
824 msgid ""
825 "# ask for weekly reports of bugs in my packages\n"
826 "&cron-bug-report;\n"
827 msgstr ""
828
829 #. type: Content of: <chapter><section><section><para>
830 #: pkgs.dbk:593
831 msgid ""
832 "Replace <replaceable>address</replaceable> with your official Debian "
833 "maintainer address."
834 msgstr ""
835
836 #. type: Content of: <chapter><section><section><title>
837 #: pkgs.dbk:599
838 msgid "Responding to bugs"
839 msgstr ""
840
841 #. type: Content of: <chapter><section><section><para>
842 #: pkgs.dbk:601
843 msgid ""
844 "When responding to bugs, make sure that any discussion you have about bugs "
845 "is sent both to the original submitter of the bug, and to the bug itself "
846 "(e.g., <email><replaceable>123</replaceable>@&bugs-host;</email>).  If "
847 "you're writing a new mail and you don't remember the submitter email "
848 "address, you can use the "
849 "<email><replaceable>123</replaceable>-submitter@&bugs-host;</email> email to "
850 "contact the submitter <emphasis>and</emphasis> to record your mail within "
851 "the bug log (that means you don't need to send a copy of the mail to "
852 "<email><replaceable>123</replaceable>@&bugs-host;</email>)."
853 msgstr ""
854
855 #. type: Content of: <chapter><section><section><para>
856 #: pkgs.dbk:610
857 msgid ""
858 "If you get a bug which mentions FTBFS, this means Fails to build from "
859 "source.  Porters frequently use this acronym."
860 msgstr ""
861
862 #. type: Content of: <chapter><section><section><para>
863 #: pkgs.dbk:614
864 msgid ""
865 "Once you've dealt with a bug report (e.g.  fixed it), mark it as "
866 "<literal>done</literal> (close it) by sending an explanation message to "
867 "<email><replaceable>123</replaceable>-done@&bugs-host;</email>.  If you're "
868 "fixing a bug by changing and uploading the package, you can automate bug "
869 "closing as described in <xref linkend=\"upload-bugfix\"/>."
870 msgstr ""
871
872 #. type: Content of: <chapter><section><section><para>
873 #: pkgs.dbk:621
874 msgid ""
875 "You should <emphasis>never</emphasis> close bugs via the bug server "
876 "<literal>close</literal> command sent to &email-bts-control;.  If you do so, "
877 "the original submitter will not receive any information about why the bug "
878 "was closed."
879 msgstr ""
880
881 #. type: Content of: <chapter><section><section><title>
882 #: pkgs.dbk:629
883 msgid "Bug housekeeping"
884 msgstr ""
885
886 #. type: Content of: <chapter><section><section><para>
887 #: pkgs.dbk:631
888 msgid ""
889 "As a package maintainer, you will often find bugs in other packages or have "
890 "bugs reported against your packages which are actually bugs in other "
891 "packages.  The bug tracking system's features are described in the <ulink "
892 "url=\"&url-bts-devel;\">BTS documentation for Debian developers</ulink>.  "
893 "Operations such as reassigning, merging, and tagging bug reports are "
894 "described in the <ulink url=\"&url-bts-control;\">BTS control server "
895 "documentation</ulink>.  This section contains some guidelines for managing "
896 "your own bugs, based on the collective Debian developer experience."
897 msgstr ""
898
899 #. type: Content of: <chapter><section><section><para>
900 #: pkgs.dbk:642
901 msgid ""
902 "Filing bugs for problems that you find in other packages is one of the civic "
903 "obligations of maintainership, see <xref linkend=\"submit-bug\"/> for "
904 "details.  However, handling the bugs in your own packages is even more "
905 "important."
906 msgstr ""
907
908 #. type: Content of: <chapter><section><section><para>
909 #: pkgs.dbk:647
910 msgid "Here's a list of steps that you may follow to handle a bug report:"
911 msgstr ""
912
913 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
914 #: pkgs.dbk:652
915 msgid ""
916 "Decide whether the report corresponds to a real bug or not.  Sometimes users "
917 "are just calling a program in the wrong way because they haven't read the "
918 "documentation.  If you diagnose this, just close the bug with enough "
919 "information to let the user correct their problem (give pointers to the good "
920 "documentation and so on).  If the same report comes up again and again you "
921 "may ask yourself if the documentation is good enough or if the program "
922 "shouldn't detect its misuse in order to give an informative error message.  "
923 "This is an issue that may need to be brought up with the upstream author."
924 msgstr ""
925
926 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
927 #: pkgs.dbk:662
928 msgid ""
929 "If the bug submitter disagrees with your decision to close the bug, they may "
930 "reopen it until you find an agreement on how to handle it.  If you don't "
931 "find any, you may want to tag the bug <literal>wontfix</literal> to let "
932 "people know that the bug exists but that it won't be corrected.  If this "
933 "situation is unacceptable, you (or the submitter) may want to require a "
934 "decision of the technical committee by reassigning the bug to <systemitem "
935 "role=\"package\">tech-ctte</systemitem> (you may use the clone command of "
936 "the BTS if you wish to keep it reported against your package).  Before doing "
937 "so, please read the <ulink url=\"&url-tech-ctte;\">recommended "
938 "procedure</ulink>."
939 msgstr ""
940
941 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
942 #: pkgs.dbk:676
943 msgid ""
944 "If the bug is real but it's caused by another package, just reassign the bug "
945 "to the right package.  If you don't know which package it should be "
946 "reassigned to, you should ask for help on <link "
947 "linkend=\"irc-channels\">IRC</link> or on &email-debian-devel;.  Please "
948 "inform the maintainer(s) of the package you reassign the bug to, for example "
949 "by Cc:ing the message that does the reassign to "
950 "<email><replaceable>packagename</replaceable>@packages.debian.org</email> "
951 "and explaining your reasons in that mail. Please note that a simple "
952 "reassignment is <emphasis>not</emphasis> e-mailed to the maintainers of the "
953 "package being reassigned to, so they won't know about it until they look at "
954 "a bug overview for their packages."
955 msgstr ""
956
957 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
958 #: pkgs.dbk:688
959 msgid ""
960 "If the bug affects the operation of your package, please consider cloning "
961 "the bug and reassigning the clone to the package that really causes the "
962 "behavior. Otherwise, the bug will not be shown in your package's bug list, "
963 "possibly causing users to report the same bug over and over again. You "
964 "should block \"your\" bug with the reassigned, cloned bug to document the "
965 "relationship."
966 msgstr ""
967
968 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
969 #: pkgs.dbk:698
970 msgid ""
971 "Sometimes you also have to adjust the severity of the bug so that it matches "
972 "our definition of the severity.  That's because people tend to inflate the "
973 "severity of bugs to make sure their bugs are fixed quickly.  Some bugs may "
974 "even be dropped to wishlist severity when the requested change is just "
975 "cosmetic."
976 msgstr ""
977
978 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
979 #: pkgs.dbk:706
980 msgid ""
981 "If the bug is real but the same problem has already been reported by someone "
982 "else, then the two relevant bug reports should be merged into one using the "
983 "merge command of the BTS.  In this way, when the bug is fixed, all of the "
984 "submitters will be informed of this.  (Note, however, that emails sent to "
985 "one bug report's submitter won't automatically be sent to the other report's "
986 "submitter.) For more details on the technicalities of the merge command and "
987 "its relative, the unmerge command, see the BTS control server documentation."
988 msgstr ""
989
990 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
991 #: pkgs.dbk:717
992 msgid ""
993 "The bug submitter may have forgotten to provide some information, in which "
994 "case you have to ask them for the required information.  You may use the "
995 "<literal>moreinfo</literal> tag to mark the bug as such.  Moreover if you "
996 "can't reproduce the bug, you tag it <literal>unreproducible</literal>.  "
997 "Anyone who can reproduce the bug is then invited to provide more information "
998 "on how to reproduce it.  After a few months, if this information has not "
999 "been sent by someone, the bug may be closed."
1000 msgstr ""
1001
1002 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1003 #: pkgs.dbk:728
1004 msgid ""
1005 "If the bug is related to the packaging, you just fix it.  If you are not "
1006 "able to fix it yourself, then tag the bug as <literal>help</literal>.  You "
1007 "can also ask for help on &email-debian-devel; or &email-debian-qa;.  If it's "
1008 "an upstream problem, you have to forward it to the upstream author.  "
1009 "Forwarding a bug is not enough, you have to check at each release if the bug "
1010 "has been fixed or not.  If it has, you just close it, otherwise you have to "
1011 "remind the author about it.  If you have the required skills you can prepare "
1012 "a patch that fixes the bug and send it to the author at the same time.  Make "
1013 "sure to send the patch to the BTS and to tag the bug as "
1014 "<literal>patch</literal>."
1015 msgstr ""
1016
1017 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1018 #: pkgs.dbk:742
1019 msgid ""
1020 "If you have fixed a bug in your local copy, or if a fix has been committed "
1021 "to the VCS repository, you may tag the bug as <literal>pending</literal> to "
1022 "let people know that the bug is corrected and that it will be closed with "
1023 "the next upload (add the <literal>closes:</literal> in the "
1024 "<filename>changelog</filename>).  This is particularly useful if you are "
1025 "several developers working on the same package."
1026 msgstr ""
1027
1028 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1029 #: pkgs.dbk:752
1030 msgid ""
1031 "Once a corrected package is available in the archive, the bug should be "
1032 "closed indicating the version in which it was fixed. This can be done "
1033 "automatically, read <xref linkend=\"upload-bugfix\"/>."
1034 msgstr ""
1035
1036 #. type: Content of: <chapter><section><section><title>
1037 #: pkgs.dbk:761
1038 msgid "When bugs are closed by new uploads"
1039 msgstr ""
1040
1041 #. type: Content of: <chapter><section><section><para>
1042 #: pkgs.dbk:763
1043 msgid ""
1044 "As bugs and problems are fixed in your packages, it is your responsibility "
1045 "as the package maintainer to close these bugs.  However, you should not "
1046 "close a bug until the package which fixes the bug has been accepted into the "
1047 "Debian archive.  Therefore, once you get notification that your updated "
1048 "package has been installed into the archive, you can and should close the "
1049 "bug in the BTS.  Also, the bug should be closed with the correct version."
1050 msgstr ""
1051
1052 #. type: Content of: <chapter><section><section><para>
1053 #: pkgs.dbk:771
1054 msgid ""
1055 "However, it's possible to avoid having to manually close bugs after the "
1056 "upload — just list the fixed bugs in your "
1057 "<filename>debian/changelog</filename> file, following a certain syntax, and "
1058 "the archive maintenance software will close the bugs for you.  For example:"
1059 msgstr ""
1060
1061 #. type: Content of: <chapter><section><section><screen>
1062 #: pkgs.dbk:777
1063 #, no-wrap
1064 msgid ""
1065 "acme-cannon (3.1415) unstable; urgency=low\n"
1066 "\n"
1067 "  * Frobbed with options (closes: Bug#98339)\n"
1068 "  * Added safety to prevent operator dismemberment, closes: bug#98765,\n"
1069 "    bug#98713, #98714.\n"
1070 "  * Added man page. Closes: #98725.\n"
1071 msgstr ""
1072
1073 #. type: Content of: <chapter><section><section><para>
1074 #: pkgs.dbk:785
1075 msgid ""
1076 "Technically speaking, the following Perl regular expression describes how "
1077 "bug closing changelogs are identified:"
1078 msgstr ""
1079
1080 #. type: Content of: <chapter><section><section><screen>
1081 #: pkgs.dbk:789
1082 #, no-wrap
1083 msgid "  /closes:\\s*(?:bug)?\\#\\s*\\d+(?:,\\s*(?:bug)?\\#\\s*\\d+)*/ig\n"
1084 msgstr ""
1085
1086 #. type: Content of: <chapter><section><section><para>
1087 #: pkgs.dbk:792
1088 msgid ""
1089 "We prefer the <literal>closes: #<replaceable>XXX</replaceable></literal> "
1090 "syntax, as it is the most concise entry and the easiest to integrate with "
1091 "the text of the <filename>changelog</filename>.  Unless specified different "
1092 "by the <literal>-v</literal>-switch to <command>dpkg-buildpackage</command>, "
1093 "only the bugs closed in the most recent changelog entry are closed "
1094 "(basically, exactly the bugs mentioned in the changelog-part in the "
1095 "<filename>.changes</filename> file are closed)."
1096 msgstr ""
1097
1098 #. type: Content of: <chapter><section><section><para>
1099 #: pkgs.dbk:801
1100 msgid ""
1101 "Historically, uploads identified as <link linkend=\"nmu\">non-maintainer "
1102 "upload (NMU)</link> were tagged <literal>fixed</literal> instead of being "
1103 "closed, but that practice was ceased with the advent of version-tracking.  "
1104 "The same applied to the tag <literal>fixed-in-experimental</literal>."
1105 msgstr ""
1106
1107 #. type: Content of: <chapter><section><section><para>
1108 #: pkgs.dbk:807
1109 msgid ""
1110 "If you happen to mistype a bug number or forget a bug in the changelog "
1111 "entries, don't hesitate to undo any damage the error caused.  To reopen "
1112 "wrongly closed bugs, send a <literal>reopen "
1113 "<replaceable>XXX</replaceable></literal> command to the bug tracking "
1114 "system's control address, &email-bts-control;.  To close any remaining bugs "
1115 "that were fixed by your upload, email the <filename>.changes</filename> file "
1116 "to <email><replaceable>XXX</replaceable>-done@&bugs-host;</email>, where "
1117 "<replaceable>XXX</replaceable> is the bug number, and put Version: "
1118 "<replaceable>YYY</replaceable> and an empty line as the first two lines of "
1119 "the body of the email, where <replaceable>YYY</replaceable> is the first "
1120 "version where the bug has been fixed."
1121 msgstr ""
1122
1123 #. type: Content of: <chapter><section><section><para>
1124 #: pkgs.dbk:819
1125 msgid ""
1126 "Bear in mind that it is not obligatory to close bugs using the changelog as "
1127 "described above.  If you simply want to close bugs that don't have anything "
1128 "to do with an upload you made, do it by emailing an explanation to "
1129 "<email><replaceable>XXX</replaceable>-done@&bugs-host;</email>.  Do "
1130 "<emphasis role=\"strong\">not</emphasis> close bugs in the changelog entry "
1131 "of a version if the changes in that version of the package don't have any "
1132 "bearing on the bug."
1133 msgstr ""
1134
1135 #. type: Content of: <chapter><section><section><para>
1136 #: pkgs.dbk:827
1137 msgid ""
1138 "For general information on how to write your changelog entries, see <xref "
1139 "linkend=\"bpp-debian-changelog\"/>."
1140 msgstr ""
1141
1142 #. type: Content of: <chapter><section><section><title>
1143 #: pkgs.dbk:833
1144 msgid "Handling security-related bugs"
1145 msgstr ""
1146
1147 #. type: Content of: <chapter><section><section><para>
1148 #: pkgs.dbk:835
1149 msgid ""
1150 "Due to their sensitive nature, security-related bugs must be handled "
1151 "carefully.  The Debian Security Team exists to coordinate this activity, "
1152 "keeping track of outstanding security problems, helping maintainers with "
1153 "security problems or fixing them themselves, sending security advisories, "
1154 "and maintaining <literal>security.debian.org</literal>."
1155 msgstr ""
1156
1157 #. type: Content of: <chapter><section><section><para>
1158 #: pkgs.dbk:842
1159 msgid ""
1160 "When you become aware of a security-related bug in a Debian package, whether "
1161 "or not you are the maintainer, collect pertinent information about the "
1162 "problem, and promptly contact the security team at &email-security-team; as "
1163 "soon as possible.  <emphasis role=\"strong\">DO NOT UPLOAD</emphasis> any "
1164 "packages for <literal>stable</literal> without contacting the team.  Useful "
1165 "information includes, for example:"
1166 msgstr ""
1167
1168 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1169 #: pkgs.dbk:852
1170 msgid ""
1171 "Which versions of the package are known to be affected by the bug.  Check "
1172 "each version that is present in a supported Debian release, as well as "
1173 "<literal>testing</literal> and <literal>unstable</literal>."
1174 msgstr ""
1175
1176 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1177 #: pkgs.dbk:859
1178 msgid "The nature of the fix, if any is available (patches are especially helpful)"
1179 msgstr ""
1180
1181 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1182 #: pkgs.dbk:864
1183 msgid ""
1184 "Any fixed packages that you have prepared yourself (send only the "
1185 "<literal>.diff.gz</literal> and <literal>.dsc</literal> files and read <xref "
1186 "linkend=\"bug-security-building\"/> first)"
1187 msgstr ""
1188
1189 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1190 #: pkgs.dbk:871
1191 msgid ""
1192 "Any assistance you can provide to help with testing (exploits, regression "
1193 "testing, etc.)"
1194 msgstr ""
1195
1196 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1197 #: pkgs.dbk:877
1198 msgid ""
1199 "Any information needed for the advisory (see <xref "
1200 "linkend=\"bug-security-advisories\"/>)"
1201 msgstr ""
1202
1203 #. type: Content of: <chapter><section><section><para>
1204 #: pkgs.dbk:882
1205 msgid ""
1206 "As the maintainer of the package, you have the responsibility to maintain "
1207 "it, even in the stable release. You are in the best position to evaluate "
1208 "patches and test updated packages, so please see the sections below on how "
1209 "to prepare packages for the Security Team to handle."
1210 msgstr ""
1211
1212 #. type: Content of: <chapter><section><section><section><title>
1213 #: pkgs.dbk:888
1214 msgid "The Security Tracker"
1215 msgstr ""
1216
1217 #. type: Content of: <chapter><section><section><section><para>
1218 #: pkgs.dbk:890
1219 msgid ""
1220 "The security team maintains a central database, the <ulink "
1221 "url=\"http://security-tracker.debian.org/\">Debian Security "
1222 "Tracker</ulink>.  This contains all public information that is known about "
1223 "security issues: which packages and versions are affected or fixed, and thus "
1224 "whether stable, testing and/or unstable are vulnerable. Information that is "
1225 "still confidential is not added to the tracker."
1226 msgstr ""
1227
1228 #. type: Content of: <chapter><section><section><section><para>
1229 #: pkgs.dbk:898
1230 msgid ""
1231 "You can search it for a specific issue, but also on package name. Look for "
1232 "your package to see which issues are still open. If you can, please provide "
1233 "more information about those issues, or help to address them in your "
1234 "package.  Instructions are on the tracker web pages."
1235 msgstr ""
1236
1237 #. type: Content of: <chapter><section><section><section><title>
1238 #: pkgs.dbk:906
1239 msgid "Confidentiality"
1240 msgstr ""
1241
1242 #. type: Content of: <chapter><section><section><section><para>
1243 #: pkgs.dbk:908
1244 msgid ""
1245 "Unlike most other activities within Debian, information about security "
1246 "issues must sometimes be kept private for a time.  This allows software "
1247 "distributors to coordinate their disclosure in order to minimize their "
1248 "users' exposure.  Whether this is the case depends on the nature of the "
1249 "problem and corresponding fix, and whether it is already a matter of public "
1250 "knowledge."
1251 msgstr ""
1252
1253 #. type: Content of: <chapter><section><section><section><para>
1254 #: pkgs.dbk:915
1255 msgid "There are several ways developers can learn of a security problem:"
1256 msgstr ""
1257
1258 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1259 #: pkgs.dbk:920
1260 msgid "they notice it on a public forum (mailing list, web site, etc.)"
1261 msgstr ""
1262
1263 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1264 #: pkgs.dbk:925
1265 msgid "someone files a bug report"
1266 msgstr ""
1267
1268 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1269 #: pkgs.dbk:930
1270 msgid "someone informs them via private email"
1271 msgstr ""
1272
1273 #. type: Content of: <chapter><section><section><section><para>
1274 #: pkgs.dbk:935
1275 msgid ""
1276 "In the first two cases, the information is public and it is important to "
1277 "have a fix as soon as possible.  In the last case, however, it might not be "
1278 "public information.  In that case there are a few possible options for "
1279 "dealing with the problem:"
1280 msgstr ""
1281
1282 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1283 #: pkgs.dbk:943
1284 msgid ""
1285 "If the security exposure is minor, there is sometimes no need to keep the "
1286 "problem a secret and a fix should be made and released."
1287 msgstr ""
1288
1289 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1290 #: pkgs.dbk:949
1291 msgid ""
1292 "If the problem is severe, it is preferable to share the information with "
1293 "other vendors and coordinate a release.  The security team keeps in contact "
1294 "with the various organizations and individuals and can take care of that."
1295 msgstr ""
1296
1297 #. type: Content of: <chapter><section><section><section><para>
1298 #: pkgs.dbk:956
1299 msgid ""
1300 "In all cases if the person who reports the problem asks that it not be "
1301 "disclosed, such requests should be honored, with the obvious exception of "
1302 "informing the security team in order that a fix may be produced for a stable "
1303 "release of Debian.  When sending confidential information to the security "
1304 "team, be sure to mention this fact."
1305 msgstr ""
1306
1307 #. type: Content of: <chapter><section><section><section><para>
1308 #: pkgs.dbk:963
1309 msgid ""
1310 "Please note that if secrecy is needed you may not upload a fix to "
1311 "<literal>unstable</literal> (or anywhere else, such as a public VCS "
1312 "repository).  It is not sufficient to obfuscate the details of the change, "
1313 "as the code itself is public, and can (and will) be examined by the general "
1314 "public."
1315 msgstr ""
1316
1317 #. type: Content of: <chapter><section><section><section><para>
1318 #: pkgs.dbk:970
1319 msgid ""
1320 "There are two reasons for releasing information even though secrecy is "
1321 "requested: the problem has been known for a while, or the problem or exploit "
1322 "has become public."
1323 msgstr ""
1324
1325 #. type: Content of: <chapter><section><section><section><para>
1326 #: pkgs.dbk:975
1327 msgid ""
1328 "The Security Team has a PGP-key to enable encrypted communication about "
1329 "sensitive issues. See the <ulink "
1330 "url=\"http://www.debian.org/security/faq#contact\">Security Team FAQ</ulink> "
1331 "for details."
1332 msgstr ""
1333
1334 #. type: Content of: <chapter><section><section><section><title>
1335 #: pkgs.dbk:981
1336 msgid "Security Advisories"
1337 msgstr ""
1338
1339 #. type: Content of: <chapter><section><section><section><para>
1340 #: pkgs.dbk:983
1341 msgid ""
1342 "Security advisories are only issued for the current, released stable "
1343 "distribution, and <emphasis>not</emphasis> for <literal>testing</literal> or "
1344 "<literal>unstable</literal>.  When released, advisories are sent to the "
1345 "&email-debian-security-announce; mailing list and posted on <ulink "
1346 "url=\"&url-debian-security-advisories;\">the security web page</ulink>.  "
1347 "Security advisories are written and posted by the security team.  However "
1348 "they certainly do not mind if a maintainer can supply some of the "
1349 "information for them, or write part of the text.  Information that should be "
1350 "in an advisory includes:"
1351 msgstr ""
1352
1353 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1354 #: pkgs.dbk:996
1355 msgid "A description of the problem and its scope, including:"
1356 msgstr ""
1357
1358 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
1359 #: pkgs.dbk:1001
1360 msgid "The type of problem (privilege escalation, denial of service, etc.)"
1361 msgstr ""
1362
1363 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
1364 #: pkgs.dbk:1006
1365 msgid "What privileges may be gained, and by whom (if any)"
1366 msgstr ""
1367
1368 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
1369 #: pkgs.dbk:1011
1370 msgid "How it can be exploited"
1371 msgstr ""
1372
1373 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
1374 #: pkgs.dbk:1016
1375 msgid "Whether it is remotely or locally exploitable"
1376 msgstr ""
1377
1378 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
1379 #: pkgs.dbk:1021
1380 msgid "How the problem was fixed"
1381 msgstr ""
1382
1383 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1384 #: pkgs.dbk:1026
1385 msgid "This information allows users to assess the threat to their systems."
1386 msgstr ""
1387
1388 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1389 #: pkgs.dbk:1031
1390 msgid "Version numbers of affected packages"
1391 msgstr ""
1392
1393 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1394 #: pkgs.dbk:1036
1395 msgid "Version numbers of fixed packages"
1396 msgstr ""
1397
1398 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1399 #: pkgs.dbk:1041
1400 msgid ""
1401 "Information on where to obtain the updated packages (usually from the Debian "
1402 "security archive)"
1403 msgstr ""
1404
1405 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1406 #: pkgs.dbk:1047
1407 msgid ""
1408 "References to upstream advisories, <ulink "
1409 "url=\"http://cve.mitre.org\">CVE</ulink> identifiers, and any other "
1410 "information useful in cross-referencing the vulnerability"
1411 msgstr ""
1412
1413 #. type: Content of: <chapter><section><section><section><title>
1414 #: pkgs.dbk:1056
1415 msgid "Preparing packages to address security issues"
1416 msgstr ""
1417
1418 #. type: Content of: <chapter><section><section><section><para>
1419 #: pkgs.dbk:1058
1420 msgid ""
1421 "One way that you can assist the security team in their duties is to provide "
1422 "them with fixed packages suitable for a security advisory for the stable "
1423 "Debian release."
1424 msgstr ""
1425
1426 #. type: Content of: <chapter><section><section><section><para>
1427 #: pkgs.dbk:1063
1428 msgid ""
1429 "When an update is made to the stable release, care must be taken to avoid "
1430 "changing system behavior or introducing new bugs.  In order to do this, make "
1431 "as few changes as possible to fix the bug.  Users and administrators rely on "
1432 "the exact behavior of a release once it is made, so any change that is made "
1433 "might break someone's system.  This is especially true of libraries: make "
1434 "sure you never change the API or ABI, no matter how small the change."
1435 msgstr ""
1436
1437 #. type: Content of: <chapter><section><section><section><para>
1438 #: pkgs.dbk:1071
1439 msgid ""
1440 "This means that moving to a new upstream version is not a good solution.  "
1441 "Instead, the relevant changes should be back-ported to the version present "
1442 "in the current stable Debian release.  Generally, upstream maintainers are "
1443 "willing to help if needed.  If not, the Debian security team may be able to "
1444 "help."
1445 msgstr ""
1446
1447 #. type: Content of: <chapter><section><section><section><para>
1448 #: pkgs.dbk:1077
1449 msgid ""
1450 "In some cases, it is not possible to back-port a security fix, for example "
1451 "when large amounts of source code need to be modified or rewritten.  If this "
1452 "happens, it may be necessary to move to a new upstream version.  However, "
1453 "this is only done in extreme situations, and you must always coordinate that "
1454 "with the security team beforehand."
1455 msgstr ""
1456
1457 #. type: Content of: <chapter><section><section><section><para>
1458 #: pkgs.dbk:1084
1459 msgid ""
1460 "Related to this is another important guideline: always test your changes.  "
1461 "If you have an exploit available, try it and see if it indeed succeeds on "
1462 "the unpatched package and fails on the fixed package.  Test other, normal "
1463 "actions as well, as sometimes a security fix can break seemingly unrelated "
1464 "features in subtle ways."
1465 msgstr ""
1466
1467 #. type: Content of: <chapter><section><section><section><para>
1468 #: pkgs.dbk:1091
1469 msgid ""
1470 "Do <emphasis role=\"strong\">NOT</emphasis> include any changes in your "
1471 "package which are not directly related to fixing the vulnerability.  These "
1472 "will only need to be reverted, and this wastes time.  If there are other "
1473 "bugs in your package that you would like to fix, make an upload to "
1474 "proposed-updates in the usual way, after the security advisory is issued.  "
1475 "The security update mechanism is not a means for introducing changes to your "
1476 "package which would otherwise be rejected from the stable release, so please "
1477 "do not attempt to do this."
1478 msgstr ""
1479
1480 #. type: Content of: <chapter><section><section><section><para>
1481 #: pkgs.dbk:1101
1482 msgid ""
1483 "Review and test your changes as much as possible.  Check the differences "
1484 "from the previous version repeatedly (<command>interdiff</command> from the "
1485 "<systemitem role=\"package\">patchutils</systemitem> package and "
1486 "<command>debdiff</command> from <systemitem "
1487 "role=\"package\">devscripts</systemitem> are useful tools for this, see "
1488 "<xref linkend=\"debdiff\"/>)."
1489 msgstr ""
1490
1491 #. type: Content of: <chapter><section><section><section><para>
1492 #: pkgs.dbk:1109
1493 msgid "Be sure to verify the following items:"
1494 msgstr ""
1495
1496 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1497 #: pkgs.dbk:1114
1498 msgid ""
1499 "<emphasis role=\"strong\">Target the right distribution</emphasis> in your "
1500 "<filename>debian/changelog</filename>.  For <literal>stable</literal> this "
1501 "is <literal>stable-security</literal> and for <literal>testing</literal> "
1502 "this is <literal>testing-security</literal>, and for the previous stable "
1503 "release, this is <literal>oldstable-security</literal>.  Do not target "
1504 "<replaceable>distribution</replaceable><literal>-proposed-updates</literal> "
1505 "or <literal>stable</literal>!"
1506 msgstr ""
1507
1508 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1509 #: pkgs.dbk:1125
1510 msgid "The upload should have <emphasis role=\"strong\">urgency=high</emphasis>."
1511 msgstr ""
1512
1513 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1514 #: pkgs.dbk:1130
1515 msgid ""
1516 "Make descriptive, meaningful changelog entries.  Others will rely on them to "
1517 "determine whether a particular bug was fixed.  Add "
1518 "<literal>closes:</literal> statements for any <emphasis "
1519 "role=\"strong\">Debian bugs</emphasis> filed.  Always include an external "
1520 "reference, preferably a <emphasis role=\"strong\">CVE identifier</emphasis>, "
1521 "so that it can be cross-referenced. However, if a CVE identifier has not yet "
1522 "been assigned, do not wait for it but continue the process. The identifier "
1523 "can be cross-referenced later."
1524 msgstr ""
1525
1526 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1527 #: pkgs.dbk:1141
1528 msgid ""
1529 "Make sure the <emphasis role=\"strong\">version number</emphasis> is "
1530 "proper.  It must be greater than the current package, but less than package "
1531 "versions in later distributions.  If in doubt, test it with <literal>dpkg "
1532 "--compare-versions</literal>.  Be careful not to re-use a version number "
1533 "that you have already used for a previous upload, or one that conflicts with "
1534 "a binNMU. The convention is to append "
1535 "<literal>+</literal><replaceable>codename</replaceable><literal>1</literal>, "
1536 "e.g.  <literal>1:2.4.3-4+lenny1</literal>, of course increasing 1 for any "
1537 "subsequent uploads."
1538 msgstr ""
1539
1540 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1541 #: pkgs.dbk:1154
1542 msgid ""
1543 "Unless the upstream source has been uploaded to <literal>security.debian.org "
1544 "</literal> before (by a previous security update), build the upload "
1545 "<emphasis role=\"strong\">with full upstream source</emphasis> "
1546 "(<literal>dpkg-buildpackage -sa</literal>).  If there has been a previous "
1547 "upload to <literal>security.debian.org</literal> with the same upstream "
1548 "version, you may upload without upstream source (<literal>dpkg-buildpackage "
1549 "-sd</literal>)."
1550 msgstr ""
1551
1552 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1553 #: pkgs.dbk:1164
1554 msgid ""
1555 "Be sure to use the <emphasis role=\"strong\">exact same "
1556 "<filename>*.orig.tar.{gz,bz2,lzma}</filename></emphasis> as used in the "
1557 "normal archive, otherwise it is not possible to move the security fix into "
1558 "the main archives later."
1559 msgstr ""
1560
1561 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1562 #: pkgs.dbk:1172
1563 msgid ""
1564 "Build the package on a <emphasis role=\"strong\">clean system</emphasis> "
1565 "which only has packages installed from the distribution you are building "
1566 "for. If you do not have such a system yourself, you can use a debian.org "
1567 "machine (see <xref linkend=\"server-machines\"/>) or setup a chroot (see "
1568 "<xref linkend=\"pbuilder\"/> and <xref linkend=\"debootstrap\"/>)."
1569 msgstr ""
1570
1571 #. type: Content of: <chapter><section><section><section><title>
1572 #: pkgs.dbk:1183
1573 msgid "Uploading the fixed package"
1574 msgstr ""
1575
1576 #. type: Content of: <chapter><section><section><section><para>
1577 #: pkgs.dbk:1185
1578 msgid ""
1579 "Do <emphasis role=\"strong\">NOT</emphasis> upload a package to the security "
1580 "upload queue (<literal>oldstable-security</literal>, "
1581 "<literal>stable-security</literal>, etc.) without prior authorization from "
1582 "the security team.  If the package does not exactly meet the team's "
1583 "requirements, it will cause many problems and delays in dealing with the "
1584 "unwanted upload."
1585 msgstr ""
1586
1587 #. type: Content of: <chapter><section><section><section><para>
1588 #: pkgs.dbk:1192
1589 msgid ""
1590 "Do <emphasis role=\"strong\">NOT</emphasis> upload your fix to "
1591 "<literal>proposed-updates</literal> without coordinating with the security "
1592 "team.  Packages from <literal>security.debian.org</literal> will be copied "
1593 "into the <literal>proposed-updates</literal> directory automatically.  If a "
1594 "package with the same or a higher version number is already installed into "
1595 "the archive, the security update will be rejected by the archive system.  "
1596 "That way, the stable distribution will end up without a security update for "
1597 "this package instead."
1598 msgstr ""
1599
1600 #. type: Content of: <chapter><section><section><section><para>
1601 #: pkgs.dbk:1202
1602 msgid ""
1603 "Once you have created and tested the new package and it has been approved by "
1604 "the security team, it needs to be uploaded so that it can be installed in "
1605 "the archives.  For security uploads, the place to upload to is "
1606 "<literal>ftp://security-master.debian.org/pub/SecurityUploadQueue/</literal>."
1607 msgstr ""
1608
1609 #. type: Content of: <chapter><section><section><section><para>
1610 #: pkgs.dbk:1208
1611 msgid ""
1612 "Once an upload to the security queue has been accepted, the package will "
1613 "automatically be built for all architectures and stored for verification by "
1614 "the security team."
1615 msgstr ""
1616
1617 #. type: Content of: <chapter><section><section><section><para>
1618 #: pkgs.dbk:1213
1619 msgid ""
1620 "Uploads which are waiting for acceptance or verification are only accessible "
1621 "by the security team.  This is necessary since there might be fixes for "
1622 "security problems that cannot be disclosed yet."
1623 msgstr ""
1624
1625 #. type: Content of: <chapter><section><section><section><para>
1626 #: pkgs.dbk:1218
1627 msgid ""
1628 "If a member of the security team accepts a package, it will be installed on "
1629 "<literal>security.debian.org</literal> as well as proposed for the proper "
1630 "<replaceable>distribution</replaceable><literal>-proposed-updates</literal> "
1631 "on <literal>&ftp-master-host;</literal>."
1632 msgstr ""
1633
1634 #. type: Content of: <chapter><section><title>
1635 #: pkgs.dbk:1230
1636 msgid "Moving, removing, renaming, adopting, and orphaning packages"
1637 msgstr ""
1638
1639 #. type: Content of: <chapter><section><para>
1640 #: pkgs.dbk:1232
1641 msgid ""
1642 "Some archive manipulation operations are not automated in the Debian upload "
1643 "process.  These procedures should be manually followed by maintainers.  This "
1644 "chapter gives guidelines on what to do in these cases."
1645 msgstr ""
1646
1647 #. type: Content of: <chapter><section><section><title>
1648 #: pkgs.dbk:1237
1649 msgid "Moving packages"
1650 msgstr ""
1651
1652 #. type: Content of: <chapter><section><section><para><footnote><para>
1653 #: pkgs.dbk:1241
1654 msgid ""
1655 "See the <ulink url=\"&url-debian-policy;\">Debian Policy Manual</ulink> for "
1656 "guidelines on what section a package belongs in."
1657 msgstr ""
1658
1659 #. type: Content of: <chapter><section><section><para>
1660 #: pkgs.dbk:1239
1661 msgid ""
1662 "Sometimes a package will change its section.  For instance, a package from "
1663 "the `non-free' section might be GPL'd in a later version, in which case the "
1664 "package should be moved to `main' or `contrib'.<placeholder "
1665 "type=\"footnote\" id=\"0\"/>"
1666 msgstr ""
1667
1668 #. type: Content of: <chapter><section><section><para>
1669 #: pkgs.dbk:1246
1670 msgid ""
1671 "If you need to change the section for one of your packages, change the "
1672 "package control information to place the package in the desired section, and "
1673 "re-upload the package (see the <ulink url=\"&url-debian-policy;\">Debian "
1674 "Policy Manual</ulink> for details).  You must ensure that you include the "
1675 "<filename>.orig.tar.{gz,bz2,lzma}</filename> in your upload (even if you are "
1676 "not uploading a new upstream version), or it will not appear in the new "
1677 "section together with the rest of the package.  If your new section is "
1678 "valid, it will be moved automatically.  If it does not, then contact the "
1679 "ftpmasters in order to understand what happened."
1680 msgstr ""
1681
1682 #. type: Content of: <chapter><section><section><para>
1683 #: pkgs.dbk:1258
1684 msgid ""
1685 "If, on the other hand, you need to change the <literal>subsection</literal> "
1686 "of one of your packages (e.g., ``devel'', ``admin''), the procedure is "
1687 "slightly different.  Correct the subsection as found in the control file of "
1688 "the package, and re-upload that.  Also, you'll need to get the override file "
1689 "updated, as described in <xref linkend=\"override-file\"/>."
1690 msgstr ""
1691
1692 #. type: Content of: <chapter><section><section><title>
1693 #: pkgs.dbk:1267
1694 msgid "Removing packages"
1695 msgstr ""
1696
1697 #. type: Content of: <chapter><section><section><para>
1698 #: pkgs.dbk:1269
1699 msgid ""
1700 "If for some reason you want to completely remove a package (say, if it is an "
1701 "old compatibility library which is no longer required), you need to file a "
1702 "bug against <literal>ftp.debian.org</literal> asking that the package be "
1703 "removed; as all bugs, this bug should normally have normal severity.  The "
1704 "bug title should be in the form <literal>RM: "
1705 "<replaceable>package</replaceable> <replaceable>[architecture "
1706 "list]</replaceable> -- <replaceable>reason</replaceable></literal>, where "
1707 "<replaceable>package</replaceable> is the package to be removed and "
1708 "<replaceable>reason</replaceable> is a short summary of the reason for the "
1709 "removal request.  <replaceable>[architecture list]</replaceable> is optional "
1710 "and only needed if the removal request only applies to some architectures, "
1711 "not all. Note that the <command>reportbug</command> will create a title "
1712 "conforming to these rules when you use it to report a bug against the "
1713 "<literal>ftp.debian.org</literal> pseudo-package."
1714 msgstr ""
1715
1716 #. type: Content of: <chapter><section><section><para>
1717 #: pkgs.dbk:1286
1718 msgid ""
1719 "If you want to remove a package you maintain, you should note this in the "
1720 "bug title by prepending <literal>ROM</literal> (Request Of Maintainer).  "
1721 "There are several other standard acronyms used in the reasoning for a "
1722 "package removal, see <ulink "
1723 "url=\"http://&ftp-master-host;/removals.html\"></ulink> for a complete "
1724 "list. That page also provides a convenient overview of pending removal "
1725 "requests."
1726 msgstr ""
1727
1728 #. type: Content of: <chapter><section><section><para>
1729 #: pkgs.dbk:1295
1730 msgid ""
1731 "Note that removals can only be done for the <literal>unstable</literal>, "
1732 "<literal>experimental</literal> and <literal>stable</literal> distribution.  "
1733 "Packages are not removed from <literal>testing</literal> directly.  Rather, "
1734 "they will be removed automatically after the package has been removed from "
1735 "<literal>unstable</literal> and no package in <literal>testing</literal> "
1736 "depends on it."
1737 msgstr ""
1738
1739 #. type: Content of: <chapter><section><section><para>
1740 #: pkgs.dbk:1304
1741 msgid ""
1742 "There is one exception when an explicit removal request is not necessary: If "
1743 "a (source or binary) package is an orphan, it will be removed "
1744 "semi-automatically.  For a binary-package, this means if there is no longer "
1745 "any source package producing this binary package; if the binary package is "
1746 "just no longer produced on some architectures, a removal request is still "
1747 "necessary.  For a source-package, this means that all binary packages it "
1748 "refers to have been taken over by another source package."
1749 msgstr ""
1750
1751 #. type: Content of: <chapter><section><section><para>
1752 #: pkgs.dbk:1313
1753 msgid ""
1754 "In your removal request, you have to detail the reasons justifying the "
1755 "request.  This is to avoid unwanted removals and to keep a trace of why a "
1756 "package has been removed.  For example, you can provide the name of the "
1757 "package that supersedes the one to be removed."
1758 msgstr ""
1759
1760 #. type: Content of: <chapter><section><section><para>
1761 #: pkgs.dbk:1319
1762 msgid ""
1763 "Usually you only ask for the removal of a package maintained by yourself.  "
1764 "If you want to remove another package, you have to get the approval of its "
1765 "maintainer. Should the package be orphaned and thus have no maintainer, you "
1766 "should first discuss the removal request on &email-debian-qa;. If there is a "
1767 "consensus that the package should be removed, you should reassign and "
1768 "retitle the <literal>O:</literal> bug filed against the "
1769 "<literal>wnpp</literal> package instead of filing a new bug as removal "
1770 "request."
1771 msgstr ""
1772
1773 #. type: Content of: <chapter><section><section><para>
1774 #: pkgs.dbk:1329
1775 msgid ""
1776 "Further information relating to these and other package removal related "
1777 "topics may be found at <ulink "
1778 "url=\"http://wiki.debian.org/ftpmaster_Removals\"></ulink> and <ulink "
1779 "url=\"&url-debian-qa;howto-remove.html\"></ulink>."
1780 msgstr ""
1781
1782 #. type: Content of: <chapter><section><section><para>
1783 #: pkgs.dbk:1334
1784 msgid ""
1785 "If in doubt concerning whether a package is disposable, email "
1786 "&email-debian-devel; asking for opinions.  Also of interest is the "
1787 "<command>apt-cache</command> program from the <systemitem "
1788 "role=\"package\">apt</systemitem> package.  When invoked as "
1789 "<literal>apt-cache showpkg <replaceable>package</replaceable></literal>, the "
1790 "program will show details for <replaceable>package</replaceable>, including "
1791 "reverse depends.  Other useful programs include <command>apt-cache "
1792 "rdepends</command>, <command>apt-rdepends</command>, "
1793 "<command>build-rdeps</command> (in the <systemitem "
1794 "role=\"package\">devscripts</systemitem> package) and "
1795 "<command>grep-dctrl</command>.  Removal of orphaned packages is discussed on "
1796 "&email-debian-qa;."
1797 msgstr ""
1798
1799 #. type: Content of: <chapter><section><section><para>
1800 #: pkgs.dbk:1347
1801 msgid ""
1802 "Once the package has been removed, the package's bugs should be handled.  "
1803 "They should either be reassigned to another package in the case where the "
1804 "actual code has evolved into another package (e.g.  "
1805 "<literal>libfoo12</literal> was removed because <literal>libfoo13</literal> "
1806 "supersedes it) or closed if the software is simply no longer part of "
1807 "Debian.  When closing the bugs, to avoid marking the bugs as fixed in "
1808 "versions of the packages in previous Debian releases, they should be marked "
1809 "as fixed in the version "
1810 "<literal>&lt;most-recent-version-ever-in-Debian&gt;+rm</literal>."
1811 msgstr ""
1812
1813 #. type: Content of: <chapter><section><section><section><title>
1814 #: pkgs.dbk:1358
1815 msgid "Removing packages from <filename>Incoming</filename>"
1816 msgstr ""
1817
1818 #. type: Content of: <chapter><section><section><section><para>
1819 #: pkgs.dbk:1360
1820 msgid ""
1821 "In the past, it was possible to remove packages from "
1822 "<filename>incoming</filename>.  However, with the introduction of the new "
1823 "incoming system, this is no longer possible.  Instead, you have to upload a "
1824 "new revision of your package with a higher version than the package you want "
1825 "to replace.  Both versions will be installed in the archive but only the "
1826 "higher version will actually be available in <literal>unstable</literal> "
1827 "since the previous version will immediately be replaced by the higher.  "
1828 "However, if you do proper testing of your packages, the need to replace a "
1829 "package should not occur too often anyway."
1830 msgstr ""
1831
1832 #. type: Content of: <chapter><section><section><title>
1833 #: pkgs.dbk:1375
1834 msgid "Replacing or renaming packages"
1835 msgstr ""
1836
1837 #. type: Content of: <chapter><section><section><para>
1838 #: pkgs.dbk:1377
1839 msgid ""
1840 "When the upstream maintainers for one of your packages chose to rename their "
1841 "software (or you made a mistake naming your package), you should follow a "
1842 "two-step process to rename it. In the first step, change the "
1843 "<filename>debian/control</filename> file to reflect the new name and to "
1844 "replace, provide and conflict with the obsolete package name (see the <ulink "
1845 "url=\"&url-debian-policy;\">Debian Policy Manual</ulink> for details).  "
1846 "Please note that you should only add a <literal>Provides</literal> relation "
1847 "if all packages depending on the obsolete package name continue to work "
1848 "after the renaming. Once you've uploaded the package and the package has "
1849 "moved into the archive, file a bug against <literal>ftp.debian.org</literal> "
1850 "asking to remove the package with the obsolete name (see <xref "
1851 "linkend=\"removing-pkgs\"/>).  Do not forget to properly reassign the "
1852 "package's bugs at the same time."
1853 msgstr ""
1854
1855 #. type: Content of: <chapter><section><section><para>
1856 #: pkgs.dbk:1393
1857 msgid ""
1858 "At other times, you may make a mistake in constructing your package and wish "
1859 "to replace it.  The only way to do this is to increase the version number "
1860 "and upload a new version.  The old version will be expired in the usual "
1861 "manner.  Note that this applies to each part of your package, including the "
1862 "sources: if you wish to replace the upstream source tarball of your package, "
1863 "you will need to upload it with a different version.  An easy possibility is "
1864 "to replace <filename>foo_1.00.orig.tar.gz</filename> with "
1865 "<filename>foo_1.00+0.orig.tar.gz</filename> or "
1866 "<filename>foo_1.00.orig.tar.bz2</filename>.  This restriction gives each "
1867 "file on the ftp site a unique name, which helps to ensure consistency across "
1868 "the mirror network."
1869 msgstr ""
1870
1871 #. type: Content of: <chapter><section><section><title>
1872 #: pkgs.dbk:1408
1873 msgid "Orphaning a package"
1874 msgstr ""
1875
1876 #. type: Content of: <chapter><section><section><para>
1877 #: pkgs.dbk:1410
1878 msgid ""
1879 "If you can no longer maintain a package, you need to inform others, and see "
1880 "that the package is marked as orphaned.  You should set the package "
1881 "maintainer to <literal>Debian QA Group &orphan-address;</literal> and submit "
1882 "a bug report against the pseudo package <systemitem "
1883 "role=\"package\">wnpp</systemitem>.  The bug report should be titled "
1884 "<literal>O: <replaceable>package</replaceable> -- <replaceable>short "
1885 "description</replaceable></literal> indicating that the package is now "
1886 "orphaned.  The severity of the bug should be set to "
1887 "<literal>normal</literal>; if the package has a priority of standard or "
1888 "higher, it should be set to important.  If you feel it's necessary, send a "
1889 "copy to &email-debian-devel; by putting the address in the X-Debbugs-CC: "
1890 "header of the message (no, don't use CC:, because that way the message's "
1891 "subject won't indicate the bug number)."
1892 msgstr ""
1893
1894 #. type: Content of: <chapter><section><section><para>
1895 #: pkgs.dbk:1425
1896 msgid ""
1897 "If you just intend to give the package away, but you can keep maintainership "
1898 "for the moment, then you should instead submit a bug against <systemitem "
1899 "role=\"package\">wnpp</systemitem> and title it <literal>RFA: "
1900 "<replaceable>package</replaceable> -- <replaceable>short "
1901 "description</replaceable></literal>.  <literal>RFA</literal> stands for "
1902 "<literal>Request For Adoption</literal>."
1903 msgstr ""
1904
1905 #. type: Content of: <chapter><section><section><para>
1906 #: pkgs.dbk:1433
1907 msgid "More information is on the <ulink url=\"&url-wnpp;\">WNPP web pages</ulink>."
1908 msgstr ""
1909
1910 #. type: Content of: <chapter><section><section><title>
1911 #: pkgs.dbk:1439
1912 msgid "Adopting a package"
1913 msgstr ""
1914
1915 #. type: Content of: <chapter><section><section><para>
1916 #: pkgs.dbk:1441
1917 msgid ""
1918 "A list of packages in need of a new maintainer is available in the <ulink "
1919 "url=\"&url-wnpp;\">Work-Needing and Prospective Packages list "
1920 "(WNPP)</ulink>.  If you wish to take over maintenance of any of the packages "
1921 "listed in the WNPP, please take a look at the aforementioned page for "
1922 "information and procedures."
1923 msgstr ""
1924
1925 #. type: Content of: <chapter><section><section><para>
1926 #: pkgs.dbk:1448
1927 msgid ""
1928 "It is not OK to simply take over a package that you feel is neglected — that "
1929 "would be package hijacking.  You can, of course, contact the current "
1930 "maintainer and ask them if you may take over the package.  If you have "
1931 "reason to believe a maintainer has gone AWOL (absent without leave), see "
1932 "<xref linkend=\"mia-qa\"/>."
1933 msgstr ""
1934
1935 #. type: Content of: <chapter><section><section><para>
1936 #: pkgs.dbk:1454
1937 msgid ""
1938 "Generally, you may not take over the package without the assent of the "
1939 "current maintainer.  Even if they ignore you, that is still not grounds to "
1940 "take over a package.  Complaints about maintainers should be brought up on "
1941 "the developers' mailing list.  If the discussion doesn't end with a positive "
1942 "conclusion, and the issue is of a technical nature, consider bringing it to "
1943 "the attention of the technical committee (see the <ulink "
1944 "url=\"&url-tech-ctte;\">technical committee web page</ulink> for more "
1945 "information)."
1946 msgstr ""
1947
1948 #. type: Content of: <chapter><section><section><para>
1949 #: pkgs.dbk:1464
1950 msgid ""
1951 "If you take over an old package, you probably want to be listed as the "
1952 "package's official maintainer in the bug system.  This will happen "
1953 "automatically once you upload a new version with an updated "
1954 "<literal>Maintainer</literal> field, although it can take a few hours after "
1955 "the upload is done.  If you do not expect to upload a new version for a "
1956 "while, you can use <xref linkend=\"pkg-tracking-system\"/> to get the bug "
1957 "reports.  However, make sure that the old maintainer has no problem with the "
1958 "fact that they will continue to receive the bugs during that time."
1959 msgstr ""
1960
1961 #. type: Content of: <chapter><section><title>
1962 #: pkgs.dbk:1478
1963 msgid "Porting and being ported"
1964 msgstr ""
1965
1966 #. type: Content of: <chapter><section><para>
1967 #: pkgs.dbk:1480
1968 msgid ""
1969 "Debian supports an ever-increasing number of architectures.  Even if you are "
1970 "not a porter, and you don't use any architecture but one, it is part of your "
1971 "duty as a maintainer to be aware of issues of portability.  Therefore, even "
1972 "if you are not a porter, you should read most of this chapter."
1973 msgstr ""
1974
1975 #. type: Content of: <chapter><section><para>
1976 #: pkgs.dbk:1486
1977 msgid ""
1978 "Porting is the act of building Debian packages for architectures that are "
1979 "different from the original architecture of the package maintainer's binary "
1980 "package.  It is a unique and essential activity.  In fact, porters do most "
1981 "of the actual compiling of Debian packages.  For instance, when a maintainer "
1982 "uploads a (portable) source packages with binaries for the "
1983 "<literal>i386</literal> architecture, it will be built for each of the other "
1984 "architectures, amounting to &number-of-arches; more builds."
1985 msgstr ""
1986
1987 #. type: Content of: <chapter><section><section><title>
1988 #: pkgs.dbk:1495
1989 msgid "Being kind to porters"
1990 msgstr ""
1991
1992 #. type: Content of: <chapter><section><section><para>
1993 #: pkgs.dbk:1497
1994 msgid ""
1995 "Porters have a difficult and unique task, since they are required to deal "
1996 "with a large volume of packages.  Ideally, every source package should build "
1997 "right out of the box.  Unfortunately, this is often not the case.  This "
1998 "section contains a checklist of ``gotchas'' often committed by Debian "
1999 "maintainers — common problems which often stymie porters, and make their "
2000 "jobs unnecessarily difficult."
2001 msgstr ""
2002
2003 #. type: Content of: <chapter><section><section><para>
2004 #: pkgs.dbk:1505
2005 msgid ""
2006 "The first and most important thing is to respond quickly to bug or issues "
2007 "raised by porters.  Please treat porters with courtesy, as if they were in "
2008 "fact co-maintainers of your package (which, in a way, they are).  Please be "
2009 "tolerant of succinct or even unclear bug reports; do your best to hunt down "
2010 "whatever the problem is."
2011 msgstr ""
2012
2013 #. type: Content of: <chapter><section><section><para>
2014 #: pkgs.dbk:1512
2015 msgid ""
2016 "By far, most of the problems encountered by porters are caused by "
2017 "<emphasis>packaging bugs</emphasis> in the source packages.  Here is a "
2018 "checklist of things you should check or be aware of."
2019 msgstr ""
2020
2021 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2022 #: pkgs.dbk:1519
2023 msgid ""
2024 "Make sure that your <literal>Build-Depends</literal> and "
2025 "<literal>Build-Depends-Indep</literal> settings in "
2026 "<filename>debian/control</filename> are set properly.  The best way to "
2027 "validate this is to use the <systemitem "
2028 "role=\"package\">debootstrap</systemitem> package to create an "
2029 "<literal>unstable</literal> chroot environment (see <xref "
2030 "linkend=\"debootstrap\"/>).  Within that chrooted environment, install the "
2031 "<systemitem role=\"package\">build-essential</systemitem> package and any "
2032 "package dependencies mentioned in <literal>Build-Depends</literal> and/or "
2033 "<literal>Build-Depends-Indep</literal>.  Finally, try building your package "
2034 "within that chrooted environment.  These steps can be automated by the use "
2035 "of the <command>pbuilder</command> program which is provided by the package "
2036 "of the same name (see <xref linkend=\"pbuilder\"/>)."
2037 msgstr ""
2038
2039 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2040 #: pkgs.dbk:1534
2041 msgid ""
2042 "If you can't set up a proper chroot, <command>dpkg-depcheck</command> may be "
2043 "of assistance (see <xref linkend=\"dpkg-depcheck\"/>)."
2044 msgstr ""
2045
2046 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2047 #: pkgs.dbk:1538
2048 msgid ""
2049 "See the <ulink url=\"&url-debian-policy;\">Debian Policy Manual</ulink> for "
2050 "instructions on setting build dependencies."
2051 msgstr ""
2052
2053 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2054 #: pkgs.dbk:1544
2055 msgid ""
2056 "Don't set architecture to a value other than <literal>all</literal> or "
2057 "<literal>any</literal> unless you really mean it.  In too many cases, "
2058 "maintainers don't follow the instructions in the <ulink "
2059 "url=\"&url-debian-policy;\">Debian Policy Manual</ulink>.  Setting your "
2060 "architecture to only one architecture (such as <literal>i386</literal> or "
2061 "<literal>amd64</literal>) is usually incorrect."
2062 msgstr ""
2063
2064 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2065 #: pkgs.dbk:1554
2066 msgid ""
2067 "Make sure your source package is correct.  Do <literal>dpkg-source -x "
2068 "<replaceable>package</replaceable>.dsc</literal> to make sure your source "
2069 "package unpacks properly.  Then, in there, try building your package from "
2070 "scratch with <command>dpkg-buildpackage</command>."
2071 msgstr ""
2072
2073 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2074 #: pkgs.dbk:1562
2075 msgid ""
2076 "Make sure you don't ship your source package with the "
2077 "<filename>debian/files</filename> or <filename>debian/substvars</filename> "
2078 "files.  They should be removed by the <literal>clean</literal> target of "
2079 "<filename>debian/rules</filename>."
2080 msgstr ""
2081
2082 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2083 #: pkgs.dbk:1570
2084 msgid ""
2085 "Make sure you don't rely on locally installed or hacked configurations or "
2086 "programs.  For instance, you should never be calling programs in "
2087 "<filename>/usr/local/bin</filename> or the like.  Try not to rely on "
2088 "programs being setup in a special way.  Try building your package on another "
2089 "machine, even if it's the same architecture."
2090 msgstr ""
2091
2092 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2093 #: pkgs.dbk:1579
2094 msgid ""
2095 "Don't depend on the package you're building being installed already (a "
2096 "sub-case of the above issue). There are, of course, exceptions to this rule, "
2097 "but be aware that any case like this needs manual bootstrapping and cannot "
2098 "be done by automated package builders."
2099 msgstr ""
2100
2101 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2102 #: pkgs.dbk:1587
2103 msgid ""
2104 "Don't rely on the compiler being a certain version, if possible.  If not, "
2105 "then make sure your build dependencies reflect the restrictions, although "
2106 "you are probably asking for trouble, since different architectures sometimes "
2107 "standardize on different compilers."
2108 msgstr ""
2109
2110 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2111 #: pkgs.dbk:1595
2112 msgid ""
2113 "Make sure your <filename>debian/rules</filename> contains separate "
2114 "<literal>binary-arch</literal> and <literal>binary-indep</literal> targets, "
2115 "as the Debian Policy Manual requires.  Make sure that both targets work "
2116 "independently, that is, that you can call the target without having called "
2117 "the other before.  To test this, try to run <command>dpkg-buildpackage "
2118 "-B</command>."
2119 msgstr ""
2120
2121 #. type: Content of: <chapter><section><section><title>
2122 #: pkgs.dbk:1606
2123 msgid "Guidelines for porter uploads"
2124 msgstr ""
2125
2126 #. type: Content of: <chapter><section><section><para>
2127 #: pkgs.dbk:1608
2128 msgid ""
2129 "If the package builds out of the box for the architecture to be ported to, "
2130 "you are in luck and your job is easy.  This section applies to that case; it "
2131 "describes how to build and upload your binary package so that it is properly "
2132 "installed into the archive.  If you do have to patch the package in order to "
2133 "get it to compile for the other architecture, you are actually doing a "
2134 "source NMU, so consult <xref linkend=\"nmu-guidelines\"/> instead."
2135 msgstr ""
2136
2137 #. type: Content of: <chapter><section><section><para>
2138 #: pkgs.dbk:1616
2139 msgid ""
2140 "For a porter upload, no changes are being made to the source.  You do not "
2141 "need to touch any of the files in the source package.  This includes "
2142 "<filename>debian/changelog</filename>."
2143 msgstr ""
2144
2145 #. type: Content of: <chapter><section><section><para>
2146 #: pkgs.dbk:1621
2147 msgid ""
2148 "The way to invoke <command>dpkg-buildpackage</command> is as "
2149 "<literal>dpkg-buildpackage -B "
2150 "-m<replaceable>porter-email</replaceable></literal>.  Of course, set "
2151 "<replaceable>porter-email</replaceable> to your email address.  This will do "
2152 "a binary-only build of only the architecture-dependent portions of the "
2153 "package, using the <literal>binary-arch</literal> target in "
2154 "<filename>debian/rules</filename>."
2155 msgstr ""
2156
2157 #. type: Content of: <chapter><section><section><para>
2158 #: pkgs.dbk:1630
2159 msgid ""
2160 "If you are working on a Debian machine for your porting efforts and you need "
2161 "to sign your upload locally for its acceptance in the archive, you can run "
2162 "<command>debsign</command> on your <filename>.changes</filename> file to "
2163 "have it signed conveniently, or use the remote signing mode of "
2164 "<command>dpkg-sig</command>."
2165 msgstr ""
2166
2167 #. type: Content of: <chapter><section><section><section><title>
2168 #: pkgs.dbk:1637
2169 msgid "Recompilation or binary-only NMU"
2170 msgstr ""
2171
2172 #. type: Content of: <chapter><section><section><section><para>
2173 #: pkgs.dbk:1639
2174 msgid ""
2175 "Sometimes the initial porter upload is problematic because the environment "
2176 "in which the package was built was not good enough (outdated or obsolete "
2177 "library, bad compiler, etc.).  Then you may just need to recompile it in an "
2178 "updated environment.  However, you have to bump the version number in this "
2179 "case, so that the old bad package can be replaced in the Debian archive "
2180 "(<command>dak</command> refuses to install new packages if they don't have a "
2181 "version number greater than the currently available one)."
2182 msgstr ""
2183
2184 #. type: Content of: <chapter><section><section><section><para>
2185 #: pkgs.dbk:1648
2186 msgid ""
2187 "You have to make sure that your binary-only NMU doesn't render the package "
2188 "uninstallable.  This could happen when a source package generates "
2189 "arch-dependent and arch-independent packages that have inter-dependencies "
2190 "generated using dpkg's substitution variable "
2191 "<literal>$(Source-Version)</literal>."
2192 msgstr ""
2193
2194 #. type: Content of: <chapter><section><section><section><para>
2195 #: pkgs.dbk:1654
2196 msgid ""
2197 "Despite the required modification of the changelog, these are called "
2198 "binary-only NMUs — there is no need in this case to trigger all other "
2199 "architectures to consider themselves out of date or requiring recompilation."
2200 msgstr ""
2201
2202 #. type: Content of: <chapter><section><section><section><para>
2203 #: pkgs.dbk:1659
2204 msgid ""
2205 "Such recompilations require special ``magic'' version numbering, so that the "
2206 "archive maintenance tools recognize that, even though there is a new Debian "
2207 "version, there is no corresponding source update.  If you get this wrong, "
2208 "the archive maintainers will reject your upload (due to lack of "
2209 "corresponding source code)."
2210 msgstr ""
2211
2212 #. type: Content of: <chapter><section><section><section><para><footnote><para>
2213 #: pkgs.dbk:1674
2214 msgid ""
2215 "In the past, such NMUs used the third-level number on the Debian part of the "
2216 "revision to denote their recompilation-only status; however, this syntax was "
2217 "ambiguous with native packages and did not allow proper ordering of "
2218 "recompile-only NMUs, source NMUs, and security NMUs on the same package, and "
2219 "has therefore been abandoned in favor of this new syntax."
2220 msgstr ""
2221
2222 #. type: Content of: <chapter><section><section><section><para>
2223 #: pkgs.dbk:1666
2224 msgid ""
2225 "The ``magic'' for a recompilation-only NMU is triggered by using a suffix "
2226 "appended to the package version number, following the form "
2227 "<literal>b<replaceable>number</replaceable></literal>.  For instance, if the "
2228 "latest version you are recompiling against was version "
2229 "<literal>2.9-3</literal>, your binary-only NMU should carry a version of "
2230 "<literal>2.9-3+b1</literal>.  If the latest version was "
2231 "<literal>3.4+b1</literal> (i.e, a native package with a previous "
2232 "recompilation NMU), your binary-only NMU should have a version number of "
2233 "<literal>3.4+b2</literal>.<placeholder type=\"footnote\" id=\"0\"/>"
2234 msgstr ""
2235
2236 #. type: Content of: <chapter><section><section><section><para>
2237 #: pkgs.dbk:1682
2238 msgid ""
2239 "Similar to initial porter uploads, the correct way of invoking "
2240 "<command>dpkg-buildpackage</command> is <literal>dpkg-buildpackage "
2241 "-B</literal> to only build the architecture-dependent parts of the package."
2242 msgstr ""
2243
2244 #. type: Content of: <chapter><section><section><section><title>
2245 #: pkgs.dbk:1689
2246 msgid "When to do a source NMU if you are a porter"
2247 msgstr ""
2248
2249 #. type: Content of: <chapter><section><section><section><para>
2250 #: pkgs.dbk:1691
2251 msgid ""
2252 "Porters doing a source NMU generally follow the guidelines found in <xref "
2253 "linkend=\"nmu\"/>, just like non-porters.  However, it is expected that the "
2254 "wait cycle for a porter's source NMU is smaller than for a non-porter, since "
2255 "porters have to cope with a large quantity of packages.  Again, the "
2256 "situation varies depending on the distribution they are uploading to.  It "
2257 "also varies whether the architecture is a candidate for inclusion into the "
2258 "next stable release; the release managers decide and announce which "
2259 "architectures are candidates."
2260 msgstr ""
2261
2262 #. type: Content of: <chapter><section><section><section><para>
2263 #: pkgs.dbk:1700
2264 msgid ""
2265 "If you are a porter doing an NMU for <literal>unstable</literal>, the above "
2266 "guidelines for porting should be followed, with two variations.  Firstly, "
2267 "the acceptable waiting period — the time between when the bug is submitted "
2268 "to the BTS and when it is OK to do an NMU — is seven days for porters "
2269 "working on the <literal>unstable</literal> distribution.  This period can be "
2270 "shortened if the problem is critical and imposes hardship on the porting "
2271 "effort, at the discretion of the porter group.  (Remember, none of this is "
2272 "Policy, just mutually agreed upon guidelines.) For uploads to "
2273 "<literal>stable</literal> or <literal>testing</literal>, please coordinate "
2274 "with the appropriate release team first."
2275 msgstr ""
2276
2277 #. type: Content of: <chapter><section><section><section><para>
2278 #: pkgs.dbk:1712
2279 msgid ""
2280 "Secondly, porters doing source NMUs should make sure that the bug they "
2281 "submit to the BTS should be of severity <literal>serious</literal> or "
2282 "greater.  This ensures that a single source package can be used to compile "
2283 "every supported Debian architecture by release time.  It is very important "
2284 "that we have one version of the binary and source package for all "
2285 "architectures in order to comply with many licenses."
2286 msgstr ""
2287
2288 #. type: Content of: <chapter><section><section><section><para>
2289 #: pkgs.dbk:1720
2290 msgid ""
2291 "Porters should try to avoid patches which simply kludge around bugs in the "
2292 "current version of the compile environment, kernel, or libc.  Sometimes such "
2293 "kludges can't be helped.  If you have to kludge around compiler bugs and the "
2294 "like, make sure you <literal>#ifdef</literal> your work properly; also, "
2295 "document your kludge so that people know to remove it once the external "
2296 "problems have been fixed."
2297 msgstr ""
2298
2299 #. type: Content of: <chapter><section><section><section><para>
2300 #: pkgs.dbk:1728
2301 msgid ""
2302 "Porters may also have an unofficial location where they can put the results "
2303 "of their work during the waiting period.  This helps others running the port "
2304 "have the benefit of the porter's work, even during the waiting period.  Of "
2305 "course, such locations have no official blessing or status, so buyer beware."
2306 msgstr ""
2307
2308 #. type: Content of: <chapter><section><section><title>
2309 #: pkgs.dbk:1738
2310 msgid "Porting infrastructure and automation"
2311 msgstr ""
2312
2313 #. type: Content of: <chapter><section><section><para>
2314 #: pkgs.dbk:1740
2315 msgid ""
2316 "There is infrastructure and several tools to help automate package porting.  "
2317 "This section contains a brief overview of this automation and porting to "
2318 "these tools; see the package documentation or references for full "
2319 "information."
2320 msgstr ""
2321
2322 #. type: Content of: <chapter><section><section><section><title>
2323 #: pkgs.dbk:1745
2324 msgid "Mailing lists and web pages"
2325 msgstr ""
2326
2327 #. type: Content of: <chapter><section><section><section><para>
2328 #: pkgs.dbk:1747
2329 msgid ""
2330 "Web pages containing the status of each port can be found at <ulink "
2331 "url=\"&url-debian-ports;\"></ulink>."
2332 msgstr ""
2333
2334 #. type: Content of: <chapter><section><section><section><para>
2335 #: pkgs.dbk:1751
2336 msgid ""
2337 "Each port of Debian has a mailing list.  The list of porting mailing lists "
2338 "can be found at <ulink url=\"&url-debian-port-lists;\"></ulink>.  These "
2339 "lists are used to coordinate porters, and to connect the users of a given "
2340 "port with the porters."
2341 msgstr ""
2342
2343 #. type: Content of: <chapter><section><section><section><title>
2344 #: pkgs.dbk:1759
2345 msgid "Porter tools"
2346 msgstr ""
2347
2348 #. type: Content of: <chapter><section><section><section><para>
2349 #: pkgs.dbk:1761
2350 msgid ""
2351 "Descriptions of several porting tools can be found in <xref "
2352 "linkend=\"tools-porting\"/>."
2353 msgstr ""
2354
2355 #. type: Content of: <chapter><section><section><section><title>
2356 #: pkgs.dbk:1767
2357 msgid "<systemitem role=\"package\">wanna-build</systemitem>"
2358 msgstr ""
2359
2360 #. type: Content of: <chapter><section><section><section><para>
2361 #: pkgs.dbk:1769
2362 msgid ""
2363 "The <systemitem role=\"package\">wanna-build</systemitem> system is used as "
2364 "a distributed, client-server build distribution system.  It is usually used "
2365 "in conjunction with build daemons running the <systemitem "
2366 "role=\"package\">buildd</systemitem> program. <literal>Build "
2367 "daemons</literal> are ``slave'' hosts which contact the central <systemitem "
2368 "role=\"package\">wanna-build</systemitem> system to receive a list of "
2369 "packages that need to be built."
2370 msgstr ""
2371
2372 #. type: Content of: <chapter><section><section><section><para>
2373 #: pkgs.dbk:1777
2374 msgid ""
2375 "<systemitem role=\"package\">wanna-build</systemitem> is not yet available "
2376 "as a package; however, all Debian porting efforts are using it for automated "
2377 "package building.  The tool used to do the actual package builds, "
2378 "<systemitem role=\"package\">sbuild</systemitem> is available as a package, "
2379 "see its description in <xref linkend=\"sbuild\"/>.  Please note that the "
2380 "packaged version is not the same as the one used on build daemons, but it is "
2381 "close enough to reproduce problems."
2382 msgstr ""
2383
2384 #. type: Content of: <chapter><section><section><section><para>
2385 #: pkgs.dbk:1786
2386 msgid ""
2387 "Most of the data produced by <systemitem "
2388 "role=\"package\">wanna-build</systemitem> which is generally useful to "
2389 "porters is available on the web at <ulink url=\"&url-buildd;\"></ulink>.  "
2390 "This data includes nightly updated statistics, queueing information and logs "
2391 "for build attempts."
2392 msgstr ""
2393
2394 #. type: Content of: <chapter><section><section><section><para>
2395 #: pkgs.dbk:1792
2396 msgid ""
2397 "We are quite proud of this system, since it has so many possible uses.  "
2398 "Independent development groups can use the system for different sub-flavors "
2399 "of Debian, which may or may not really be of general interest (for instance, "
2400 "a flavor of Debian built with <command>gcc</command> bounds checking).  It "
2401 "will also enable Debian to recompile entire distributions quickly."
2402 msgstr ""
2403
2404 #. type: Content of: <chapter><section><section><section><para>
2405 #: pkgs.dbk:1799
2406 msgid ""
2407 "The wanna-build team, in charge of the buildds, can be reached at "
2408 "<literal>debian-wb-team@lists.debian.org</literal>.  To determine who "
2409 "(wanna-build team, release team) and how (mail, BTS)  to contact, refer to "
2410 "<ulink url=\"&url-wb-team;\"></ulink>."
2411 msgstr ""
2412
2413 #. type: Content of: <chapter><section><section><section><para>
2414 #: pkgs.dbk:1806
2415 msgid ""
2416 "When requesting binNMUs or give-backs (retries after a failed build), please "
2417 "use the format described at <ulink url=\"&url-release-wb;\"/>."
2418 msgstr ""
2419
2420 #. type: Content of: <chapter><section><section><title>
2421 #: pkgs.dbk:1815
2422 msgid "When your package is <emphasis>not</emphasis> portable"
2423 msgstr ""
2424
2425 #. type: Content of: <chapter><section><section><para>
2426 #: pkgs.dbk:1817
2427 msgid ""
2428 "Some packages still have issues with building and/or working on some of the "
2429 "architectures supported by Debian, and cannot be ported at all, or not "
2430 "within a reasonable amount of time.  An example is a package that is "
2431 "SVGA-specific (only available for <literal>i386</literal> and "
2432 "<literal>amd64</literal>), or uses other hardware-specific features not "
2433 "supported on all architectures."
2434 msgstr ""
2435
2436 #. type: Content of: <chapter><section><section><para>
2437 #: pkgs.dbk:1824
2438 msgid ""
2439 "In order to prevent broken packages from being uploaded to the archive, and "
2440 "wasting buildd time, you need to do a few things:"
2441 msgstr ""
2442
2443 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2444 #: pkgs.dbk:1830
2445 msgid ""
2446 "First, make sure your package <emphasis>does</emphasis> fail to build on "
2447 "architectures that it cannot support.  There are a few ways to achieve "
2448 "this.  The preferred way is to have a small testsuite during build time that "
2449 "will test the functionality, and fail if it doesn't work.  This is a good "
2450 "idea anyway, as this will prevent (some) broken uploads on all "
2451 "architectures, and also will allow the package to build as soon as the "
2452 "required functionality is available."
2453 msgstr ""
2454
2455 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2456 #: pkgs.dbk:1838
2457 msgid ""
2458 "Additionally, if you believe the list of supported architectures is pretty "
2459 "constant, you should change <literal>any</literal> to a list of supported "
2460 "architectures in <filename>debian/control</filename>.  This way, the build "
2461 "will fail also, and indicate this to a human reader without actually trying."
2462 msgstr ""
2463
2464 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2465 #: pkgs.dbk:1846
2466 msgid ""
2467 "In order to prevent autobuilders from needlessly trying to build your "
2468 "package, it must be included in <filename>Packages-arch-specific</filename>, "
2469 "a list used by the <command>wanna-build</command> script.  The current "
2470 "version is available as <ulink url=\"&url-buildd-p-a-s;\"/>; please see the "
2471 "top of the file for whom to contact for changes."
2472 msgstr ""
2473
2474 #. type: Content of: <chapter><section><section><para>
2475 #: pkgs.dbk:1855
2476 msgid ""
2477 "Please note that it is insufficient to only add your package to "
2478 "<filename>Packages-arch-specific</filename> without making it fail to build "
2479 "on unsupported architectures: A porter or any other person trying to build "
2480 "your package might accidently upload it without noticing it doesn't work.  "
2481 "If in the past some binary packages were uploaded on unsupported "
2482 "architectures, request their removal by filing a bug against <systemitem "
2483 "role=\"package\">ftp.debian.org</systemitem>."
2484 msgstr ""
2485
2486 #. type: Content of: <chapter><section><title>
2487 #: pkgs.dbk:1868
2488 msgid "Non-Maintainer Uploads (NMUs)"
2489 msgstr ""
2490
2491 #. type: Content of: <chapter><section><para>
2492 #: pkgs.dbk:1870
2493 msgid ""
2494 "Every package has one or more maintainers. Normally, these are the people "
2495 "who work on and upload new versions of the package. In some situations, it "
2496 "is useful that other developers can upload a new version as well, for "
2497 "example if they want to fix a bug in a package they don't maintain, when the "
2498 "maintainer needs help to respond to issues.  Such uploads are called "
2499 "<emphasis>Non-Maintainer Uploads (NMU)</emphasis>."
2500 msgstr ""
2501
2502 #. type: Content of: <chapter><section><section><title>
2503 #: pkgs.dbk:1879
2504 msgid "When and how to do an NMU"
2505 msgstr ""
2506
2507 #. type: Content of: <chapter><section><section><para>
2508 #: pkgs.dbk:1882
2509 msgid "Before doing an NMU, consider the following questions:"
2510 msgstr ""
2511
2512 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2513 #: pkgs.dbk:1887
2514 msgid ""
2515 "Does your NMU really fix bugs? Fixing cosmetic issues or changing the "
2516 "packaging style in NMUs is discouraged."
2517 msgstr ""
2518
2519 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2520 #: pkgs.dbk:1893
2521 msgid ""
2522 "Did you give enough time to the maintainer? When was the bug reported to the "
2523 "BTS? Being busy for a week or two isn't unusual.  Is the bug so severe that "
2524 "it needs to be fixed right now, or can it wait a few more days?"
2525 msgstr ""
2526
2527 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2528 #: pkgs.dbk:1900
2529 msgid ""
2530 "How confident are you about your changes? Please remember the Hippocratic "
2531 "Oath: \"Above all, do no harm.\" It is better to leave a package with an "
2532 "open grave bug than applying a non-functional patch, or one that hides the "
2533 "bug instead of resolving it. If you are not 100% sure of what you did, it "
2534 "might be a good idea to seek advice from others. Remember that if you break "
2535 "something in your NMU, many people will be very unhappy about it."
2536 msgstr ""
2537
2538 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2539 #: pkgs.dbk:1910
2540 msgid ""
2541 "Have you clearly expressed your intention to NMU, at least in the BTS? It is "
2542 "also a good idea to try to contact the maintainer by other means (private "
2543 "email, IRC)."
2544 msgstr ""
2545
2546 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2547 #: pkgs.dbk:1917
2548 msgid ""
2549 "If the maintainer is usually active and responsive, have you tried to "
2550 "contact him? In general it should be considered preferable that a maintainer "
2551 "takes care of an issue himself and that he is given the chance to review and "
2552 "correct your patch, because he can be expected to be more aware of potential "
2553 "issues which an NMUer might miss. It is often a better use of everyone's "
2554 "time if the maintainer is given an opportunity to upload a fix on their own."
2555 msgstr ""
2556
2557 #. type: Content of: <chapter><section><section><para>
2558 #: pkgs.dbk:1927
2559 msgid ""
2560 "When doing an NMU, you must first make sure that your intention to NMU is "
2561 "clear.  Then, you must send a patch with the differences between the current "
2562 "package and your proposed NMU to the BTS. The <command>nmudiff</command> "
2563 "script in the <systemitem role=\"package\">devscripts</systemitem> package "
2564 "might be helpful."
2565 msgstr ""
2566
2567 #. type: Content of: <chapter><section><section><para>
2568 #: pkgs.dbk:1934
2569 msgid ""
2570 "While preparing the patch, you should better be aware of any "
2571 "package-specific practices that the maintainer might be using. Taking them "
2572 "into account reduces the burden of getting your changes integrated back in "
2573 "the normal package workflow and thus increases the possibilities that that "
2574 "will happen. A good place where to look for for possible package-specific "
2575 "practices is <ulink "
2576 "url=\"&url-debian-policy;ch-source.html#s-readmesource\"><filename>debian/README.source</filename></ulink>."
2577 msgstr ""
2578
2579 #. type: Content of: <chapter><section><section><para>
2580 #: pkgs.dbk:1942
2581 msgid ""
2582 "Unless you have an excellent reason not to do so, you must then give some "
2583 "time to the maintainer to react (for example, by uploading to the "
2584 "<literal>DELAYED</literal> queue).  Here are some recommended values to use "
2585 "for delays:"
2586 msgstr ""
2587
2588 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2589 #: pkgs.dbk:1949
2590 msgid "Upload fixing only release-critical bugs older than 7 days: 2 days"
2591 msgstr ""
2592
2593 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2594 #: pkgs.dbk:1954
2595 msgid "Upload fixing only release-critical and important bugs: 5 days"
2596 msgstr ""
2597
2598 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
2599 #: pkgs.dbk:1959
2600 msgid "Other NMUs: 10 days"
2601 msgstr ""
2602
2603 #. type: Content of: <chapter><section><section><para>
2604 #: pkgs.dbk:1965
2605 msgid ""
2606 "Those delays are only examples. In some cases, such as uploads fixing "
2607 "security issues, or fixes for trivial bugs that blocking a transition, it is "
2608 "desirable that the fixed package reaches <literal>unstable</literal> sooner."
2609 msgstr ""
2610
2611 #. type: Content of: <chapter><section><section><para>
2612 #: pkgs.dbk:1971
2613 msgid ""
2614 "Sometimes, release managers decide to allow NMUs with shorter delays for a "
2615 "subset of bugs (e.g release-critical bugs older than 7 days). Also, some "
2616 "maintainers list themselves in the <ulink "
2617 "url=\"&url-low-threshold-nmu;\">Low Threshold NMU list</ulink>, and accept "
2618 "that NMUs are uploaded without delay. But even in those cases, it's still a "
2619 "good idea to give the maintainer a few days to react before you upload, "
2620 "especially if the patch wasn't available in the BTS before, or if you know "
2621 "that the maintainer is generally active."
2622 msgstr ""
2623
2624 #. type: Content of: <chapter><section><section><para>
2625 #: pkgs.dbk:1981
2626 msgid ""
2627 "After you upload an NMU, you are responsible for the possible problems that "
2628 "you might have introduced. You must keep an eye on the package (subscribing "
2629 "to the package on the PTS is a good way to achieve this)."
2630 msgstr ""
2631
2632 #. type: Content of: <chapter><section><section><para>
2633 #: pkgs.dbk:1987
2634 msgid ""
2635 "This is not a license to perform NMUs thoughtlessly.  If you NMU when it is "
2636 "clear that the maintainers are active and would have acknowledged a patch in "
2637 "a timely manner, or if you ignore the recommendations of this document, your "
2638 "upload might be a cause of conflict with the maintainer.  You should always "
2639 "be prepared to defend the wisdom of any NMU you perform on its own merits."
2640 msgstr ""
2641
2642 #. type: Content of: <chapter><section><section><title>
2643 #: pkgs.dbk:1997
2644 msgid "NMUs and <filename>debian/changelog</filename>"
2645 msgstr ""
2646
2647 #. type: Content of: <chapter><section><section><para>
2648 #: pkgs.dbk:1999
2649 msgid ""
2650 "Just like any other (source) upload, NMUs must add an entry to "
2651 "<filename>debian/changelog</filename>, telling what has changed with this "
2652 "upload.  The first line of this entry must explicitely mention that this "
2653 "upload is an NMU, e.g.:"
2654 msgstr ""
2655
2656 #. type: Content of: <chapter><section><section><screen>
2657 #: pkgs.dbk:2004
2658 #, no-wrap
2659 msgid "  * Non-maintainer upload.\n"
2660 msgstr ""
2661
2662 #. type: Content of: <chapter><section><section><para>
2663 #: pkgs.dbk:2008
2664 msgid "The way to version NMUs differs for native and non-native packages."
2665 msgstr ""
2666
2667 #. type: Content of: <chapter><section><section><para>
2668 #: pkgs.dbk:2011
2669 msgid ""
2670 "If the package is a native package (without a Debian revision in the version "
2671 "number), the version must be the version of the last maintainer upload, plus "
2672 "<literal>+nmu<replaceable>X</replaceable></literal>, where "
2673 "<replaceable>X</replaceable> is a counter starting at <literal>1</literal>.  "
2674 "If the last upload was also an NMU, the counter should be increased.  For "
2675 "example, if the current version is <literal>1.5</literal>, then an NMU would "
2676 "get version <literal>1.5+nmu1</literal>."
2677 msgstr ""
2678
2679 #. type: Content of: <chapter><section><section><para>
2680 #: pkgs.dbk:2021
2681 msgid ""
2682 "If the package is a not a native package, you should add a minor version "
2683 "number to the Debian revision part of the version number (the portion after "
2684 "the last hyphen). This extra number must start at <literal>1</literal>.  For "
2685 "example, if the current version is <literal>1.5-2</literal>, then an NMU "
2686 "would get version <literal>1.5-2.1</literal>. If a new upstream version is "
2687 "packaged in the NMU, the Debian revision is set to <literal>0</literal>, for "
2688 "example <literal>1.6-0.1</literal>."
2689 msgstr ""
2690
2691 #. type: Content of: <chapter><section><section><para>
2692 #: pkgs.dbk:2030
2693 msgid ""
2694 "In both cases, if the last upload was also an NMU, the counter should be "
2695 "increased. For example, if the current version is "
2696 "<literal>1.5+nmu3</literal> (a native package which has already been NMUed), "
2697 "the NMU would get version <literal>1.5+nmu4</literal>."
2698 msgstr ""
2699
2700 #. type: Content of: <chapter><section><section><para>
2701 #: pkgs.dbk:2036
2702 msgid ""
2703 "A special versioning scheme is needed to avoid disrupting the maintainer's "
2704 "work, since using an integer for the Debian revision will potentially "
2705 "conflict with a maintainer upload already in preparation at the time of an "
2706 "NMU, or even one sitting in the ftp NEW queue.  It also has the benefit of "
2707 "making it visually clear that a package in the archive was not made by the "
2708 "official maintainer."
2709 msgstr ""
2710
2711 #. type: Content of: <chapter><section><section><para>
2712 #: pkgs.dbk:2046
2713 msgid ""
2714 "If you upload a package to testing or stable, you sometimes need to \"fork\" "
2715 "the version number tree. This is the case for security uploads, for "
2716 "example.  For this, a version of the form "
2717 "<literal>+deb<replaceable>XY</replaceable>u<replaceable>Z</replaceable></literal> "
2718 "should be used, where <replaceable>X</replaceable> and "
2719 "<replaceable>Y</replaceable> are the major and minor release numbers, and "
2720 "<replaceable>Z</replaceable> is a counter starting at <literal>1</literal>.  "
2721 "When the release number is not yet known (often the case for "
2722 "<literal>testing</literal>, at the beginning of release cycles), the lowest "
2723 "release number higher than the last stable release number must be used.  For "
2724 "example, while Lenny (Debian 5.0) is stable, a security NMU to stable for a "
2725 "package at version <literal>1.5-3</literal> would have version "
2726 "<literal>1.5-3+deb50u1</literal>, whereas a security NMU to Squeeze would "
2727 "get version <literal>1.5-3+deb60u1</literal>. After the release of Squeeze, "
2728 "security uploads to the <literal>testing</literal> distribution will be "
2729 "versioned <literal>+deb61uZ</literal>, until it is known whether that "
2730 "release will be Debian 6.1 or Debian 7.0 (if that becomes the case, uploads "
2731 "will be versioned as <literal>+deb70uZ</literal>)."
2732 msgstr ""
2733
2734 #. type: Content of: <chapter><section><section><title>
2735 #: pkgs.dbk:2068
2736 msgid "Using the <literal>DELAYED/</literal> queue"
2737 msgstr ""
2738
2739 #. type: Content of: <chapter><section><section><para>
2740 #: pkgs.dbk:2071
2741 msgid ""
2742 "Having to wait for a response after you request permission to NMU is "
2743 "inefficient, because it costs the NMUer a context switch to come back to the "
2744 "issue.  The <literal>DELAYED</literal> queue (see <xref "
2745 "linkend=\"delayed-incoming\"/>)  allows the developer doing the NMU to "
2746 "perform all the necessary tasks at the same time. For instance, instead of "
2747 "telling the maintainer that you will upload the updated package in 7 days, "
2748 "you should upload the package to <literal>DELAYED/7</literal> and tell the "
2749 "maintainer that he has 7 days to react.  During this time, the maintainer "
2750 "can ask you to delay the upload some more, or cancel your upload."
2751 msgstr ""
2752
2753 #. type: Content of: <chapter><section><section><para>
2754 #: pkgs.dbk:2085
2755 msgid ""
2756 "The <literal>DELAYED</literal> queue should not be used to put additional "
2757 "pressure on the maintainer. In particular, it's important that you are "
2758 "available to cancel or delay the upload before the delay expires since the "
2759 "maintainer cannot cancel the upload himself."
2760 msgstr ""
2761
2762 #. type: Content of: <chapter><section><section><para>
2763 #: pkgs.dbk:2092
2764 msgid ""
2765 "If you make an NMU to <literal>DELAYED</literal> and the maintainer updates "
2766 "his package before the delay expires, your upload will be rejected because a "
2767 "newer version is already available in the archive.  Ideally, the maintainer "
2768 "will take care to include your proposed changes (or at least a solution for "
2769 "the problems they address) in that upload."
2770 msgstr ""
2771
2772 #. type: Content of: <chapter><section><section><title>
2773 #: pkgs.dbk:2102
2774 msgid "NMUs from the maintainer's point of view"
2775 msgstr ""
2776
2777 #. type: Content of: <chapter><section><section><para>
2778 #: pkgs.dbk:2105
2779 msgid ""
2780 "When someone NMUs your package, this means they want to help you to keep it "
2781 "in good shape.  This gives users fixed packages faster.  You can consider "
2782 "asking the NMUer to become a co-maintainer of the package.  Receiving an NMU "
2783 "on a package is not a bad thing; it just means that the package is "
2784 "interesting enough for other people to work on it."
2785 msgstr ""
2786
2787 #. type: Content of: <chapter><section><section><para>
2788 #: pkgs.dbk:2114
2789 msgid ""
2790 "To acknowledge an NMU, include its changes and changelog entry in your next "
2791 "maintainer upload.  If you do not acknowledge the NMU by including the NMU "
2792 "changelog entry in your changelog, the bugs will remain closed in the BTS "
2793 "but will be listed as affecting your maintainer version of the package."
2794 msgstr ""
2795
2796 #. type: Content of: <chapter><section><section><title>
2797 #: pkgs.dbk:2123
2798 msgid "Source NMUs vs Binary-only NMUs (binNMUs)"
2799 msgstr ""
2800
2801 #. type: Content of: <chapter><section><section><para>
2802 #: pkgs.dbk:2126
2803 msgid ""
2804 "The full name of an NMU is <emphasis>source NMU</emphasis>.  There is also "
2805 "another type, namely the <emphasis>binary-only NMU</emphasis>, or "
2806 "<emphasis>binNMU</emphasis>.  A binNMU is also a package upload by someone "
2807 "other than the package's maintainer.  However, it is a binary-only upload."
2808 msgstr ""
2809
2810 #. type: Content of: <chapter><section><section><para>
2811 #: pkgs.dbk:2133
2812 msgid ""
2813 "When a library (or other dependency) is updated, the packages using it may "
2814 "need to be rebuilt.  Since no changes to the source are needed, the same "
2815 "source package is used."
2816 msgstr ""
2817
2818 #. type: Content of: <chapter><section><section><para>
2819 #: pkgs.dbk:2139
2820 msgid ""
2821 "BinNMUs are usually triggered on the buildds by wanna-build.  An entry is "
2822 "added to <filename>debian/changelog</filename>, explaining why the upload "
2823 "was needed and increasing the version number as described in <xref "
2824 "linkend=\"binary-only-nmu\"/>.  This entry should not be included in the "
2825 "next upload."
2826 msgstr ""
2827
2828 #. type: Content of: <chapter><section><section><para>
2829 #: pkgs.dbk:2147
2830 msgid ""
2831 "Buildds upload packages for their architecture to the archive as binary-only "
2832 "uploads.  Strictly speaking, these are binNMUs.  However, they are not "
2833 "normally called NMU, and they don't add an entry to "
2834 "<filename>debian/changelog</filename>."
2835 msgstr ""
2836
2837 #. type: Content of: <chapter><section><section><title>
2838 #: pkgs.dbk:2155
2839 msgid "NMUs vs QA uploads"
2840 msgstr ""
2841
2842 #. type: Content of: <chapter><section><section><para>
2843 #: pkgs.dbk:2158
2844 msgid ""
2845 "NMUs are uploads of packages by somebody else than their assigned "
2846 "maintainer.  There is another type of upload where the uploaded package is "
2847 "not yours: QA uploads. QA uploads are uploads of orphaned packages."
2848 msgstr ""
2849
2850 #. type: Content of: <chapter><section><section><para>
2851 #: pkgs.dbk:2165
2852 msgid ""
2853 "QA uploads are very much like normal maintainer uploads: they may fix "
2854 "anything, even minor issues; the version numbering is normal, and there is "
2855 "no need to use a delayed upload.  The difference is that you are not listed "
2856 "as the <literal>Maintainer</literal> or <literal>Uploader</literal> for the "
2857 "package.  Also, the changelog entry of a QA upload has a special first line:"
2858 msgstr ""
2859
2860 #. type: Content of: <chapter><section><section><screen>
2861 #: pkgs.dbk:2173
2862 #, no-wrap
2863 msgid " * QA upload.\n"
2864 msgstr ""
2865
2866 #. type: Content of: <chapter><section><section><para>
2867 #: pkgs.dbk:2177
2868 msgid ""
2869 "If you want to do an NMU, and it seems that the maintainer is not active, it "
2870 "is wise to check if the package is orphaned (this information is displayed "
2871 "on the package's Package Tracking System page).  When doing the first QA "
2872 "upload to an orphaned package, the maintainer should be set to "
2873 "<literal>Debian QA Group &lt;packages@qa.debian.org&gt;</literal>.  Orphaned "
2874 "packages which did not yet have a QA upload still have their old maintainer "
2875 "set.  There is a list of them at <ulink url=\"&url-orphaned-not-qa;\"/>."
2876 msgstr ""
2877
2878 #. type: Content of: <chapter><section><section><para>
2879 #: pkgs.dbk:2188
2880 msgid ""
2881 "Instead of doing a QA upload, you can also consider adopting the package by "
2882 "making yourself the maintainer.  You don't need permission from anybody to "
2883 "adopt an orphaned package, you can just set yourself as maintainer and "
2884 "upload the new version (see <xref linkend=\"adopting\"/>)."
2885 msgstr ""
2886
2887 #. type: Content of: <chapter><section><section><title>
2888 #: pkgs.dbk:2197
2889 msgid "NMUs vs team uploads"
2890 msgstr ""
2891
2892 #. type: Content of: <chapter><section><section><para>
2893 #: pkgs.dbk:2200
2894 msgid ""
2895 "Sometimes you are fixing and/or updating a package because you are member of "
2896 "a packaging team (which uses a mailing list as <literal>Maintainer</literal> "
2897 "or <literal>Uploader</literal>, see <xref linkend=\"collaborative-maint\"/>) "
2898 "but you don't want to add yourself to <literal>Uploaders</literal> because "
2899 "you do not plan to contribute regularly to this specific package. If it "
2900 "conforms with your team's policy, you can perform a normal upload without "
2901 "being listed directly as <literal>Maintainer</literal> or "
2902 "<literal>Uploader</literal>. In that case, you should start your changelog "
2903 "entry with the following line:"
2904 msgstr ""
2905
2906 #. type: Content of: <chapter><section><section><screen>
2907 #: pkgs.dbk:2210
2908 #, no-wrap
2909 msgid " * Team upload.\n"
2910 msgstr ""
2911
2912 #. type: Content of: <chapter><section><title>
2913 #: pkgs.dbk:2218
2914 msgid "Collaborative maintenance"
2915 msgstr ""
2916
2917 #. type: Content of: <chapter><section><para>
2918 #: pkgs.dbk:2220
2919 msgid ""
2920 "Collaborative maintenance is a term describing the sharing of Debian package "
2921 "maintenance duties by several people.  This collaboration is almost always a "
2922 "good idea, since it generally results in higher quality and faster bug fix "
2923 "turnaround times.  It is strongly recommended that packages with a priority "
2924 "of <literal>standard</literal> or which are part of the base set have "
2925 "co-maintainers."
2926 msgstr ""
2927
2928 #. type: Content of: <chapter><section><para>
2929 #: pkgs.dbk:2228
2930 msgid ""
2931 "Generally there is a primary maintainer and one or more co-maintainers.  The "
2932 "primary maintainer is the person whose name is listed in the "
2933 "<literal>Maintainer</literal> field of the "
2934 "<filename>debian/control</filename> file.  Co-maintainers are all the other "
2935 "maintainers, usually listed in the <literal>Uploaders</literal> field of the "
2936 "<filename>debian/control</filename> file."
2937 msgstr ""
2938
2939 #. type: Content of: <chapter><section><para>
2940 #: pkgs.dbk:2236
2941 msgid ""
2942 "In its most basic form, the process of adding a new co-maintainer is quite "
2943 "easy:"
2944 msgstr ""
2945
2946 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
2947 #: pkgs.dbk:2242
2948 msgid ""
2949 "Setup the co-maintainer with access to the sources you build the package "
2950 "from.  Generally this implies you are using a network-capable version "
2951 "control system, such as <literal>CVS</literal> or "
2952 "<literal>Subversion</literal>.  Alioth (see <xref linkend=\"alioth\"/>) "
2953 "provides such tools, amongst others."
2954 msgstr ""
2955
2956 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
2957 #: pkgs.dbk:2250
2958 msgid ""
2959 "Add the co-maintainer's correct maintainer name and address to the "
2960 "<literal>Uploaders</literal> field in the first paragraph of the "
2961 "<filename>debian/control</filename> file."
2962 msgstr ""
2963
2964 #. type: Content of: <chapter><section><itemizedlist><listitem><screen>
2965 #: pkgs.dbk:2255
2966 #, no-wrap
2967 msgid ""
2968 "Uploaders: John Buzz &lt;jbuzz@debian.org&gt;, Adam Rex "
2969 "&lt;arex@debian.org&gt;\n"
2970 msgstr ""
2971
2972 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
2973 #: pkgs.dbk:2260
2974 msgid ""
2975 "Using the PTS (<xref linkend=\"pkg-tracking-system\"/>), the co-maintainers "
2976 "should subscribe themselves to the appropriate source package."
2977 msgstr ""
2978
2979 #. type: Content of: <chapter><section><para>
2980 #: pkgs.dbk:2266
2981 msgid ""
2982 "Another form of collaborative maintenance is team maintenance, which is "
2983 "recommended if you maintain several packages with the same group of "
2984 "developers.  In that case, the <literal>Maintainer</literal> and "
2985 "<literal>Uploaders</literal> field of each package must be managed with "
2986 "care.  It is recommended to choose between one of the two following schemes:"
2987 msgstr ""
2988
2989 #. type: Content of: <chapter><section><orderedlist><listitem><para>
2990 #: pkgs.dbk:2275
2991 msgid ""
2992 "Put the team member mainly responsible for the package in the "
2993 "<literal>Maintainer</literal> field.  In the <literal>Uploaders</literal>, "
2994 "put the mailing list address, and the team members who care for the package."
2995 msgstr ""
2996
2997 #. type: Content of: <chapter><section><orderedlist><listitem><para>
2998 #: pkgs.dbk:2282
2999 msgid ""
3000 "Put the mailing list address in the <literal>Maintainer</literal> field.  In "
3001 "the <literal>Uploaders</literal> field, put the team members who care for "
3002 "the package.  In this case, you must make sure the mailing list accept bug "
3003 "reports without any human interaction (like moderation for non-subscribers)."
3004 msgstr ""
3005
3006 #. type: Content of: <chapter><section><para>
3007 #: pkgs.dbk:2291
3008 msgid ""
3009 "In any case, it is a bad idea to automatically put all team members in the "
3010 "<literal>Uploaders</literal> field. It clutters the Developer's Package "
3011 "Overview listing (see <xref linkend=\"ddpo\"/>) with packages one doesn't "
3012 "really care for, and creates a false sense of good maintenance. For the same "
3013 "reason, team members do not need to add themselves to the "
3014 "<literal>Uploaders</literal> field just because they are uploading the "
3015 "package once, they can do a “Team upload” (see <xref "
3016 "linkend=\"nmu-team-upload\"/>). Conversely, it it a bad idea to keep a "
3017 "package with only the mailing list address as a "
3018 "<literal>Maintainer</literal> and no <literal>Uploaders</literal>."
3019 msgstr ""
3020
3021 #. type: Content of: <chapter><section><title>
3022 #: pkgs.dbk:2304
3023 msgid "The testing distribution"
3024 msgstr ""
3025
3026 #. type: Content of: <chapter><section><section><title>
3027 #: pkgs.dbk:2306
3028 msgid "Basics"
3029 msgstr ""
3030
3031 #. type: Content of: <chapter><section><section><para>
3032 #: pkgs.dbk:2308
3033 msgid ""
3034 "Packages are usually installed into the <literal>testing</literal> "
3035 "distribution after they have undergone some degree of "
3036 "<literal>testing</literal> in <literal>unstable</literal>."
3037 msgstr ""
3038
3039 #. type: Content of: <chapter><section><section><para>
3040 #: pkgs.dbk:2313
3041 msgid ""
3042 "They must be in sync on all architectures and mustn't have dependencies that "
3043 "make them uninstallable; they also have to have generally no known "
3044 "release-critical bugs at the time they're installed into "
3045 "<literal>testing</literal>.  This way, <literal>testing</literal> should "
3046 "always be close to being a release candidate.  Please see below for details."
3047 msgstr ""
3048
3049 #. type: Content of: <chapter><section><section><title>
3050 #: pkgs.dbk:2322
3051 msgid "Updates from unstable"
3052 msgstr ""
3053
3054 #. type: Content of: <chapter><section><section><para>
3055 #: pkgs.dbk:2324
3056 msgid ""
3057 "The scripts that update the <literal>testing</literal> distribution are run "
3058 "twice each day, right after the installation of the updated packages; these "
3059 "scripts are called <literal>britney</literal>.  They generate the "
3060 "<filename>Packages</filename> files for the <literal>testing</literal> "
3061 "distribution, but they do so in an intelligent manner; they try to avoid any "
3062 "inconsistency and to use only non-buggy packages."
3063 msgstr ""
3064
3065 #. type: Content of: <chapter><section><section><para>
3066 #: pkgs.dbk:2332
3067 msgid ""
3068 "The inclusion of a package from <literal>unstable</literal> is conditional "
3069 "on the following:"
3070 msgstr ""
3071
3072 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3073 #: pkgs.dbk:2338
3074 msgid ""
3075 "The package must have been available in <literal>unstable</literal> for 2, 5 "
3076 "or 10 days, depending on the urgency (high, medium or low).  Please note "
3077 "that the urgency is sticky, meaning that the highest urgency uploaded since "
3078 "the previous <literal>testing</literal> transition is taken into account.  "
3079 "Those delays may be doubled during a freeze, or <literal>testing</literal> "
3080 "transitions may be switched off altogether;"
3081 msgstr ""
3082
3083 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3084 #: pkgs.dbk:2348
3085 msgid ""
3086 "It must not have new release-critical bugs (RC bugs affecting the version "
3087 "available in <literal>unstable</literal>, but not affecting the version in "
3088 "<literal>testing</literal>);"
3089 msgstr ""
3090
3091 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3092 #: pkgs.dbk:2355
3093 msgid ""
3094 "It must be available on all architectures on which it has previously been "
3095 "built in <literal>unstable</literal>. <link linkend=\"dak-ls\">dak ls</link> "
3096 "may be of interest to check that information;"
3097 msgstr ""
3098
3099 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3100 #: pkgs.dbk:2362
3101 msgid ""
3102 "It must not break any dependency of a package which is already available in "
3103 "<literal>testing</literal>;"
3104 msgstr ""
3105
3106 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3107 #: pkgs.dbk:2368
3108 msgid ""
3109 "The packages on which it depends must either be available in "
3110 "<literal>testing</literal> or they must be accepted into "
3111 "<literal>testing</literal> at the same time (and they will be if they "
3112 "fulfill all the necessary criteria)."
3113 msgstr ""
3114
3115 #. type: Content of: <chapter><section><section><para>
3116 #: pkgs.dbk:2376
3117 msgid ""
3118 "To find out whether a package is progressing into <literal>testing</literal> "
3119 "or not, see the <literal>testing</literal> script output on the <ulink "
3120 "url=\"&url-testing-maint;\">web page of the testing distribution</ulink>, or "
3121 "use the program <command>grep-excuses</command> which is in the <systemitem "
3122 "role=\"package\">devscripts</systemitem> package.  This utility can easily "
3123 "be used in a <citerefentry> <refentrytitle>crontab</refentrytitle> "
3124 "<manvolnum>5</manvolnum> </citerefentry> to keep yourself informed of the "
3125 "progression of your packages into <literal>testing</literal>."
3126 msgstr ""
3127
3128 #. type: Content of: <chapter><section><section><para>
3129 #: pkgs.dbk:2387
3130 msgid ""
3131 "The <filename>update_excuses</filename> file does not always give the "
3132 "precise reason why the package is refused; you may have to find it on your "
3133 "own by looking for what would break with the inclusion of the package.  The "
3134 "<ulink url=\"&url-testing-maint;\">testing web page</ulink> gives some more "
3135 "information about the usual problems which may be causing such troubles."
3136 msgstr ""
3137
3138 #. type: Content of: <chapter><section><section><para>
3139 #: pkgs.dbk:2394
3140 msgid ""
3141 "Sometimes, some packages never enter <literal>testing</literal> because the "
3142 "set of inter-relationship is too complicated and cannot be sorted out by the "
3143 "scripts.  See below for details."
3144 msgstr ""
3145
3146 #. type: Content of: <chapter><section><section><para>
3147 #: pkgs.dbk:2399
3148 msgid ""
3149 "Some further dependency analysis is shown on <ulink "
3150 "url=\"http://release.debian.org/migration/\"></ulink> — but be warned, this "
3151 "page also shows build dependencies which are not considered by britney."
3152 msgstr ""
3153
3154 #. type: Content of: <chapter><section><section><section><title>
3155 #: pkgs.dbk:2404
3156 msgid "Out-of-date"
3157 msgstr ""
3158
3159 #.  FIXME: better rename this file than document rampant professionalism? 
3160 #. type: Content of: <chapter><section><section><section><para>
3161 #: pkgs.dbk:2407
3162 msgid ""
3163 "For the <literal>testing</literal> migration script, outdated means: There "
3164 "are different versions in <literal>unstable</literal> for the release "
3165 "architectures (except for the architectures in fuckedarches; fuckedarches is "
3166 "a list of architectures that don't keep up (in "
3167 "<filename>update_out.py</filename>), but currently, it's empty).  outdated "
3168 "has nothing whatsoever to do with the architectures this package has in "
3169 "<literal>testing</literal>."
3170 msgstr ""
3171
3172 #. type: Content of: <chapter><section><section><section><para>
3173 #: pkgs.dbk:2415
3174 msgid "Consider this example:"
3175 msgstr ""
3176
3177 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
3178 #: pkgs.dbk:2422 pkgs.dbk:2455
3179 msgid "alpha"
3180 msgstr ""
3181
3182 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
3183 #: pkgs.dbk:2423 pkgs.dbk:2456
3184 msgid "arm"
3185 msgstr ""
3186
3187 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
3188 #: pkgs.dbk:2428 pkgs.dbk:2462 pkgs.dbk:2524
3189 msgid "testing"
3190 msgstr ""
3191
3192 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3193 #: pkgs.dbk:2429 pkgs.dbk:2434 pkgs.dbk:2463 pkgs.dbk:2464 pkgs.dbk:2471
3194 msgid "1"
3195 msgstr ""
3196
3197 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3198 #: pkgs.dbk:2430 pkgs.dbk:2465 pkgs.dbk:2470
3199 msgid "-"
3200 msgstr ""
3201
3202 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
3203 #: pkgs.dbk:2433 pkgs.dbk:2468 pkgs.dbk:2525
3204 msgid "unstable"
3205 msgstr ""
3206
3207 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3208 #: pkgs.dbk:2435 pkgs.dbk:2469
3209 msgid "2"
3210 msgstr ""
3211
3212 #. type: Content of: <chapter><section><section><section><para>
3213 #: pkgs.dbk:2441
3214 msgid ""
3215 "The package is out of date on <literal>alpha</literal> in "
3216 "<literal>unstable</literal>, and will not go to "
3217 "<literal>testing</literal>. Removing the package would not help at all, the "
3218 "package is still out of date on <literal>alpha</literal>, and will not "
3219 "propagate to <literal>testing</literal>."
3220 msgstr ""
3221
3222 #. type: Content of: <chapter><section><section><section><para>
3223 #: pkgs.dbk:2447
3224 msgid ""
3225 "However, if ftp-master removes a package in <literal>unstable</literal> "
3226 "(here on <literal>arm</literal>):"
3227 msgstr ""
3228
3229 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
3230 #: pkgs.dbk:2457
3231 msgid "hurd-i386"
3232 msgstr ""
3233
3234 #. type: Content of: <chapter><section><section><section><para>
3235 #: pkgs.dbk:2477
3236 msgid ""
3237 "In this case, the package is up to date on all release architectures in "
3238 "<literal>unstable</literal> (and the extra <literal>hurd-i386</literal> "
3239 "doesn't matter, as it's not a release architecture)."
3240 msgstr ""
3241
3242 #. type: Content of: <chapter><section><section><section><para>
3243 #: pkgs.dbk:2482
3244 msgid ""
3245 "Sometimes, the question is raised if it is possible to allow packages in "
3246 "that are not yet built on all architectures: No.  Just plainly no.  (Except "
3247 "if you maintain glibc or so.)"
3248 msgstr ""
3249
3250 #. type: Content of: <chapter><section><section><section><title>
3251 #: pkgs.dbk:2489
3252 msgid "Removals from testing"
3253 msgstr ""
3254
3255 #. type: Content of: <chapter><section><section><section><para>
3256 #: pkgs.dbk:2491
3257 msgid ""
3258 "Sometimes, a package is removed to allow another package in: This happens "
3259 "only to allow <emphasis>another</emphasis> package to go in if it's ready in "
3260 "every other sense.  Suppose e.g.  that <literal>a</literal> cannot be "
3261 "installed with the new version of <literal>b</literal>; then "
3262 "<literal>a</literal> may be removed to allow <literal>b</literal> in."
3263 msgstr ""
3264
3265 #. type: Content of: <chapter><section><section><section><para>
3266 #: pkgs.dbk:2498
3267 msgid ""
3268 "Of course, there is another reason to remove a package from "
3269 "<literal>testing</literal>: It's just too buggy (and having a single RC-bug "
3270 "is enough to be in this state)."
3271 msgstr ""
3272
3273 #. type: Content of: <chapter><section><section><section><para>
3274 #: pkgs.dbk:2503
3275 msgid ""
3276 "Furthermore, if a package has been removed from <literal>unstable</literal>, "
3277 "and no package in <literal>testing</literal> depends on it any more, then it "
3278 "will automatically be removed."
3279 msgstr ""
3280
3281 #. type: Content of: <chapter><section><section><section><title>
3282 #: pkgs.dbk:2510
3283 msgid "Circular dependencies"
3284 msgstr ""
3285
3286 #. type: Content of: <chapter><section><section><section><para>
3287 #: pkgs.dbk:2512
3288 msgid ""
3289 "A situation which is not handled very well by britney is if package "
3290 "<literal>a</literal> depends on the new version of package "
3291 "<literal>b</literal>, and vice versa."
3292 msgstr ""
3293
3294 #. type: Content of: <chapter><section><section><section><para>
3295 #: pkgs.dbk:2517
3296 msgid "An example of this is:"
3297 msgstr ""
3298
3299 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3300 #: pkgs.dbk:2530
3301 msgid "a"
3302 msgstr ""
3303
3304 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3305 #: pkgs.dbk:2531
3306 msgid "1; depends: b=1"
3307 msgstr ""
3308
3309 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3310 #: pkgs.dbk:2532
3311 msgid "2; depends: b=2"
3312 msgstr ""
3313
3314 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3315 #: pkgs.dbk:2535
3316 msgid "b"
3317 msgstr ""
3318
3319 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3320 #: pkgs.dbk:2536
3321 msgid "1; depends: a=1"
3322 msgstr ""
3323
3324 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
3325 #: pkgs.dbk:2537
3326 msgid "2; depends: a=2"
3327 msgstr ""
3328
3329 #. type: Content of: <chapter><section><section><section><para>
3330 #: pkgs.dbk:2543
3331 msgid ""
3332 "Neither package <literal>a</literal> nor package <literal>b</literal> is "
3333 "considered for update."
3334 msgstr ""
3335
3336 #. type: Content of: <chapter><section><section><section><para>
3337 #: pkgs.dbk:2547
3338 msgid ""
3339 "Currently, this requires some manual hinting from the release team.  Please "
3340 "contact them by sending mail to &email-debian-release; if this happens to "
3341 "one of your packages."
3342 msgstr ""
3343
3344 #. type: Content of: <chapter><section><section><section><title>
3345 #: pkgs.dbk:2554
3346 msgid "Influence of package in testing"
3347 msgstr ""
3348
3349 #. type: Content of: <chapter><section><section><section><para>
3350 #: pkgs.dbk:2556
3351 msgid ""
3352 "Generally, there is nothing that the status of a package in "
3353 "<literal>testing</literal> means for transition of the next version from "
3354 "<literal>unstable</literal> to <literal>testing</literal>, with two "
3355 "exceptions: If the RC-bugginess of the package goes down, it may go in even "
3356 "if it is still RC-buggy.  The second exception is if the version of the "
3357 "package in <literal>testing</literal> is out of sync on the different "
3358 "arches: Then any arch might just upgrade to the version of the source "
3359 "package; however, this can happen only if the package was previously forced "
3360 "through, the arch is in fuckedarches, or there was no binary package of that "
3361 "arch present in <literal>unstable</literal> at all during the "
3362 "<literal>testing</literal> migration."
3363 msgstr ""
3364
3365 #. type: Content of: <chapter><section><section><section><para>
3366 #: pkgs.dbk:2568
3367 msgid ""
3368 "In summary this means: The only influence that a package being in "
3369 "<literal>testing</literal> has on a new version of the same package is that "
3370 "the new version might go in easier."
3371 msgstr ""
3372
3373 #. type: Content of: <chapter><section><section><section><title>
3374 #: pkgs.dbk:2575
3375 msgid "Details"
3376 msgstr ""
3377
3378 #. type: Content of: <chapter><section><section><section><para>
3379 #: pkgs.dbk:2577
3380 msgid "If you are interested in details, this is how britney works:"
3381 msgstr ""
3382
3383 #. type: Content of: <chapter><section><section><section><para>
3384 #: pkgs.dbk:2580
3385 msgid ""
3386 "The packages are looked at to determine whether they are valid candidates.  "
3387 "This gives the update excuses.  The most common reasons why a package is not "
3388 "considered are too young, RC-bugginess, and out of date on some arches.  For "
3389 "this part of britney, the release managers have hammers of various sizes to "
3390 "force britney to consider a package.  (Also, the base freeze is coded in "
3391 "that part of britney.) (There is a similar thing for binary-only updates, "
3392 "but this is not described here.  If you're interested in that, please peruse "
3393 "the code.)"
3394 msgstr ""
3395
3396 #. type: Content of: <chapter><section><section><section><para>
3397 #: pkgs.dbk:2589
3398 msgid ""
3399 "Now, the more complex part happens: Britney tries to update "
3400 "<literal>testing</literal> with the valid candidates. For that, britney "
3401 "tries to add each valid candidate to the testing distribution. If the number "
3402 "of uninstallable packages in <literal>testing</literal> doesn't increase, "
3403 "the package is accepted. From that point on, the accepted package is "
3404 "considered to be part of <literal>testing</literal>, such that all "
3405 "subsequent installability tests include this package.  Hints from the "
3406 "release team are processed before or after this main run, depending on the "
3407 "exact type."
3408 msgstr ""
3409
3410 #. type: Content of: <chapter><section><section><section><para>
3411 #: pkgs.dbk:2599
3412 msgid ""
3413 "If you want to see more details, you can look it up on "
3414 "<filename>merkel:/org/&ftp-debian-org;/testing/update_out/</filename> (or in "
3415 "<filename>merkel:~aba/testing/update_out</filename> to see a setup with a "
3416 "smaller packages file).  Via web, it's at <ulink "
3417 "url=\"http://&ftp-master-host;/testing/update_out_code/\"></ulink>."
3418 msgstr ""
3419
3420 #. type: Content of: <chapter><section><section><section><para>
3421 #: pkgs.dbk:2606
3422 msgid ""
3423 "The hints are available via <ulink "
3424 "url=\"http://&ftp-master-host;/testing/hints/\"></ulink>."
3425 msgstr ""
3426
3427 #. type: Content of: <chapter><section><section><title>
3428 #: pkgs.dbk:2614
3429 msgid "Direct updates to testing"
3430 msgstr ""
3431
3432 #. type: Content of: <chapter><section><section><para>
3433 #: pkgs.dbk:2616
3434 msgid ""
3435 "The <literal>testing</literal> distribution is fed with packages from "
3436 "<literal>unstable</literal> according to the rules explained above.  "
3437 "However, in some cases, it is necessary to upload packages built only for "
3438 "<literal>testing</literal>.  For that, you may want to upload to "
3439 "<literal>testing-proposed-updates</literal>."
3440 msgstr ""
3441
3442 #. type: Content of: <chapter><section><section><para>
3443 #: pkgs.dbk:2623
3444 msgid ""
3445 "Keep in mind that packages uploaded there are not automatically processed, "
3446 "they have to go through the hands of the release manager.  So you'd better "
3447 "have a good reason to upload there.  In order to know what a good reason is "
3448 "in the release managers' eyes, you should read the instructions that they "
3449 "regularly give on &email-debian-devel-announce;."
3450 msgstr ""
3451
3452 #. type: Content of: <chapter><section><section><para>
3453 #: pkgs.dbk:2630
3454 msgid ""
3455 "You should not upload to <literal>testing-proposed-updates</literal> when "
3456 "you can update your packages through <literal>unstable</literal>.  If you "
3457 "can't (for example because you have a newer development version in "
3458 "<literal>unstable</literal>), you may use this facility, but it is "
3459 "recommended that you ask for authorization from the release manager first.  "
3460 "Even if a package is frozen, updates through <literal>unstable</literal> are "
3461 "possible, if the upload via <literal>unstable</literal> does not pull in any "
3462 "new dependencies."
3463 msgstr ""
3464
3465 #. type: Content of: <chapter><section><section><para>
3466 #: pkgs.dbk:2639
3467 msgid ""
3468 "Version numbers are usually selected by adding the codename of the "
3469 "<literal>testing</literal> distribution and a running number, like "
3470 "<literal>1.2squeeze1</literal> for the first upload through "
3471 "<literal>testing-proposed-updates</literal> of package version "
3472 "<literal>1.2</literal>."
3473 msgstr ""
3474
3475 #. type: Content of: <chapter><section><section><para>
3476 #: pkgs.dbk:2646
3477 msgid "Please make sure you didn't miss any of these items in your upload:"
3478 msgstr ""
3479
3480 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3481 #: pkgs.dbk:2651
3482 msgid ""
3483 "Make sure that your package really needs to go through "
3484 "<literal>testing-proposed-updates</literal>, and can't go through "
3485 "<literal>unstable</literal>;"
3486 msgstr ""
3487
3488 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3489 #: pkgs.dbk:2658
3490 msgid "Make sure that you included only the minimal amount of changes;"
3491 msgstr ""
3492
3493 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3494 #: pkgs.dbk:2663
3495 msgid "Make sure that you included an appropriate explanation in the changelog;"
3496 msgstr ""
3497
3498 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3499 #: pkgs.dbk:2668
3500 msgid ""
3501 "Make sure that you've written <literal>testing</literal> or "
3502 "<literal>testing-proposed-updates</literal> into your target distribution;"
3503 msgstr ""
3504
3505 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3506 #: pkgs.dbk:2674
3507 msgid ""
3508 "Make sure that you've built and tested your package in "
3509 "<literal>testing</literal>, not in <literal>unstable</literal>;"
3510 msgstr ""
3511
3512 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3513 #: pkgs.dbk:2680
3514 msgid ""
3515 "Make sure that your version number is higher than the version in "
3516 "<literal>testing</literal> and <literal>testing-proposed-updates</literal>, "
3517 "and lower than in <literal>unstable</literal>;"
3518 msgstr ""
3519
3520 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3521 #: pkgs.dbk:2687
3522 msgid ""
3523 "After uploading and successful build on all platforms, contact the release "
3524 "team at &email-debian-release; and ask them to approve your upload."
3525 msgstr ""
3526
3527 #. type: Content of: <chapter><section><section><title>
3528 #: pkgs.dbk:2695
3529 msgid "Frequently asked questions"
3530 msgstr ""
3531
3532 #. type: Content of: <chapter><section><section><section><title>
3533 #: pkgs.dbk:2697
3534 msgid "What are release-critical bugs, and how do they get counted?"
3535 msgstr ""
3536
3537 #. type: Content of: <chapter><section><section><section><para>
3538 #: pkgs.dbk:2699
3539 msgid ""
3540 "All bugs of some higher severities are by default considered "
3541 "release-critical; currently, these are <literal>critical</literal>, "
3542 "<literal>grave</literal> and <literal>serious</literal> bugs."
3543 msgstr ""
3544
3545 #. type: Content of: <chapter><section><section><section><para>
3546 #: pkgs.dbk:2704
3547 msgid ""
3548 "Such bugs are presumed to have an impact on the chances that the package "
3549 "will be released with the <literal>stable</literal> release of Debian: in "
3550 "general, if a package has open release-critical bugs filed on it, it won't "
3551 "get into <literal>testing</literal>, and consequently won't be released in "
3552 "<literal>stable</literal>."
3553 msgstr ""
3554
3555 #. type: Content of: <chapter><section><section><section><para>
3556 #: pkgs.dbk:2711
3557 msgid ""
3558 "The <literal>unstable</literal> bug count are all release-critical bugs "
3559 "which are marked to apply to "
3560 "<replaceable>package</replaceable>/<replaceable>version</replaceable> "
3561 "combinations that are available in unstable for a release architecture. The "
3562 "<literal>testing</literal> bug count is defined analogously."
3563 msgstr ""
3564
3565 #. type: Content of: <chapter><section><section><section><title>
3566 #: pkgs.dbk:2719
3567 msgid ""
3568 "How could installing a package into <literal>testing</literal> possibly "
3569 "break other packages?"
3570 msgstr ""
3571
3572 #. type: Content of: <chapter><section><section><section><para>
3573 #: pkgs.dbk:2722
3574 msgid ""
3575 "The structure of the distribution archives is such that they can only "
3576 "contain one version of a package; a package is defined by its name.  So when "
3577 "the source package <literal>acmefoo</literal> is installed into "
3578 "<literal>testing</literal>, along with its binary packages "
3579 "<literal>acme-foo-bin</literal>, <literal>acme-bar-bin</literal>, "
3580 "<literal>libacme-foo1</literal> and <literal>libacme-foo-dev</literal>, the "
3581 "old version is removed."
3582 msgstr ""
3583
3584 #. type: Content of: <chapter><section><section><section><para>
3585 #: pkgs.dbk:2730
3586 msgid ""
3587 "However, the old version may have provided a binary package with an old "
3588 "soname of a library, such as <literal>libacme-foo0</literal>.  Removing the "
3589 "old <literal>acmefoo</literal> will remove <literal>libacme-foo0</literal>, "
3590 "which will break any packages which depend on it."
3591 msgstr ""
3592
3593 #. type: Content of: <chapter><section><section><section><para>
3594 #: pkgs.dbk:2736
3595 msgid ""
3596 "Evidently, this mainly affects packages which provide changing sets of "
3597 "binary packages in different versions (in turn, mainly libraries).  However, "
3598 "it will also affect packages upon which versioned dependencies have been "
3599 "declared of the ==, &lt;=, or &lt;&lt; varieties."
3600 msgstr ""
3601
3602 #. type: Content of: <chapter><section><section><section><para>
3603 #: pkgs.dbk:2742
3604 msgid ""
3605 "When the set of binary packages provided by a source package change in this "
3606 "way, all the packages that depended on the old binaries will have to be "
3607 "updated to depend on the new binaries instead.  Because installing such a "
3608 "source package into <literal>testing</literal> breaks all the packages that "
3609 "depended on it in <literal>testing</literal>, some care has to be taken now: "
3610 "all the depending packages must be updated and ready to be installed "
3611 "themselves so that they won't be broken, and, once everything is ready, "
3612 "manual intervention by the release manager or an assistant is normally "
3613 "required."
3614 msgstr ""
3615
3616 #. type: Content of: <chapter><section><section><section><para>
3617 #: pkgs.dbk:2753
3618 msgid ""
3619 "If you are having problems with complicated groups of packages like this, "
3620 "contact &email-debian-devel; or &email-debian-release; for help."
3621 msgstr ""