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

Bug#932524: reportbug: support buster-pu bugs against release.debian.org



Dear maintainer,

Please find a patch enclosed, which updates the CODENAME2SUITE and SUITE2CODENAME
mappings in utils.py, resolving this bug.

The patch is also available as a merge request on salsa.d.o:
  https://salsa.debian.org/reportbug-team/reportbug/merge_requests/26

Best,

  nicoo

On Sat, Jul 20, 2019 at 01:46:44PM +0200, Nicolas Braud-Santoni wrote:
> Package: reportbug
> Version: 7.5.2
> Severity: wishlist
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Dear maintainers,
> 
> I just noticed that, when submitting a bug against release.debian.org,
> reportbug offers an option for stretch-pu, but not buster-pu.
> 
> Please consider updating the template used there (or programatically generate
> it based on the list of current Debian releases).
> 
> 
> Best,
> 
>   nicoo
> 
> - -- Package-specific info:
> ** Environment settings:
> EDITOR="emacsclient"
> PAGER="less"
> DEBEMAIL="nicoo@debian.org"
> DEBFULLNAME="Nicolas Braud-Santoni"
> INTERFACE="text"
> 
> ** /home/nicoo/.reportbugrc:
> mode advanced
> ui text
> sign gpg
> no-query-bts
> 
> - -- System Information:
> Debian Release: bullseye/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages reportbug depends on:
> ii  apt                1.8.2
> ii  python3            3.7.3-1
> ii  python3-reportbug  7.5.2
> ii  sensible-utils     0.0.12
> 
> reportbug recommends no packages.
> 
> Versions of packages reportbug suggests:
> pn  claws-mail                               <none>
> ii  debconf-utils                            1.5.72
> ii  debsums                                  2.2.3
> pn  dlocate                                  <none>
> pn  emacs24-bin-common | emacs25-bin-common  <none>
> ii  file                                     1:5.35-4
> ii  gnupg                                    2.2.13-2
> ii  msmtp-mta [mail-transport-agent]         1.8.3-1
> pn  python3-urwid                            <none>
> pn  reportbug-gtk                            <none>
> ii  xdg-utils                                1.1.3-1
> 
> Versions of packages python3-reportbug depends on:
> ii  apt                1.8.2
> ii  file               1:5.35-4
> ii  python3            3.7.3-1
> ii  python3-apt        1.8.4
> ii  python3-debian     0.1.35
> ii  python3-debianbts  2.8.2
> ii  python3-requests   2.21.0-1
> 
> python3-reportbug suggests no packages.
> 
> - -- no debconf information
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iQJFBAEBCgAvFiEEU7EqA8ZVHYoLJhPE5vmO4pLV7MsFAl0y/yERHG5pY29vQGRl
> Ymlhbi5vcmcACgkQ5vmO4pLV7MueRQ//dv4r0brpbs8eJ+SktdFHpsDIbq/CX6Gb
> 0MrGQpMGNG+HFb2D3yszxuPCSuXqWK/Gw+ugeWvGrtJK91fCDoMg4xrgIFYtK1SL
> K4FkrY1fdgtUdXQWOcRUbfd8VxsbFmQQRbnAEdQMwjDpWBqvxFjsfFw1AqrdMRE0
> pOdWEoArEAUDA+uon+n4sXlpbdeiCmkc7NiME+7vQznn4/Dy+kPZ4+O1boTSERX4
> x1V7oGt8m5mwTRFxSuuEWdLejuyYVkPhI5y0HCwfZUEdMV9mShCqyPS9cnwBXIbT
> JGEUVwGJ9xdNOgmIe7OuNqjEjI3SUMqdA9pYWdAzkqc1iA/daQ7flRoY53OhWYZv
> cYWYWfWDiDPXBXiqvY+JQucwlW5XLdXF+m1/Go3AUslfRr5dLE9/1IvxRbs0F6k5
> C+vAA9TR0HjwLqlhIFBjorWy9PbKjfjHL71sfuhio3muCW6RM8/fo0/euxef+pCC
> OBLInDLZ6Wt9W7arrLsP86M5pxUK/1H8/dgNcbn9Hld7o2MzYswXnmlZFNkjT6MK
> 8QjsateHvpCjtIDIuERcZamZ7EQ3H7ByuTxXvbFl3oG1nDSTTRBjY/y1eeaib/q/
> 6d6Jb1Wm8tyG6U5bASOiEpstU1nbVDSQ3gsREdyCGG7+Z6cvZJF7s0AOhnhfQnLA
> YBV7oodJKG8=
> =Y8xj
> -----END PGP SIGNATURE-----
> 
From 44c2e337865dddcc39f8ab976014956a13fb72df Mon Sep 17 00:00:00 2001
From: Nicolas Braud-Santoni <nicoo@debian.org>
Date: Thu, 15 Aug 2019 00:40:57 +0200
Subject: [PATCH] utils: Update the CODENAME2SUITE mapping, following Buster's
 release

Closes: #932524
---
 reportbug/utils.py | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/reportbug/utils.py b/reportbug/utils.py
index 545504d..67c775c 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -93,13 +93,14 @@ fhs_directories = ['/', '/usr', '/usr/share', '/var', '/usr/X11R6',
                    '/usr/man', '/usr/doc', '/usr/bin']
 
 # A map between codenames and suites
-CODENAME2SUITE = {'wheezy': 'oldoldstable',
-                'jessie': 'oldstable',
-                'stretch': 'stable',
-                'buster': 'testing',
-                'bullseye': 'next-testing',
-                'sid': 'unstable',
-                'experimental': 'experimental'}
+CODENAME2SUITE = {'wheezy': 'oldoldoldstable',
+                  'jessie': 'oldoldstable',
+                  'stretch': 'oldstable',
+                  'buster': 'stable',
+                  'bullseye': 'testing',
+                  'bookworm': 'next-testing',
+                  'sid': 'unstable',
+                  'experimental': 'experimental'}
 SUITE2CODENAME = dict([(suite, codename) for codename, suite in list(CODENAME2SUITE.items())])
 
 
-- 
2.23.0.rc1

Attachment: signature.asc
Description: PGP signature


Reply to: