From: Mekeor Melire <mekeor@posteo.de>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e
Date: Mon, 05 Dec 2022 21:43:25 +0000 [thread overview]
Message-ID: <87v8mpjz90.fsf@posteo.de> (raw)
In-Reply-To: <864jua5jd6.fsf@gmail.com>
2022-12-05, 09:45, zimon.toutoune@gmail.com:
> Personally, I use “git clone” from a public-inbox instance [1].
>
> git clone --mirror https://yhetil.org/guix-patches/1 \
> guix-patches/git/1.git
>
> where ’1’ can be also replace by ’0’ for the very old ones.
>
> Then the conversion from Git commit to maildir is done by a small script
> [2], where all the job reads:
>
> # Extract the message from each commit in the range and store it
> # in the Maildir for notmuch to consume.
> $git rev-list $range | while read sha; do
> # XXXX: fatal: path 'm' does not exist in <commit>
> # and it can also raise issues with notmuch, as:
> # Note: Ignoring non-mail file: $maildir/new/$sha
> $git show $sha:m > $maildir/new/$sha
> done
>
> (Maybe better could be done and more robust are around.)
>
>
> Even, the same can be used for reading Guix mailing lists. New messages
> are gotten with “git fetch”.
>
>
> 1: <https://yhetil.org/guix-patches/>
> 2:
> <https://gitlab.com/zimoun/my-conf/-/blob/master/.local/bin/sync-public-inboxes.sh#L60-67>
This is an interesting approach. Thanks for sharing.
If I understand correctly, when using public-inbox, another approach
would be to use IMAP, right? Just like it's described e.g. at
<https://yhetil.org/guix-patches/_/text/mirror/>:
“IMAP subfolder(s) are available under:
imaps://;AUTH=ANONYMOUS@news.yhetil.org/yhetil.gnu.guix.patches
# each subfolder (starting with `0') holds 50K messages at most”
I'll probably try that approach out soon.
I guess, a disadvantage of using public-inbox is that it's not an
official service of the GNU Guix community.
next prev parent reply other threads:[~2022-12-05 22:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 23:04 This is how you import a mailing list archives (e.g. guix-patches) into mu4e Mekeor Melire
2022-11-16 23:22 ` jbranso
2022-11-16 23:41 ` Mekeor Melire
2022-12-04 20:16 ` Mekeor Melire
2022-12-05 15:39 ` Joshua Branson
2022-12-05 8:45 ` zimoun
2022-12-05 21:43 ` Mekeor Melire [this message]
2022-12-06 11:33 ` zimoun
2022-12-07 2:27 ` Mekeor Melire
2022-12-07 10:33 ` zimoun
2022-12-06 1:03 ` Kyle Meyer
2022-12-06 12:03 ` zimoun
2022-12-07 2:02 ` Kyle Meyer
2022-12-07 10:38 ` zimoun
2022-12-07 2:19 ` Mekeor Melire
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=87v8mpjz90.fsf@posteo.de \
--to=mekeor@posteo.de \
--cc=help-guix@gnu.org \
--cc=zimon.toutoune@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.