Package: reportbug
Version: 6.6.1
Severity: wishlist
Tags: patch
Hi,
>From #debian-release:
> kraai: Should I file a bug against release.debian.org before uploading a
package to testing-proposed-updates?
> jcristau: kraai: yes.
> adsb: kraai: and wait for an ack, please
> kraai: What tag should I use? reportbug doesn't seem to offer a testing-pu
category.
> adsb: unblock's fine
> kraai: OK, thanks.
> jcristau: hmm should probably update reportbug to handle jessie-pu at some
point
> adsb: ack
I've attached a patch that adds support for jessie-pu.
--
Matt
-- Package-specific info:
** Environment settings:
VISUAL="emacs -nw"
INTERFACE="gtk2"
** /home/kraai/.reportbugrc:
reportbug_version "6.6.1"
mode novice
ui gtk2
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages reportbug depends on:
ii apt 1.0.9.4
ii python 2.7.8-2
ii python-reportbug 6.6.1
pn python:any <none>
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
ii debsums 2.0.52+nmu2
ii dlocate 1.02+nmu3
pn emacs23-bin-common | emacs24-bin-common <none>
ii exim4 4.84-4
ii exim4-daemon-light [mail-transport-agent] 4.84-4
ii file 1:5.20-2
ii gnupg 1.4.18-6
ii python-gtk2 2.24.0-4
pn python-gtkspell <none>
pn python-urwid <none>
ii python-vte 1:0.28.2-5
ii xdg-utils 1.1.0~rc1+git20111210-7.1
Versions of packages python-reportbug depends on:
ii apt 1.0.9.4
ii python-debian 0.1.25
ii python-debianbts 1.12
pn python:any <none>
python-reportbug suggests no packages.
Index: reportbug-6.6.1/reportbug/debbugs.py
===================================================================
--- reportbug-6.6.1.orig/reportbug/debbugs.py 2014-12-02 13:53:13.000000000 -0800
+++ reportbug-6.6.1/reportbug/debbugs.py 2014-12-14 15:18:07.733751523 -0800
@@ -399,6 +399,7 @@
'britney': "testing migration script bugs",
'transition': "transition tracking",
'unblock': "unblock requests",
+ 'jessie-pu': "jessie proposed updates requests",
'squeeze-pu': "squeeze proposed updates requests",
'wheezy-pu': "wheezy proposed updates requests",
'rm': "Stable/Testing removal requests",
@@ -445,14 +446,11 @@
else:
package = info[12] or package
- if tag in ('binnmu', 'unblock', 'wheezy-pu', 'squeeze-pu', 'rm'):
+ if tag in ('binnmu', 'unblock', 'jessie-pu', 'wheezy-pu', 'squeeze-pu', 'rm'):
# FIXME: pu/rm should lookup the version elsewhere
version = info and info[0]
- if online:
- if tag == 'wheezy-pu':
- version = checkversions.get_versions_available(package, timeout, 'wheezy').values()[0]
- elif tag == 'squeeze-pu':
- version = checkversions.get_versions_available(package, timeout, 'squeeze').values()[0]
+ if online and tag.endswith('-pu'):
+ version = checkversions.get_versions_available(package, timeout, tag[:-3]).values()[0]
if version:
cont = ui.select_options(
"Latest version seems to be %s, is this the proper one ?" % (version),
_______________________________________________
Reportbug-maint mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint