public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Tobias Burnus <tobias@codesourcery.com>,
	overseers@gcc.gnu.org,  gfortran <fortran@gcc.gnu.org>,
	gcc mailing list <gcc@gcc.gnu.org>
Subject: Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments))
Date: Mon, 9 Mar 2020 23:16:55 +0000	[thread overview]
Message-ID: <CAH6eHdTk_VQkRkN_QXgEbeFKySLeNEP=B1raCa86-StfwFfw4w@mail.gmail.com> (raw)
In-Reply-To: <20200309102520.GQ2156@tucnak>

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

On Mon, 9 Mar 2020 at 10:28, Jakub Jelinek wrote:
> 6) there used to be a Raw text URL to grab the raw email, now there is nothing

Based on info from #overseers ...

While you can't download the raw text of an individual email now, you
can get the entire month's mail in a compressed archive, from
https://gcc.gnu.org/pipermail/gcc-bugs/

Also, in each mail in the web archives the sender's address at the top
of the page is a hyperlink which includes the message-id, allowing you
to reply to it and preserve threading.
I've adapted the script I was using to fetch the "raw text" mail and
reply to it, the new version is attached.

[-- Attachment #2: get_gcc_mail --]
[-- Type: application/octet-stream, Size: 674 bytes --]

#!/bin/sh
# Download mail from GCC list archive.

if [[ $* == '' || $* == '--help' ]]
then
  echo "Usage: $0 https://gcc.gnu.org/ml/list/YYYY-MM/msgNNNNN.html" >&2
  test $# -eq 1
  exit
fi

urldecode() {
  awk -niord '{printf RT?$0chr("0x"substr(RT,2)):$0}' RS=%..
}

set -xe
draft=`mktemp /dev/shm/gcc-patches.XXXXXX`
for i in "$@"
do
  list=${i#*gcc.gnu.org/pipermail/}
  list=${list%%/*}
  echo "CC: $list@gcc.gnu.org" > $draft
  curl --silent --fail "$i" | sed -n '/LINK REL="made"/{s/^.*="mailto:/To: /;s/?Subject=Re:%20/%0aSubject: /;s/&In-Reply-To=/%0aIn-Reply-To: /;s/">$/%0a%0a/p}' | urldecode >> $draft
  mutt -H $draft -- "$(awk '/^To:/{print $2}' $draft)"
done

  parent reply	other threads:[~2020-03-09 23:17 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <C92C61E7-EF8A-4AD7-904D-FA6E0AD6649C@tkoenig.net>
2020-03-09  8:40 ` gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments) Tobias Burnus
2020-03-09  8:48   ` Thomas König
2020-03-09  9:46     ` text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments)) Tobias Burnus
2020-03-09  9:51       ` List-Id header being stripped (was:Re: Mailing list stripping off attachments) Richard Bradfield
2020-03-09 10:27         ` List-Id header being stripped Andreas Schwab
2020-03-09 10:44           ` Richard Bradfield
2020-03-09 10:30         ` Florian Weimer
2020-03-09 10:49           ` Richard Earnshaw
2020-03-09 11:32             ` Florian Weimer
2020-03-09 12:28               ` Gerald Pfeifer
2020-03-09 10:25       ` text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments)) Jakub Jelinek
2020-03-09 10:47         ` Jonathan Wakely
2020-03-09 11:21           ` text/x-* attachments stripped Andreas Schwab
2020-03-09 13:57         ` text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments)) Thomas König
2020-03-09 15:45           ` text/x-* attachments strippe Gerald Pfeifer
2020-03-09 16:03             ` Frank Ch. Eigler
2020-03-09 16:53           ` text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline Nathan Sidwell
2020-03-09 17:06             ` Andreas Schwab
2020-03-09 17:07             ` Jonathan Wakely
2020-03-09 17:20               ` text/x-* attachments stripped Nathan Sidwell
2020-03-09 19:49         ` text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments)) Thomas König
2020-03-09 22:11           ` Jonathan Wakely
2020-03-09 21:07         ` Joseph Myers
2020-03-09 23:16         ` Jonathan Wakely [this message]
2020-04-03 14:29         ` Martin Liška
2020-04-03 15:19           ` Christopher Faylor
2020-04-03 15:43           ` mailman customization Martin Liška
2020-04-03 15:54             ` Frank Ch. Eigler
2020-04-03 15:58               ` Martin Liška
2020-04-03 16:30                 ` Christopher Faylor
2020-04-03 16:42                   ` Christopher Faylor
2020-04-03 20:52                     ` mailman customization not quite right yet Christopher Faylor
2020-04-04  9:20                       ` Martin Liška
2020-05-05  9:57                         ` Martin Liška
2020-05-05 14:23                           ` Christopher Faylor
2020-04-03 16:36               ` mailman customization Christopher Faylor

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

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

  git send-email \
    --in-reply-to='CAH6eHdTk_VQkRkN_QXgEbeFKySLeNEP=B1raCa86-StfwFfw4w@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=overseers@gcc.gnu.org \
    --cc=tobias@codesourcery.com \
    /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.
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).