From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B1DF41F4B4 for ; Sat, 16 Jan 2021 11:36:24 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] lei q: outputs to Maildir and mbox* working Date: Fri, 15 Jan 2021 23:36:20 -1200 Message-Id: <20210116113624.19930-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Only lightly-tested but this is the key "inspired by mairix" part. It's slow compared to mairix due to git storage and not being able to use hardlinks, but git blob extraction will be parallelizable. Eric Wong (4): lei_to_mail: prepare for worker offload ipc: children don't kill on DESTROY, reduce FD sharing lei: q: results output to Maildir and mbox* working lei: pager: pass correct env in oneshot mode MANIFEST | 1 + lib/PublicInbox/IPC.pm | 21 ++-- lib/PublicInbox/LEI.pm | 30 +++-- lib/PublicInbox/LeiDedupe.pm | 3 +- lib/PublicInbox/LeiOverview.pm | 60 ++++++---- lib/PublicInbox/LeiQuery.pm | 14 +-- lib/PublicInbox/LeiToMail.pm | 206 +++++++++++++++++++++------------ lib/PublicInbox/LeiXSearch.pm | 119 ++++++++++++++----- lib/PublicInbox/OpPipe.pm | 41 +++++++ t/lei.t | 20 ++++ t/lei_to_mail.t | 64 +++++----- 11 files changed, 398 insertions(+), 181 deletions(-) create mode 100644 lib/PublicInbox/OpPipe.pm