Update documentation relating to release-critical bugs

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

britney now uses the "BugsV" files rather than "Bugs".  The new
files contain a list of bugs, not a count, and the migration
of the package is dependent on there being no new RC bugs in unstable
relative to testing, rather than simply fewer RC bugs.
bzr-import-20160707
Adam D. Barratt 15 years ago
parent 1ff705f152
commit ca99fe7f0c

@ -49,8 +49,8 @@ and Britney.read_binaries).
Other than source and binary packages, Britney loads the following data: Other than source and binary packages, Britney loads the following data:
* Bugs, which contains the count of release-critical bugs for a given * BugsV, which contains the list of release-critical bugs for a given
version of a source package (see Britney.read_bugs). version of a source or binary package (see Britney.read_bugs).
* Dates, which contains the date of the upload of a given version * Dates, which contains the date of the upload of a given version
of a source package (see Britney.read_dates). of a source package (see Britney.read_dates).
@ -148,8 +148,8 @@ does for the generation of the update excuses.
9. The source package must have at least a binary package, otherwise 9. The source package must have at least a binary package, otherwise
it is ignored. it is ignored.
10. If the suite is unstable, the count of release critical bugs for 10. If the suite is unstable, the new source package must have no
the new source package must be less then the count for the testing release critical bugs which do not also apply to the testing
one. If this is not true, the package is ignored as `buggy'. one. If this is not true, the package is ignored as `buggy'.
11. If there is a `force' hint for the source package, then it is 11. If there is a `force' hint for the source package, then it is
@ -549,14 +549,14 @@ class Britney:
def read_bugs(self, basedir): def read_bugs(self, basedir):
"""Read the release critial bug summary from the specified directory """Read the release critial bug summary from the specified directory
The RC bug summaries are read from the `Bugs' file within the The RC bug summaries are read from the `BugsV' file within the
directory specified as `basedir' parameter. The file contains directory specified as `basedir' parameter. The file contains
rows with the format: rows with the format:
<package-name> <count-of-rc-bugs> <package-name> <bug number>[,<bug number>...]
The method returns a dictionary where the key is the binary package The method returns a dictionary where the key is the binary package
name and the value is the number of open RC bugs for it. name and the value is the list of open RC bugs for it.
""" """
bugs = {} bugs = {}
filename = os.path.join(basedir, "BugsV") filename = os.path.join(basedir, "BugsV")
@ -1306,8 +1306,8 @@ class Britney:
excuse.addhtml("%s has no binaries on any arch" % src) excuse.addhtml("%s has no binaries on any arch" % src)
update_candidate = False update_candidate = False
# if the suite is unstable, then we have to check the release-critical bug counts before # if the suite is unstable, then we have to check the release-critical bug lists before
# updating testing; if the unstable package have a RC bug count greater than the testing # updating testing; if the unstable package has RC bugs that do not apply to the testing
# one, the check fails and we set update_candidate to False to block the update # one, the check fails and we set update_candidate to False to block the update
if suite == 'unstable': if suite == 'unstable':
for pkg in pkgs.keys(): for pkg in pkgs.keys():

Loading…
Cancel
Save