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 B47F01F9FD for ; Thu, 18 Feb 2021 11:06:47 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCHv2 0/4] lei IMAP support take #2 Date: Thu, 18 Feb 2021 02:06:43 -0900 Message-Id: <20210218110647.9822-1-e@80x24.org> In-Reply-To: <20210217105333.GA22613@dcvr> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: The original t/lei-convert.t was bonkers and now fixed in 1/4 Minor changes for everything except 3/4 which AFAIK has no changes. Eric Wong (4): lei convert: mail format conversion sub-command lei import: add IMAP and (maildir|mbox*):$PATHNAME support lei: consolidate the bulk of the IPC code lei: check for IMAP auth errors MANIFEST | 6 ++ lib/PublicInbox/GitCredential.pm | 18 ++-- lib/PublicInbox/LEI.pm | 57 +++++++++-- lib/PublicInbox/LeiAuth.pm | 70 +++++++++++++ lib/PublicInbox/LeiConvert.pm | 148 +++++++++++++++++++++++++++ lib/PublicInbox/LeiDedupe.pm | 2 +- lib/PublicInbox/LeiImport.pm | 148 +++++++++++++++++---------- lib/PublicInbox/LeiMirror.pm | 19 +--- lib/PublicInbox/LeiOverview.pm | 7 +- lib/PublicInbox/LeiToMail.pm | 5 +- lib/PublicInbox/MdirReader.pm | 26 +++++ lib/PublicInbox/NetReader.pm | 166 ++++++++++++++++++++++++++++--- lib/PublicInbox/TestCommon.pm | 11 +- t/lei-convert.t | 71 +++++++++++++ t/lei-import-imap.t | 28 ++++++ t/lei-import-maildir.t | 4 +- t/lei_to_mail.t | 10 ++ t/net_reader-imap.t | 40 ++++++++ xt/lei-auth-fail.t | 20 ++++ 19 files changed, 747 insertions(+), 109 deletions(-) create mode 100644 lib/PublicInbox/LeiAuth.pm create mode 100644 lib/PublicInbox/LeiConvert.pm create mode 100644 t/lei-convert.t create mode 100644 t/lei-import-imap.t create mode 100644 t/net_reader-imap.t create mode 100644 xt/lei-auth-fail.t