unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Bengt Richter <bokr@bokr.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Lars-Dominik Braun <ldb@leibniz-psychology.org>, 41906@debbugs.gnu.org
Subject: bug#41906: [mumi] Raw mailbox download not usable with mutt
Date: Mon, 7 Dec 2020 13:02:00 +0100	[thread overview]
Message-ID: <20201207120200.GA11867@LionPure> (raw)
In-Reply-To: <87tusy6do3.fsf@elephly.net>

Hi Ricardo, et al,

On +2020-12-06 18:35:08 +0100, Ricardo Wurmus wrote:
> 
> Hi Lars,
> 
> > currently mailbox files generated by mumi’s /raw/ endpoint are not usable with
> > mutt, because the first line contains a “Received:” header and thus does not
> > start with the mandated “From …” banner.
> 
> Does the equivalent mbox provided by the official Debbugs web interface
> work?  This endpoint is called “raw” because it returns the plain email
> as I got it from Debbugs.  It doesn’t seem right for me to manipulate it.
> 
> -- 
> Ricardo
> 
>

On a guix debbugs web page I observed the following:

The option to download a single bug report on a debbugs web page
as mbox seems to work fine.

E.g., the page with your report
    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38715#28
has a link
    https://debbugs.gnu.org/cgi/bugreport.cgi?mbox=yes;msg=28;bug=38715
which one can save-as, resulting in file
    bug_38715_message_28.mbox  
which
    mutt -f bug_38715_message_28.mbox
will show normally.

But I don't, e.g., know how to get all the debbugs guix bug reports for e.g. December
the way I can for the regular mailing list archives -- does mumi do that?
-- e.g. like for bug-guix at
    https://lists.gnu.org/archive/mbox/bug-guix/
where you can
    wget -c https://lists.gnu.org/archive/mbox/bug-guix/2020-12
resulting in an mbx file
    2020-12
which
    mutt -Rf 2020-12
will open for you (I use -R for read-only)

The '-c' wget option tells wget just to download the new appended emails
if you already have the 2020-12 file in your current directory, so that's economical :)

I follow half a dozen or so gnu mail lists that I don't subscribe to, and wget -c
works fine on all of them.

The YYYY-MM format seems to be generated like "$(date '+%Y-%m')"
so it's easy to script urls for wget.

It might be nice for debbugs to synthesize cgi-equivalents to
    https://lists.gnu.org/archive/mbox/bug-guix/2020-12
for lists that want it. Maybe by a debbugs name like
    https://lists.gnu.org/archive/mbox/debbugs-guix/2020-12
and similarly for other bug-<list name> ?

Maybe it already exists, but it's not apparently listed at
    https://lists.gnu.org/mailman/listinfo/
(though help-debbugs is, but that is a normal mailing list I think :)

Sorry if this is not on topic mumi per se, but it is about viewing
bug reports using mutt on mbox files :)

I don't use mumi, but if it doesn't have clean mbox as an output option,
I think it ought to be fixed :)

-- 
Regards,
Bengt Richter




  parent reply	other threads:[~2020-12-07 12:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17  7:03 bug#41906: [mumi] Raw mailbox download not usable with mutt Lars-Dominik Braun
2020-12-06 17:35 ` Ricardo Wurmus
2020-12-07  7:29   ` Lars-Dominik Braun
2020-12-07 12:02   ` Bengt Richter [this message]
2022-12-24 22:45 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201207120200.GA11867@LionPure \
    --to=bokr@bokr.com \
    --cc=41906@debbugs.gnu.org \
    --cc=ldb@leibniz-psychology.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).