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 01E7C1F9FD for ; Thu, 25 Feb 2021 10:11:06 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] lei: fleshing out some existing features Date: Thu, 25 Feb 2021 10:11:02 +0000 Message-Id: <20210225101106.12505-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Managed to get more stuff done while still pondering keyword storage with read-only externals(*) 1/4 fleshes out convert, which should be feature-complete as far as currently supported inputs and outputs (no MH, JMAP, POP3, MMDF, yet) 2/4 represents a major incompatibility in replacing --format/-f with --in-format/-F in "lei import" for consistency with "lei convert". Anyways, this is pre-release software and I discouraged "-f" anyways; so hopefully nobody's scripts are broken :x 4/4 is another one of the things I've found myself wanting for a while (it wasn't in mairix). (*) https://public-inbox.org/meta/20210224204950.GA2076@dcvr/ Eric Wong (4): lei convert: support IMAP output and "-F eml" inputs lei import: use --in-format/-F for consistency test_common: io_modes: always support read/write lei q: -tt marks direct hits as "flagged" Documentation/lei-import.pod | 2 +- Documentation/lei-q.pod | 8 ++++++ MANIFEST | 1 + lib/PublicInbox/LEI.pm | 12 ++++----- lib/PublicInbox/LeiConvert.pm | 51 ++++++++++++++++++++++------------- lib/PublicInbox/LeiImport.pm | 8 +++--- lib/PublicInbox/LeiXSearch.pm | 21 ++++++++++++--- lib/PublicInbox/NetWriter.pm | 3 ++- lib/PublicInbox/TestCommon.pm | 4 +-- t/lei-convert.t | 15 +++++++++++ t/lei-import.t | 12 ++++----- t/lei-q-thread.t | 47 ++++++++++++++++++++++++++++++++ t/lei_to_mail.t | 2 +- xt/net_writer-imap.t | 4 +++ 14 files changed, 146 insertions(+), 44 deletions(-) create mode 100644 t/lei-q-thread.t