#1123544 bts: Support sending using xdg-email

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Pirate Praveen
Date:
2025-12-17 15:53:03 UTC
Severity:
normal
#1123544#5
Date:
2025-05-04 17:45:52 UTC
From:
To:
Dear Maintainer,


Currently bts only support mutt as an mua or configuring sendmail. reportbug
has more options like using reportbug.debian.org as SMTP server, choosing
between installed mua like thunderbird or choosing xdg-email).

If we can use --smtp-host=reportbug.debian.org, that already helps a lot, but
it does not support sending mails to control@bugs.debian.org

$ bts --smtp-host=reportbug.debian.org user debian-release@lists.debian.org
bts: failed to set SMTP recipient control@bugs.debian.org
()

If we request reportbug.debian.org maintainers they might allow sending to
control@bugs.debian.org as well.

Since people using thunderbird (or another mua) already maintains smtp server
configurations in thunderbird (or another mua), having to configure it again
for bts does not make sense - especially since reportbug already allows reusing
an already configured smtp server via choosing preferred mua.
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts --- DEBSIGN_KEYID=D30863E26020E543F4719A838F53E0193B294B75
#1123544#12
Date:
2025-05-05 08:42:55 UTC
From:
To:
control: severity -1 normal
thanks

thank you for filing this bug report, I agree this should be fixed, I just
think a missing feature (so not a bug even!) in one of the dozens tools shipped
by devscripts, doesn't warrant important severity, thus adjusting accordingly.

& patches much welcome, as usual. :)

#1123544#19
Date:
2025-07-12 19:21:49 UTC
From:
To:
On Mon, 5 May 2025 08:42:55 +0000 Holger Levsen <holger@layer-acht.org>
wrote:
 > control: severity -1 normal
 > thanks
 >
 > On Sun, May 04, 2025 at 11:15:52PM +0530, Pirate Praveen wrote:
 > > Currently bts only support mutt as an mua or configuring sendmail.
reportbug
 > > has more options like [...]
 >
 > thank you for filing this bug report, I agree this should be fixed, I
just
 > think a missing feature (so not a bug even!) in one of the dozens
tools shipped
 > by devscripts, doesn't warrant important severity, thus adjusting
accordingly.
 >
 > & patches much welcome, as usual. :)

[rt.debian.org #9802]

I opened a ticket with dsa to allow sending mails to
control@bugs.debian.org as well so we can add this option to bts.

#1123544#24
Date:
2025-12-17 14:50:15 UTC
From:
To:
Hi Pirate,

I just saw the RT ticket. I've been working on bts(1) recently and already
implemented --smpt-reportbug which should do what you want. CLI MUAs are
also very well supported now. Though there are still a couple UX bugs I'm
squashing here locally (renaming --mutt to --mua=mutt is one of them).

I've also just improved the SMTP error reporting some more to make that
more obvious what's going on when reportbug.d.o ratelimiting bites. Should
be in the next release.

As for xdg-email support, that's a separate issue. Good opportunity for me
to try if I understand how 'clone' works :-).

#1123544#29
Date:
2025-12-17 14:50:15 UTC
From:
To:
Hi Pirate,

I just saw the RT ticket. I've been working on bts(1) recently and already
implemented --smpt-reportbug which should do what you want. CLI MUAs are
also very well supported now. Though there are still a couple UX bugs I'm
squashing here locally (renaming --mutt to --mua=mutt is one of them).

I've also just improved the SMTP error reporting some more to make that
more obvious what's going on when reportbug.d.o ratelimiting bites. Should
be in the next release.

As for xdg-email support, that's a separate issue. Good opportunity for me
to try if I understand how 'clone' works :-).