[Reportbug-maint] Bug#865792: reportbug: Allow an arbitrary MUA to be configured (patch)

David Steele steele at debian.org
Sat Jun 24 19:40:03 UTC 2017


Package: reportbug
Version: 7.1.7
Severity: normal
Tags: patch

Dear Maintainer,

The "mua" option allowed a custom mua command to be defined, but it
was only permitted for the list of 5 supported muas. This patch allows
an arbitrary mua command string to be defined.

The defined mua is set to default, and is added to the list of available
MUAs.

This also adds a 'mua-version' option, which specifies the mua
command-line argument for 'no action', which is used in utils.mua_exists()
as an 'are you there?" check. This only applies to custom muas. The option
defaults to "--version".

As a side effect, the overloaded definition of 'mua' in utils, where
it could either be a string or a Mua object, depending on user options,
is eliminated.

This does not introduce any test failures.


-- Package-specific info:
** Environment settings:
DEBEMAIL="dsteele at gmail.com"
DEBFULLNAME="David Steele"
INTERFACE="gtk2"

** /home/daves/.reportbugrc:
reportbug_version "6.6.6"
mode standard
ui gtk2
email "steele at debian.org"
smtphost "smtp.gmail.com"

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=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.4.6
ii  python3            3.5.3-1
ii  python3-reportbug  7.1.7

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
ii  debsums                                    2.2.2
pn  dlocate                                    <none>
pn  emacs24-bin-common | emacs25-bin-common    <none>
ii  exim4                                      4.89-3
ii  exim4-daemon-light [mail-transport-agent]  4.89-3
ii  file                                       1:5.30-1
ii  gir1.2-gtk-3.0                             3.22.16-1
ii  gir1.2-vte-2.91                            0.46.1-1
ii  gnupg                                      2.1.18-8
ii  python3-gi                                 3.22.0-2
ii  python3-gi-cairo                           3.22.0-2
pn  python3-gtkspellcheck                      <none>
ii  python3-urwid                              1.3.1-2+b1
ii  xdg-utils                                  1.1.1-1

Versions of packages python3-reportbug depends on:
ii  apt                1.4.6
ii  file               1:5.30-1
ii  python3            3.5.3-1
ii  python3-debian     0.1.30
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1

python3-reportbug suggests no packages.

-- Configuration Files:
/etc/reportbug.conf changed [not included]

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-a-custom-mua-command.patch
Type: text/x-patch
Size: 13720 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170624/90314d05/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: GooPG digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170624/90314d05/attachment.sig>


More information about the Reportbug-maint mailing list