Hi,
On Wed, Dec 17, 2014 at 08:41:15PM +0000, Jonathan Wiltshire wrote:
> On Wed, Dec 17, 2014 at 08:30:34PM +0000, Sandro Tosi wrote:
> > On Sun, Dec 14, 2014 at 11:27 PM, Matt Kraai <[email protected]> wrote:
> > >> 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.
> >
> > RT: can 'squeeze-pu' be removed at the same time jessie-pu is added?
> > do you want this fix into Jessie?
>
> Yes, and yes please.
Here's a new patch that also removes squeeze-pu.
--
Matt
diff -ru reportbug-6.6.1.orig/reportbug/debbugs.py reportbug-6.6.1/reportbug/debbugs.py
--- reportbug-6.6.1.orig/reportbug/debbugs.py 2014-12-17 18:56:45.377269935 -0800
+++ reportbug-6.6.1/reportbug/debbugs.py 2014-12-17 18:57:10.469711822 -0800
@@ -399,7 +399,7 @@
'britney': "testing migration script bugs",
'transition': "transition tracking",
'unblock': "unblock requests",
- 'squeeze-pu': "squeeze proposed updates requests",
+ 'jessie-pu': "jessie proposed updates requests",
'wheezy-pu': "wheezy proposed updates requests",
'rm': "Stable/Testing removal requests",
'other' : "None of the other options",
@@ -445,14 +445,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', '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