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

Bug#938941: debbugs.py: Re-enable support to issue stretch-pu requests



Control: tags -1 + patch

On Fri, Aug 30, 2019 at 03:07:53PM +0200, Salvatore Bonaccorso wrote:
> Source: reportbug
> Version: 7.5.3
> Severity: normal
> 
> Hi
> 
> Back when jessie was moved to LTS status the support for release.d.o
> bugs to submit jessie-pu bugs was commented out. But in meanwhile
> buster and stretch are both supported for now. Thus
> 
>  407     tag = ui.menu('What sort of request is this?  (If none of these '
>  408                   'things mean anything to you, or you are trying to report '
>  409                   'a bug in an existing package, please press Enter to '
>  410                   'exit reportbug.)', {
>  411                       'binnmu': "binNMU requests",
>  412                       'britney': "testing migration script bugs",
>  413                       'transition': "transition tracking",
>  414                       'unblock': "unblock requests",
>  415                       #oldstable_pu: "%s proposed updates requests" % oldstable,
>  416                       stable_pu: "%s proposed updates requests" % stable,
>  417                       'rm': "Stable/Testing removal requests",
>  418                       'other': "None of the other options",
>  419                   }, 'Choose the request type: ', empty_ok=True)
> 
> should comment out again oldstable_pu entry to actually display it.

Attached respective change to uncomment it again.

https://salsa.debian.org/reportbug-team/reportbug/merge_requests/29

Regards,
Salvatore
>From e5e884731a0ad9585d146065aaf6d3551d8203e1 Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso <carnil@debian.org>
Date: Fri, 30 Aug 2019 15:35:52 +0200
Subject: [PATCH] Allow to fill stretch-pu updates against release.debian.org

The entry to allow to fill stretch-pu (resp. oldstable-pu) updates was
disabled back when jessie was moved from regular support to LTS. As of
now both buster and stretch are supported. Thus re-enable the option to
fill stretch-pu updates.

Closes: #938941

Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
---
 reportbug/debbugs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reportbug/debbugs.py b/reportbug/debbugs.py
index 609316c95efa..f70f4b324796 100644
--- a/reportbug/debbugs.py
+++ b/reportbug/debbugs.py
@@ -412,7 +412,7 @@ def handle_debian_release(package, bts, ui, fromaddr, timeout, online=True, http
                       'britney': "testing migration script bugs",
                       'transition': "transition tracking",
                       'unblock': "unblock requests",
-                      #oldstable_pu: "%s proposed updates requests" % oldstable,
+                      oldstable_pu: "%s proposed updates requests" % oldstable,
                       stable_pu: "%s proposed updates requests" % stable,
                       'rm': "Stable/Testing removal requests",
                       'other': "None of the other options",
-- 
2.23.0


Reply to: