[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#808031: britney: do not hard-code codenames in the URL to the freeze policy



Package: release.debian.org
Severity: wishlist
User: release.debian.org@packages.debian.org
Usertags: britney

Please apply the attached patch to remove hard-coding of codenames in
the URLs to the freeze policy.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


From e805bd005c2d8f6d0b89ee760ec8ec1e0b9f8d12 Mon Sep 17 00:00:00 2001
From: Paul Wise <pabs@debian.org>
Date: Sun, 22 Nov 2015 20:05:25 +0800
Subject: [PATCH] Do not hard-code codenames in the URL to the freeze policy

---
 britney.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/britney.py b/britney.py
index 86158fe..49ea979 100755
--- a/britney.py
+++ b/britney.py
@@ -1087,7 +1087,7 @@ class Britney(object):
         # if the package is blocked, skip it
         for hint in self.hints.search('block', package=pkg, removal=True):
             excuse.addhtml("Not touching package, as requested by %s "
-                "(check https://release.debian.org/stretch/freeze_policy.html if update is needed)" % hint.user)
+                "(check https://release.debian.org/testing/freeze_policy.html if update is needed)" % hint.user)
             excuse.addhtml("Not considered")
             excuse.addreason("block")
             self.excuses.append(excuse)
@@ -1346,7 +1346,7 @@ class Britney(object):
                         excuse.addhtml("%s request by %s ignored due to version mismatch: %s" %
                                        (unblock_cmd.capitalize(), unblocks[0].user, unblocks[0].version))
                 if suite == 'unstable' or block_cmd == 'block-udeb':
-                    tooltip = "check https://release.debian.org/stretch/freeze_policy.html if update is needed"
+                    tooltip = "check https://release.debian.org/testing/freeze_policy.html if update is needed"
                     # redirect people to d-i RM for udeb things:
                     if block_cmd == 'block-udeb':
                         tooltip = "please contact the d-i release manager if an update is needed"
-- 
2.6.4

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: