Your message dated Mon, 29 Jun 2009 16:32:16 +0000
with message-id <[email protected]>
and subject line Bug#531741: fixed in reportbug 4.5
has caused the Debian Bug report #531741,
regarding reportbug: Error when MUAs has a launching command different than its 
name
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
531741: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531741
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reportbug
Version: 4.5
Severity: normal
Tags: patch

This is a patch to solve an issue when a MUA has a launching command different 
than its name (e.g gnus->emacs).

Bye,
Carl Chenet

-- Package-specific info:
** Environment settings:
DEBEMAIL="[email protected]"
DEBFULLNAME="Carl Chenet"
INTERFACE="text"

** /home/chaica/.reportbugrc:
reportbug_version "4.5"
mode novice
ui text
smtphost "smtp.free.fr"

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.20.2   Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.5        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
ii  debsums                       2.0.44     verification of installed package 
pn  dlocate                       <none>     (no description available)
ii  exim4                         4.69-9     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon
ii  file                          5.00-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
pn  python-gnome2-extras          <none>     (no description available)
pn  python-gtk2                   <none>     (no description available)
pn  python-urwid                  <none>     (no description available)
pn  python-vte                    <none>     (no description available)

-- no debconf information
>From 13144b52f9d28e29f4b98d2ab4f4d07df5d0b18a Mon Sep 17 00:00:00 2001
From: Carl Chenet <[email protected]>
Date: Wed, 3 Jun 2009 19:13:11 +0200
Subject: [PATCH] * reportbug/utils.py
   - provide good checks for MUA having a different command than its name 
(gnus->emacs)

---
 reportbug/utils.py |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/reportbug/utils.py b/reportbug/utils.py
index d663e7e..fac6e8b 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -767,14 +767,29 @@ MUAVERSION = {
 
 def mua_is_supported(mua):
     # check if the mua is supported by reportbug
-    if mua.split()[0] not in MUA:
+    if mua == 'mh' or mua == MUA['mh']:
+        mua = 'mh'
+    elif mua == 'nmh' or mua == MUA['nmh']:
+        mua = 'mh'
+    elif mua == 'gnus' or mua == MUA['gnus']:
+        mua = 'gnus'
+    else:
+        mua = mua.split()[0]
+    if mua not in MUA:
         return False
     else:
         return True
 
 def mua_exists(mua):
     # check if the mua is available on the system
-    mua = MUA[mua.split()[0]]
+    if mua == 'mh' or mua == MUA['mh']:
+        mua = MUA['mh']
+    elif mua == 'nmh' or mua == MUA['nmh']:
+        mua = MUA['mh']
+    elif mua == 'gnus' or mua == MUA['gnus']:
+        mua = MUA['gnus']
+    else:
+        mua = MUA[mua.split()[0]]
     output = '/dev/null'
     if os.path.exists(output):
         try:
-- 
1.5.4.3


--- End Message ---
--- Begin Message ---
Source: reportbug
Source-Version: 4.5

We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive:

python-reportbug_4.5_all.deb
  to pool/main/r/reportbug/python-reportbug_4.5_all.deb
reportbug_4.5.dsc
  to pool/main/r/reportbug/reportbug_4.5.dsc
reportbug_4.5.tar.gz
  to pool/main/r/reportbug/reportbug_4.5.tar.gz
reportbug_4.5_all.deb
  to pool/main/r/reportbug/reportbug_4.5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[email protected]> (supplier of updated reportbug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 29 Jun 2009 18:14:33 +0200
Source: reportbug
Binary: reportbug python-reportbug
Architecture: source all
Version: 4.5
Distribution: unstable
Urgency: low
Maintainer: Reportbug Maintainers <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description: 
 python-reportbug - Python modules for interacting with bug tracking systems
 reportbug  - reports bugs in the Debian distribution
Closes: 247885 456344 526630 529981 529987 530685 530686 531741 531911 532260
Changes: 
 reportbug (4.5) unstable; urgency=low
 .
   [ Sandro Tosi ]
   * reportbug/__init__.py
     - bump reportbug version
   * reportbug/debianbts.py
     - force to enter the package name and short description while reporting a
       wnpp bug; thanks to Sam Morris for the report and to Carl Chenet for the
       idea about how to fix it; Closes: #456344
   * bin/reportbug
     - offer a default value (text) for UI at configuration time; thanks to Carl
       Chenet for the report and patch; Closes: #529981
     - make clear reportbug can work without smtphost, while proposing
       configuration; thanks to Andrei Popescu for the report and to Carl Chenet
       for the patch; Closes: #526630
     - in case of multiple packages selection, clarified that pressing ENTER 
only
       will exit reportbug; thanks to Carl Chenet for the report and patch;
       Closes: #532260
     - add possibility to specify a proxy server when '--configure'; thanks to
       Chris Chiappa for the report and to Carl Chenet for the patch;
       Closes: #247885
   * bin/reportbug, conf/reportbug.conf, debian/control, man/reportbug.*,
     po4a/po/*, reportbug/utils.py
     - removed support for 'af' mail user agent, since it's no more in Debian;
       thanks to Carl Chenet for the report and (partial) patch; Closes: #529987
   * reportbug/utils.py
     - improved checks for MUA with commands name different from MUA name; 
thanks
       to Carl Chenet for the report and patch; Closes: #531741
   * debian/{compat, control}
     - use debhelper 7
   * debian/rules
     - use dh_prep instead of "dh_clean -k"
     - improved clean rule
     - removed dh_desktop call (no-op now)
   * debian/control
     - moved python to b-d (needed for clean) removing python-dev (not needed)
     - bump Standards-Version to 3.8.2 (no changes needed)
   * share/presubj
     - clarified to include the reportbug output when reporting bug agains us;
       thanks for the suggestion to Reuben Thomas (from #532295)
   * reportbug/{debianbts.py, ui/text_ui.py}
     - try to decode BTS page as they are parsed, replacing bad UTF-8 character;
       this will solve all those UTF-8 conversion problems; thanks to Alexandre
       Rossi for the report and patch; Closes: #531911
   * debian/copyright
     - correctly link to GPL-2 for GPLv2+ licensed files (lintian warning)
 .
   [ Luca Bruno ]
   * reportbug/ui/gtk2_ui.py:
     - add get_password() support; thanks to Arian Sanusi for the report;
       Closes: #530685
     - check whether the progress bar is present or not before dropping it in
       the bug page; thanks to Arian Sanusi for the report; Closes: #530686
Checksums-Sha1: 
 77521d4d0c43f8c317706964667dba632f5b6eb5 1124 reportbug_4.5.dsc
 647699fbc5520aebf34a99a33da5f1caf1c0ee5c 193838 reportbug_4.5.tar.gz
 fe309e570f3f7e04fae8c7e6b405b5ab4478be3e 119298 reportbug_4.5_all.deb
 430a7c1d20ef3967e17df20e65b3c3c2f544a02e 114646 python-reportbug_4.5_all.deb
Checksums-Sha256: 
 f6e0340869be076ca940eb112acfed6659d5cf4138784207e1f4a14a22de91f5 1124 
reportbug_4.5.dsc
 c6f558362a8dc1f8266c8b61d720817cb9695559a91ad26b4b80050eca8d4e12 193838 
reportbug_4.5.tar.gz
 916af5da7317ade0f79fe01bb30ad06219fee6a2b57797a9bfc61028fffd9f04 119298 
reportbug_4.5_all.deb
 b97757e28a75164a3cf2e13a9efeee61e017c0110e83705559841eb08d677365 114646 
python-reportbug_4.5_all.deb
Files: 
 1a13fe6857284b18bf95c9cbac596cd7 1124 utils standard reportbug_4.5.dsc
 5dd0b7fce1b5306328bc83fe0eb8e184 193838 utils standard reportbug_4.5.tar.gz
 387904a2e0a8158b7a51fb354dcd1930 119298 utils standard reportbug_4.5_all.deb
 efdb7c3056cfa99ab0c068e57c94c73f 114646 python standard 
python-reportbug_4.5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpI6ckACgkQAukwV0RN2VBUeQCfaDff5MGk1N/4YLeJo+1B/pRv
H48An0+83F97PXiKBwSEaqdpB1tUpiY8
=zoCf
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to