From: zimoun <zimon.toutoune@gmail.com>
To: Thiago Jung Bauermann <bauermann@kolabnow.com>
Cc: Arun Isaac <arunisaac@systemreboot.net>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>,
guix-devel@gnu.org
Subject: Re: Updating mumi on berlin
Date: Wed, 04 May 2022 10:00:55 +0200 [thread overview]
Message-ID: <875yml916w.fsf@gmail.com> (raw)
In-Reply-To: <871qxacp8j.fsf@kolabnow.com>
Hi,
On Tue, 03 May 2022 at 17:42, Thiago Jung Bauermann <bauermann@kolabnow.com> wrote:
> zimoun <zimon.toutoune@gmail.com> writes:
>
>> Instead of subscription, public-inbox provides the archives as a Git
>> repo. Therefore, being up to date just becomes “guix pull” and the Git
>> repo can be transformed to Maildir using e.g.,
>>
>> $git rev-list <range> | while read sha; do
>> $git show $sha:m > <maildir>/new/$sha
>> done
>>
>> (modulo some errors for deleted messaged, another story).
>
> Just an aside about public-inbox: Starting with version 0.7 it ships
> with a ‘lei’ tool that can be used to query a local or remote
> public-inbox repo, and export the matching messages to a maildir.
Thanks. Maybe I am missing something, “guix show public-inbox” tells
version 1.6.1 but I do not find ’lei’. Anyway.
That’s why I used this ugly loop. ;-)
> So the above would become something like:
>
> $ lei q -o <maildir> -I <path or URL to public-inbox repo> -t <query>
>
> The maildir can even be updated later with newer messages matching the
> query with:
>
> $ lei up <maildir>
Yes, I agree ’lei’ is cool. For instance, it allows to filter (and thus
follow), e.g., let query for the patches submitted the last 3 months to
’gnu/packages/bioinformatics.scm’ touching R packages,
dfn:gnu/packages/bioinformatics AND b:r-build-system AND rt:3.months.ago..
where
dfn: match filename from diff
b: match within message body, including text attachments
rt: match date-time range, git "approxidate" formats supported
Open-ended ranges such as `d:last.week..' and `d:..2.days.ago'
are supported
<https://yhetil.org/guix/?q=dfn%3Agnu%2Fpackages%2Fbioinformatics+AND+b%3Ar-build-system+AND+rt%3A3.months.ago..>
Then, ’lei up’ will request the public-inbox server for this query and
will download the messages if any.
Cheers,
simon
next prev parent reply other threads:[~2022-05-04 9:06 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 5:38 Updating mumi on berlin Arun Isaac
2022-04-27 6:27 ` zimoun
2022-04-27 11:14 ` Arun Isaac
2022-05-02 10:33 ` zimoun
2022-05-03 17:33 ` Arun Isaac
2022-05-03 20:42 ` Thiago Jung Bauermann
2022-05-04 8:00 ` zimoun [this message]
2022-05-05 1:49 ` Kyle Meyer
2022-05-05 3:13 ` Thiago Jung Bauermann
2022-05-05 14:45 ` Maxim Cournoyer
2022-05-06 3:16 ` Thiago Jung Bauermann
2022-05-07 22:20 ` Ludovic Courtès
2022-05-08 1:00 ` Thiago Jung Bauermann
2022-05-15 20:59 ` Ludovic Courtès
2022-05-16 8:27 ` Maxime Devos
2022-06-04 22:36 ` Thiago Jung Bauermann
2022-05-05 8:37 ` zimoun
2022-05-06 2:24 ` public-inbox v1.7 update (was: Updating mumi on berlin) Kyle Meyer
2022-05-06 7:37 ` zimoun
2022-05-08 4:41 ` Kyle Meyer
2022-05-09 13:58 ` zimoun
2022-05-06 3:22 ` Updating mumi on berlin Thiago Jung Bauermann
2022-05-06 7:48 ` zimoun
2022-05-15 22:05 ` Thiago Jung Bauermann
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=875yml916w.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=arunisaac@systemreboot.net \
--cc=bauermann@kolabnow.com \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@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.