[Reportbug-commits] [reportbug] 04/06: update the list of pseudopackages (and fix & re-enable unittest); Closes: #831848,
Sandro Tosi
morph at moszumanska.debian.org
Sun Dec 18 21:15:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 49b591f5842d4f2ca2dd1aac1a4ba123a2b66a54
Author: Sandro Tosi <morph at debian.org>
Date: Sun Dec 18 15:50:05 2016 -0500
update the list of pseudopackages (and fix & re-enable unittest); Closes: #831848,
---
debian/changelog | 4 +++-
reportbug/debbugs.py | 36 ++++++++++++++++++++++--------------
test/test_debbugs.py | 11 ++++++++---
3 files changed, 33 insertions(+), 18 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8e9da23..a82ca40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,10 +3,12 @@ reportbug (7.1.1) UNRELEASED; urgency=medium
* reportbug/debbugs.py
- 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 <morph at debian.org> Sun, 18 Dec 2016 12:59:43 -0500
+ -- Sandro Tosi <morph at debian.org> Sun, 18 Dec 2016 15:45:46 -0500
reportbug (7.1.0) experimental; urgency=medium
diff --git a/reportbug/debbugs.py b/reportbug/debbugs.py
index bcbaca9..86a8305 100644
--- a/reportbug/debbugs.py
+++ b/reportbug/debbugs.py
@@ -169,28 +169,36 @@ debother = {
'buildd.debian.org': 'Problems and requests related to the Debian Buildds',
'buildd.emdebian.org': 'Problems related to building packages for Emdebian',
'cdimage.debian.org': 'CD Image issues',
- 'cdrom': 'Problems with installation from CD-ROMs',
+ 'cdrom': 'Installation system',
+ 'cloud.debian.org': 'Issues involving Debian images for public/private clouds',
+ 'd-i.debian.org': 'Issues regarding the d-i.debian.org 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',
'ftp.debian.org': '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',
- 'lists.debian.org': 'The mailing lists, debian-*@lists.debian.org.',
- 'mirrors': 'Problems with Debian archive mirrors.',
- 'nm.debian.org': 'New Maintainer process and nm.debian.org website',
+ 'general': 'General problems (e.g. "many manpages are mode 755")',
+ 'installation-reports': 'Reports of installation problems with stable & testing',
+ 'lists.debian.org': 'The mailing lists, debian-*@lists.debian.org',
+ 'mirrors': 'Problems with the official mirrors',
+ 'nm.debian.org': 'New Member process and nm.debian.org webpages',
+ 'pet.debian.net': 'The Debian Package Entropy Tracker',
+ 'piuparts.debian.org': 'Issues with the piuparts.debian.org service',
'press': 'Press release issues',
'project': 'Problems related to project administration',
- 'qa.debian.org': 'Problems related to the quality assurance group',
+ 'qa.debian.org': 'The Quality Assurance group',
'release.debian.org': 'Requests regarding Debian releases and release team tools',
- 'release-notes': 'Problems with the release notes',
+ 'release-notes': 'Problems with the Release Notes',
+ 'rtc.debian.org': 'Issues in the operation of the Debian RTC services which are not package-specific bugs',
'security-tracker': 'The Debian Security Bug Tracker',
- 'security.debian.org': 'Problems with the security updates server',
- 'snapshot.debian.org': 'Issues with the snapshot.debian.org service',
+ 'security.debian.org': 'The Debian Security Team',
+ 'snapshot.debian.org': 'Issues with the snapshot.debian.org 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',
+ 'sso.debian.org': 'Problems and requests related to the Debian Single Sign On system',
+ 'summit.debconf.org': 'Problems and requests related to the DebConf Summit instance',
+ 'tech-ctte': 'The Debian Technical Committee (see the Constitution)',
+ 'tracker.debian.org': 'Issues with the Debian Package Tracker and coordination of its maintenance',
+ 'upgrade-reports': 'Reports of upgrade problems for stable & testing',
'wiki.debian.org': 'Problems with the Debian wiki',
'wnpp': 'Work-Needing and Prospective Packages list',
'www.debian.org': 'Problems with the WWW site (including other *.debian.org sites, except alioth)'
diff --git a/test/test_debbugs.py b/test/test_debbugs.py
index 1ae29fd..699901c 100644
--- a/test/test_debbugs.py
+++ b/test/test_debbugs.py
@@ -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('https://bugs.debian.org/pseudopackages/pseudo-packages.description')
- for l in pseudo:
+ pseudo = urlutils.urlopen('https://bugs.debian.org/pseudopackages/pseudo-packages.description')
+ for l in pseudo.splitlines():
m = dictparse.search(l)
bdo_list[m.group(1)] = m.group(2)
+ # we removed base from reportbug
+ del bdo_list['base']
+ # uniform reportbug customized descriptions
+ for customized in 'www.debian.org', 'ftp.debian.org':
+ bdo_list[customized] = debbugs.debother[customized]
self.maxDiff = None
self.assertEqual(debbugs.debother, bdo_list)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git
More information about the Reportbug-commits
mailing list