@ -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 coun t of release - critical bugs for a given
* Bugs V , which contains the lis t 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 ` Bugs V ' 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 coun ts before
# if the suite is unstable, then we have to check the release-critical bug lis ts before
# updating testing; if the unstable package ha ve a RC bug count greater than the testing
# updating testing; if the unstable package ha s 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 ( ) :