X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=developers-reference.git;a=blobdiff_plain;f=pkgs.dbk;h=873c42c4e7d0678c609153727434f581e58401f8;hp=8964d6130d849c7bb04e48abf30a7478d4a18816;hb=77b013446f5eae9c95c365accac00b32cc367bc9;hpb=0432c986fd618b4513112546d144b52d7c3dc217 diff --git a/pkgs.dbk b/pkgs.dbk index 8964d61..873c42c 100644 --- a/pkgs.dbk +++ b/pkgs.dbk @@ -290,9 +290,9 @@ There are several possible values for this field: stable, unstable. -Actually, there are two other possible distributions: stable-security -and testing-security, but read - for more information on those. +Actually, there are other possible distributions: +codename-security, +but read for more information on those. It is not possible to upload a package into several distributions at the same @@ -311,8 +311,9 @@ point release. To ensure that your upload will be accepted, you should discuss the changes -with the stable release team before you upload. For that, send a mail to -the &email-debian-release; mailing list, including the patch you want to +with the stable release team before you upload. For that, file a bug against +the release.debian.org pseudo-package +using reportbug, including the patch you want to apply to the package version currently in stable. Always be verbose and detailed in your changelog entries for uploads to the stable distribution. @@ -428,7 +429,8 @@ When the specified waiting time is over, the package is moved into the regular incoming directory for processing. This is done through automatic uploading to &ftp-upload-host; in upload-directory -DELAYED/[012345678]-day. 0-day is uploaded +DELAYED/X-day +(X between 0 and 15). 0-day is uploaded multiple times per day to &ftp-upload-host;. @@ -441,8 +443,8 @@ parameter to put the package into one of the queues. Security uploads Do NOT upload a package to the security -upload queue (oldstable-security, stable-security, -etc.) without prior authorization from the security team. If the +upload queue (on security-master.debian.org) +without prior authorization from the security team. If the package does not exactly meet the team's requirements, it will cause many problems and delays in dealing with the unwanted upload. For details, please see . @@ -841,10 +843,9 @@ fixing them themselves, sending security advisories, and maintaining When you become aware of a security-related bug in a Debian package, whether or not you are the maintainer, collect pertinent information about the problem, -and promptly contact the security team, preferably by filing a ticket in -their Request Tracker. -See . -Alternatively you may email &email-security-team;. +and promptly contact the security team by emailing &email-security-team;. If +desired, email can be encrypted with the Debian Security Contact key, see + for details. DO NOT UPLOAD any packages for stable without contacting the team. Useful information includes, for example: @@ -1120,11 +1121,10 @@ Be sure to verify the following items: Target the right distribution -in your debian/changelog. -For stable this is stable-security and -for testing this is testing-security, and for the previous -stable release, this is oldstable-security. Do not target -distribution-proposed-updates or +in your debian/changelog: +codename-security +(e.g. wheezy-security). +Do not target distribution-proposed-updates or stable! @@ -1152,8 +1152,9 @@ later distributions. If in doubt, test it with dpkg --compare-versions. Be careful not to re-use a version number that you have already used for a previous upload, or one that conflicts with a binNMU. The convention is to append -+codename1, e.g. -1:2.4.3-4+lenny1, of course increasing 1 for any subsequent ++debXu1 (where +X is the major release number), e.g. +1:2.4.3-4+deb7u1, of course increasing 1 for any subsequent uploads. @@ -1192,8 +1193,8 @@ have such a system yourself, you can use a debian.org machine (see Uploading the fixed package Do NOT upload a package to the security -upload queue (oldstable-security, stable-security, -etc.) without prior authorization from the security team. If the +upload queue (on security-master.debian.org) +without prior authorization from the security team. If the package does not exactly meet the team's requirements, it will cause many problems and delays in dealing with the unwanted upload. @@ -1236,7 +1237,7 @@ on &ftp-master-host;.
-Moving, removing, renaming, adopting, and orphaning packages +Moving, removing, renaming, orphaning, adopting, and reintroducing packages Some archive manipulation operations are not automated in the Debian upload process. These procedures should be manually followed by maintainers. This @@ -1277,7 +1278,7 @@ described in . If for some reason you want to completely remove a package (say, if it is an old compatibility library which is no longer required), you need to file a bug -against ftp.debian.org asking that the package be removed; +against &ftp-debian-org; asking that the package be removed; as all bugs, this bug should normally have normal severity. The bug title should be in the form RM: package [architecture list] -- @@ -1288,7 +1289,7 @@ short summary of the reason for the removal request. if the removal request only applies to some architectures, not all. Note that the reportbug will create a title conforming to these rules when you use it to report a bug against the -ftp.debian.org pseudo-package. +&ftp-debian-org; pseudo-package. @@ -1307,7 +1308,10 @@ distribution. Packages are not removed from testing directly. Rather, they will be removed automatically after the package has been removed from unstable and no package in -testing depends on it. +testing depends on it. (Removals from +testing are possible though by filing a removal bug report +against the &release-debian-org; +pseudo-package. See the section .) There is one exception when an explicit removal request is not necessary: If a @@ -1393,7 +1397,7 @@ Policy Manual for details). Please note that you should only add a Provides relation if all packages depending on the obsolete package name continue to work after the renaming. Once you've uploaded the package and the package -has moved into the archive, file a bug against ftp.debian.org +has moved into the archive, file a bug against &ftp-debian-org; asking to remove the package with the obsolete name (see ). Do not forget to properly reassign the package's bugs at the same time. @@ -1481,6 +1485,55 @@ they will continue to receive the bugs during that time.
+
+Reintroducing packages + +Packages are often removed due to release-critical bugs, absent maintainers, +too few users or poor quality in general. While the process of reintroduction +is similar to the initial packaging process, you can avoid some pitfalls by +doing some historical research first. + + +You should check why the package was removed in the first place. This +information can be found in the removal item in the news section of the PTS +page for the package or by browsing the log of +removals. +The removal bug will tell you why the package was removed and will give some +indication of what you will need to work on in order to reintroduce the package. +It may indicate that the best way forward is to switch to some other piece of +software instead of reintroducing the package. + + +It may be appropriate to contact the former maintainers to find out if +they are working on reintroducing the package, interested in co-maintaining +the package or interested in sponsoring the package if needed. + + +You should do all the things required before introducing new packages +(). + + +You should base your work on the latest packaging available that is suitable. +That might be the latest version from unstable, which will +still be present in the snapshot archive. + + +The version control system used by the previous maintainer might contain useful +changes, so it might be a good idea to have a look there. Check if the control +file of the previous package contained any headers linking to the version +control system for the package and if it still exists. + + +Package removals from unstable (not testing, +stable or oldstable) trigger the +closing of all bugs related to the package. You should look through all the +closed bugs (including archived bugs) and unarchive and reopen any that were +closed in a version ending in +rm and still apply. Any that +no longer apply should be marked as fixed in the correct version if that is +known. + +
+
@@ -1953,11 +2006,11 @@ maintainer by other means (private email, IRC). If the maintainer is usually active and responsive, have you tried to contact -him? In general it should be considered preferable that a maintainer takes care -of an issue himself and that he is given the chance to review and correct your -patch, because he can be expected to be more aware of potential issues which an -NMUer might miss. It is often a better use of everyone's time if the maintainer -is given an opportunity to upload a fix on their own. +them? In general it should be considered preferable that maintainers take care +of an issue themselves and that they are given the chance to review and +correct your patch, because they can be expected to be more aware of potential +issues which an NMUer might miss. It is often a better use of everyone's time +if the maintainer is given an opportunity to upload a fix on their own. @@ -2084,26 +2137,17 @@ It also has the benefit of making it visually clear that a package in the archive was not made by the official maintainer. - If you upload a package to testing or stable, you sometimes need to "fork" the version number tree. This is the case for security uploads, for example. For this, a version of the form -+debXYuZ -should be used, where X and -Y are the major and minor release numbers, and -Z is a counter starting at 1. -When the release number is not yet known (often the case for -testing, at the beginning of release cycles), the lowest -release number higher than the last stable release number must be used. For -example, while Lenny (Debian 5.0) is stable, a security NMU to stable for a -package at version 1.5-3 would have version -1.5-3+deb50u1, whereas a security NMU to Squeeze would get -version 1.5-3+deb60u1. After the release of Squeeze, security -uploads to the testing distribution will be versioned -+deb61uZ, until it is known whether that release will be -Debian 6.1 or Debian 7.0 (if that becomes the case, uploads will be versioned -as +deb70uZ). ++debXuY +should be used, where X is the major release number, +and Y is a counter starting at 1. +For example, while Wheezy (Debian 7.0) is stable, a security NMU to stable for +a package at version 1.5-3 would have version +1.5-3+deb7u1, whereas a security NMU to Jessie would get +version 1.5-3+deb8u1.
@@ -2119,7 +2163,7 @@ allows the developer doing the NMU to perform all the necessary tasks at the same time. For instance, instead of telling the maintainer that you will upload the updated package in 7 days, you should upload the package to -DELAYED/7 and tell the maintainer that he has 7 days to +DELAYED/7 and tell the maintainer that they have 7 days to react. During this time, the maintainer can ask you to delay the upload some more, or cancel your upload.
@@ -2128,12 +2172,12 @@ more, or cancel your upload. The DELAYED queue should not be used to put additional pressure on the maintainer. In particular, it's important that you are available to cancel or delay the upload before the delay expires since the -maintainer cannot cancel the upload himself. +maintainer cannot cancel the upload themselves.
If you make an NMU to DELAYED and the maintainer updates -his package before the delay expires, your upload will be rejected because a +the package before the delay expires, your upload will be rejected because a newer version is already available in the archive. Ideally, the maintainer will take care to include your proposed changes (or at least a solution for the problems they address) in that upload. @@ -2381,9 +2425,7 @@ the following: The package must have been available in unstable for 2, 5 or 10 days, depending on the urgency (high, medium or low). Please note that the urgency is sticky, meaning that the highest urgency uploaded since the -previous testing transition is taken into account. Those -delays may be doubled during a freeze, or testing -transitions may be switched off altogether; +previous testing transition is taken into account; @@ -2411,7 +2453,13 @@ It must not break any dependency of a package which is already available in The packages on which it depends must either be available in testing or they must be accepted into testing at the same time (and they will be if they fulfill -all the necessary criteria). +all the necessary criteria); + + + + +The phase of the project. I.e. automatic transitions are turned off during +the freeze of the testing distribution. @@ -2623,10 +2671,8 @@ If you are interested in details, this is how britney works: The packages are looked at to determine whether they are valid candidates. This gives the update excuses. The most common reasons why a package is not considered are too young, RC-bugginess, and out of date on some arches. For -this part of britney, the release managers have hammers of various sizes to -force britney to consider a package. (Also, the base freeze is coded in that -part of britney.) (There is a similar thing for binary-only updates, but this -is not described here. If you're interested in that, please peruse the code.) +this part of britney, the release managers have hammers of various sizes, +called hints (see below), to force britney to consider a package. Now, the more complex part happens: Britney tries to update testing @@ -2644,7 +2690,13 @@ url="http://&ftp-master-host;/testing/update_output/">. The hints are available via . +url="http://&ftp-master-host;/testing/hints/">, where you can find +the +description +as well. With the hints, the Debian Release team can block or unblock +packages, ease or force packages into testing, remove +packages from testing, approve uploads to +testing-proposed-updates or override the urgency.