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 88AFE1F9FD for ; Thu, 18 Feb 2021 20:22:26 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCHv3 0/4] lei convert IMAP support Date: Thu, 18 Feb 2021 23:22:21 +0300 Message-Id: <20210218202225.85440-1-e@80x24.org> In-Reply-To: <20210218110647.9822-2-e@80x24.org> References: <20210218110647.9822-2-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Fixed to setup ->_lei_cfg at LeiAuth->auth_start in PATCH 1/4 instead of 4/4. This fixes failures on my FreeBSD 11.x VM where 1/4 alone was failing (I never caught this on Debian 10.x). 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