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

Bug#931609: Update release names after the Buster release.



Package: reportbug
Version: 7.5.2+deb10u1
Severity: important

Hi,

Please apply the attached patch to fix reportbug regarding the new release
name mappings. Please allow me to NMU this at least in Buster, if you
don't have time to upload yourself, as IMO, this is a bit critical. Indeed,
I tried to do:

"reportbug -b release.debian.org cloudkitty"

selected stretch-pu, thinking I'll fix later on, but reportbug just crashed
on me trying to fetch version numbers, as cloudkitty isn't in Stretch. This
isn't nice at all... :)

Cheers,

Thomas Goirand (zigo)
diff --git a/debian/changelog b/debian/changelog
index a8c7b04..8b167c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+reportbug (7.5.2+deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix release names.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 08 Jul 2019 10:22:29 +0200
+
 reportbug (7.5.2) unstable; urgency=medium
 
   * bin/reportbug
diff --git a/reportbug/__init__.py b/reportbug/__init__.py
index 5158a19..aecbd4f 100644
--- a/reportbug/__init__.py
+++ b/reportbug/__init__.py
@@ -25,7 +25,7 @@ SOFTWARE."""
 __all__ = ['bugreport', 'utils', 'urlutils', 'checkbuildd', 'checkversions',
            'debbugs', 'exceptions', 'submit', 'tempfile']
 
-VERSION_NUMBER = "7.5.2"
+VERSION_NUMBER = "7.5.2+deb10u1"
 
 VERSION = "reportbug " + VERSION_NUMBER
 COPYRIGHT = VERSION + '\nCopyright (C) 1999-2008 Chris Lawrence <lawrencc@debian.org>' + \
diff --git a/reportbug/utils.py b/reportbug/utils.py
index 545504d..98e089a 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -93,11 +93,11 @@ 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',
+CODENAME2SUITE = {'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())])

Reply to: