mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-13 19:41:29 +00:00
Change the default urgency setting to medium
But don't force urgency to medium for new packages, they can still be low. Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
b71bf02575
commit
7966ceae1a
@ -33,7 +33,7 @@ MINDAYS_MEDIUM = 5
|
|||||||
MINDAYS_HIGH = 2
|
MINDAYS_HIGH = 2
|
||||||
MINDAYS_CRITICAL = 0
|
MINDAYS_CRITICAL = 0
|
||||||
MINDAYS_EMERGENCY = 0
|
MINDAYS_EMERGENCY = 0
|
||||||
DEFAULT_URGENCY = low
|
DEFAULT_URGENCY = medium
|
||||||
|
|
||||||
# hint permissions
|
# hint permissions
|
||||||
HINTS_ABA = ALL
|
HINTS_ABA = ALL
|
||||||
|
@ -1239,9 +1239,10 @@ class Britney(object):
|
|||||||
|
|
||||||
# retrieve the urgency for the upload, ignoring it if this is a NEW package (not present in testing)
|
# retrieve the urgency for the upload, ignoring it if this is a NEW package (not present in testing)
|
||||||
urgency = self.urgencies.get(src, self.options.default_urgency)
|
urgency = self.urgencies.get(src, self.options.default_urgency)
|
||||||
if not source_t and urgency != self.options.default_urgency:
|
if not source_t:
|
||||||
excuse.addhtml("Ignoring %s urgency setting for NEW package" % (urgency))
|
if self.MINDAYS[urgency] < self.MINDAYS[self.options.default_urgency]:
|
||||||
urgency = self.options.default_urgency
|
excuse.addhtml("Ignoring %s urgency setting for NEW package" % (urgency))
|
||||||
|
urgency = self.options.default_urgency
|
||||||
|
|
||||||
# if there is a `remove' hint and the requested version is the same as the
|
# if there is a `remove' hint and the requested version is the same as the
|
||||||
# version in testing, then stop here and return False
|
# version in testing, then stop here and return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user