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