I've written a patch implementing this, though: * I wonder if it wouldn't be a good idea to extend the "affects" to the other release.debian.org tags that relate to packages (everything but "britney" and "other"). (This could be done by moving the second added line up a couple of lines.)
* I didn't quite dare to actually send a test message to the BTS (to make sure I've got exactly the right Control: syntax), so it could use some testing from someone who will so dare (or has an actual unblock to request). -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
>From f5e6146cd4a0ef8f40853b82f18444b3f3fd156f Mon Sep 17 00:00:00 2001 From: Samuel Bronson <naes...@gmail.com> Date: Fri, 5 Apr 2013 19:38:18 -0400 Subject: [PATCH] unblock requests: set affects src:$PACKAGE and CC $PACKAGE@packages.d.o --- debian/changelog | 9 +++++++++ reportbug/debbugs.py | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9fc9fd8..14174f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +reportbug (6.4.5) UNRELEASED; urgency=low + + * reportbug/debbugs.py + - unblock requests: set affects src:$PACKAGE and X-Debbugs-CC: + $pack...@packages.debian.org, thanks to Andreas Beckmann for the report; + Closes: #692995 + + -- Samuel Bronson <naes...@gmail.com> Fri, 05 Apr 2013 19:05:53 -0400 + reportbug (6.4.4) unstable; urgency=low * reportbug/ui/gtk2_ui.py diff --git a/reportbug/debbugs.py b/reportbug/debbugs.py index 257ab10..0a9857f 100644 --- a/reportbug/debbugs.py +++ b/reportbug/debbugs.py @@ -447,6 +447,10 @@ def handle_debian_release(package, bts, ui, fromaddr, timeout, online=True, http else: package = info[12] or package + if tag == 'unblock': + pseudos.append('Control: affects -1 src:%s' % package) + headers.append('X-Debbugs-CC: %s...@packages.debian.org' % package) + if tag in ('binnmu', 'unblock', 'opu', 'pu', 'rm'): # FIXME: opu/pu/rm should lookup the version elsewhere version = info and info[0] -- 1.7.10.4