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=-3.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_SBL,URIBL_SBL_A shortcircuit=no autolearn=no 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 F02481F4B4 for ; Thu, 4 Feb 2021 09:59:30 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/10] lei: cleanups + initial import support Date: Thu, 4 Feb 2021 00:59:20 -0900 Message-Id: <20210204095930.20278-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Still some ways to go, but changes to the "lei q" backend should make future work far easier. I went a bit overboard with the FD passing in earlier iterations :x Maybe Inline::C won't have to be a hard requirement for lei after all... The PktOp package is nice and works out for "lei import", too Eric Wong (10): lei q: delay worker spawn ipc: localize fields assignment to prevent circular refs lei q: reorder internals to reduce FD passing lei q: only start pager if output is to stdout lei q: reinstate early MUA spawn for Maildir eml: handle warning ignores for lei lei q: eliminate $not_done temporary git dir hack lei_query: remove uneeded dwaitpid import lei_xsearch: drop unused imports lei import: initial implementation MANIFEST | 1 + lib/PublicInbox/Admin.pm | 7 +- lib/PublicInbox/Eml.pm | 19 ++++ lib/PublicInbox/IPC.pm | 10 +-- lib/PublicInbox/InboxWritable.pm | 24 +----- lib/PublicInbox/LEI.pm | 144 +++++++++++++------------------ lib/PublicInbox/LeiImport.pm | 106 +++++++++++++++++++++++ lib/PublicInbox/LeiOverview.pm | 44 ++-------- lib/PublicInbox/LeiQuery.pm | 20 ++--- lib/PublicInbox/LeiStore.pm | 18 ++++ lib/PublicInbox/LeiToMail.pm | 43 ++++++--- lib/PublicInbox/LeiXSearch.pm | 143 +++++++++++++++--------------- lib/PublicInbox/Watch.pm | 14 ++- t/lei.t | 15 ++++ 14 files changed, 345 insertions(+), 263 deletions(-) create mode 100644 lib/PublicInbox/LeiImport.pm