Browse Source

update the list of pseudopackages (and fix & re-enable unittest); Closes: #831848,

Sandro Tosi 5 years ago
  1. 4
  2. 36
  3. 11


@ -3,10 +3,12 @@ reportbug (7.1.1) UNRELEASED; urgency=medium
* reportbug/
- add sections for Rust and JavaScript, patch by Josh Triplett;
Closes: #847537
- update the list of pseudopackages (and fix & re-enable unittest);
Closes: #831848,
* doc/README.Users
- grammar fixes/improvements; patch by Vilius Panevėžys; Closes: #811193
-- Sandro Tosi <> Sun, 18 Dec 2016 12:59:43 -0500
-- Sandro Tosi <> Sun, 18 Dec 2016 15:45:46 -0500
reportbug (7.1.0) experimental; urgency=medium


@ -169,28 +169,36 @@ debother = {
'': 'Problems and requests related to the Debian Buildds',
'': 'Problems related to building packages for Emdebian',
'': 'CD Image issues',
'cdrom': 'Problems with installation from CD-ROMs',
'cdrom': 'Installation system',
'': 'Issues involving Debian images for public/private clouds',
'': 'Issues regarding the service and general Debian Installer tasks',
'debian-maintainers': 'Problems and requests related to Debian Maintainers',
'debian-policy': 'Proposed changes in the Debian policy documentation',
'debian-i18n': 'Requests regarding Internationalization (i18n) of the distribution',
'debian-live': 'General problems with Debian Live systems',
'': 'Problems with the FTP site and Package removal requests',
'general': 'General problems (e.g., that many manpages are mode 755)',
'installation-reports': 'Problems with installing Debian',
'listarchives': 'Problems with the WWW mailing list archives',
'': 'The mailing lists, debian-*',
'mirrors': 'Problems with Debian archive mirrors.',
'': 'New Maintainer process and website',
'general': 'General problems (e.g. "many manpages are mode 755")',
'installation-reports': 'Reports of installation problems with stable & testing',
'': 'The mailing lists, debian-*',
'mirrors': 'Problems with the official mirrors',
'': 'New Member process and webpages',
'': 'The Debian Package Entropy Tracker',
'': 'Issues with the service',
'press': 'Press release issues',
'project': 'Problems related to project administration',
'': 'Problems related to the quality assurance group',
'': 'The Quality Assurance group',
'': 'Requests regarding Debian releases and release team tools',
'release-notes': 'Problems with the release notes',
'release-notes': 'Problems with the Release Notes',
'': 'Issues in the operation of the Debian RTC services which are not package-specific bugs',
'security-tracker': 'The Debian Security Bug Tracker',
'': 'Problems with the security updates server',
'': 'Issues with the service',
'': 'The Debian Security Team',
'': 'Issues with the service ',
'spam': 'Spam (reassign spam to here so we can complain about it)',
'tech-ctte': 'Issues to be referred to the technical committee',
'upgrade-reports': 'Reports of successful and unsucessful upgrades',
'sponsorship-requests': 'Requests for package review and sponsorship',
'': 'Problems and requests related to the Debian Single Sign On system',
'': 'Problems and requests related to the DebConf Summit instance',
'tech-ctte': 'The Debian Technical Committee (see the Constitution)',
'': 'Issues with the Debian Package Tracker and coordination of its maintenance',
'upgrade-reports': 'Reports of upgrade problems for stable & testing',
'': 'Problems with the Debian wiki',
'wnpp': 'Work-Needing and Prospective Packages list',
'': 'Problems with the WWW site (including other * sites, except alioth)'


@ -4,6 +4,7 @@ from nose.plugins.attrib import attr
import mock
from reportbug import utils
from reportbug import debbugs
from reportbug import urlutils
import urllib.request, urllib.parse, urllib.error
import re
@ -158,17 +159,21 @@ class TestMiscFunctions(unittest.TestCase):
self.assertEqual(debbugs.convert_severity(severity, type), value)
@attr('network') # marking the test as using network
@unittest.skip("Need to talk with dondelelcaro about make them sync")
def test_pseudopackages_in_sync(self):
dictparse = re.compile(r'([^\s]+)\s+(.+)', re.IGNORECASE)
bdo_list = {}
pseudo = urllib.request.urlopen('')
for l in pseudo:
pseudo = urlutils.urlopen('')
for l in pseudo.splitlines():
m =
bdo_list[] =
# we removed base from reportbug
del bdo_list['base']
# uniform reportbug customized descriptions
for customized in '', '':
bdo_list[customized] = debbugs.debother[customized]
self.maxDiff = None
self.assertEqual(debbugs.debother, bdo_list)