Skip to content
Commits on Source (2)
......@@ -44,6 +44,10 @@ piuparts (1.1.0) UNRELEASED; urgency=medium
[ David Prévot ]
* Use the same favicon as the one from www.d.o.
[ Bastian Venthur ]
* piuparts-analyze.py: updates for python-debianbts 2.10.0 deprecating
some methodcalls, update depends in d/control accordingly.
-- Holger Levsen <holger@debian.org> Sun, 07 Jul 2019 17:15:41 +0200
piuparts (1.0.1) unstable; urgency=medium
......
......@@ -12,7 +12,7 @@ Build-Depends:
python3-all,
python3-apt,
python3-debian,
python3-debianbts,
python3-debianbts (>= 2.10.0),
python3-distro-info,
python3-mox3,
python3-nose,
......@@ -66,7 +66,7 @@ Depends:
# keep this list in sync with piuparts-master-from-git-deps
adduser,
openssh-server,
python3-debianbts,
python3-debianbts (>= 2.10.0),
python3-setproctitle,
tango-icon-theme,
xz-utils,
......@@ -99,7 +99,7 @@ Depends:
# this list is synced from piuparts-master
adduser,
openssh-server,
python3-debianbts,
python3-debianbts (>= 2.10.0),
python3-setproctitle,
tango-icon-theme,
xz-utils,
......
......@@ -78,7 +78,7 @@ class PiupartsBTS():
def all_piuparts_bugs(self):
if self._bugs_usertagged_piuparts is None:
self._bugs_usertagged_piuparts = debianbts.get_usertag("debian-qa@lists.debian.org", 'piuparts')['piuparts']
self._bugs_usertagged_piuparts = debianbts.get_usertag("debian-qa@lists.debian.org", ['piuparts'])['piuparts']
return self._bugs_usertagged_piuparts
def bugs_in(self, package):
......@@ -86,8 +86,8 @@ class PiupartsBTS():
self._misses += 1
signal(SIGALRM, alarm_handler)
alarm(120)
bugs = debianbts.get_bugs('package', package, 'bugs', self.all_piuparts_bugs(), 'archive', 'both')
bugs += debianbts.get_bugs('package', 'src:' + package, 'bugs', self.all_piuparts_bugs(), 'archive', 'both')
bugs = debianbts.get_bugs(package=package, bugs=self.all_piuparts_bugs(), archive='both')
bugs += debianbts.get_bugs(package='src:' + package, bugs=self.all_piuparts_bugs(), archive='both')
alarm(0)
self._bugs_in_package[package] = sorted(set(bugs), reverse=True)
self._queries += 1
......@@ -98,8 +98,8 @@ class PiupartsBTS():
self._misses += 1
signal(SIGALRM, alarm_handler)
alarm(120)
bugs = debianbts.get_bugs('affects', package, 'bugs', self.all_piuparts_bugs(), 'archive', 'both')
bugs += debianbts.get_bugs('affects', 'src:' + package, 'bugs', self.all_piuparts_bugs(), 'archive', 'both')
bugs = debianbts.get_bugs(affects=package, bugs=self.all_piuparts_bugs(), archive='both')
bugs += debianbts.get_bugs(affects='src:' + package, bugs=self.all_piuparts_bugs(), archive='both')
alarm(0)
self._bugs_affecting_package[package] = sorted(set(bugs), reverse=True)
self._queries += 1
......@@ -113,7 +113,7 @@ class PiupartsBTS():
self._misses += 1
signal(SIGALRM, alarm_handler)
alarm(60)
found_versions = debianbts.get_status(bug)[0].found_versions
found_versions = debianbts.get_status([bug])[0].found_versions
alarm(0)
versions = []
for found_version in found_versions:
......