Package: release.debian.org Severity: wishlist User: release.debian.org@packages.debian.org Usertags: britney Please apply this patch to drop the duplicate 'has new bugs' excuses item. The 'Updating foo introduces new bugs:' item includes bug numbers so the 'has new bugs' item is less useful than it. -- bye, pabs https://wiki.debian.org/PaulWise
From ceca85e82f047e7763ea1102ccdbf6da548e9932 Mon Sep 17 00:00:00 2001
From: Paul Wise <pabs@debian.org>
Date: Sat, 6 Jan 2018 11:28:21 +0800
Subject: [PATCH] Drop duplicate 'has new bugs' excuses item
The other item includes bug numbers so this one is less useful.
---
britney2/policies/policy.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/britney2/policies/policy.py b/britney2/policies/policy.py
index e588351..adcc938 100644
--- a/britney2/policies/policy.py
+++ b/britney2/policies/policy.py
@@ -476,9 +476,6 @@ class RCBugPolicy(BasePolicy):
old_bugs = rcbugs_info['unique-target-bugs']
excuse.setbugs(old_bugs, new_bugs)
if new_bugs:
- excuse.addhtml("%s <a href=\"https://bugs.debian.org/cgi-bin/pkgreport.cgi?" \
- "src=%s&sev-inc=critical&sev-inc=grave&sev-inc=serious\" " \
- "target=\"_blank\">has new bugs</a>!" % (source_name, quote(source_name)))
excuse.addhtml("Updating %s introduces new bugs: %s" % (source_name, ", ".join(
["<a href=\"https://bugs.debian.org/%s\">#%s</a>" % (quote(a), a) for a in new_bugs])))
--
2.15.1
Attachment:
signature.asc
Description: This is a digitally signed message part