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-ASN: 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 8596A1F5AE for ; Sat, 24 Apr 2021 09:28:46 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/7] lei sync preparations, "lei inspect" Date: Sat, 24 Apr 2021 09:28:39 +0000 Message-Id: <20210424092846.726-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: "lei import" now tracks IMAP and Maildir source information in preparation for propagating keywords back to IMAP|Maildir. "lei inspect" is a long-overdue debug/diagnostic thing. Eric Wong (7): lei_input: drop outdated comment w.r.t. compression t/lei_to_mail: split "lei import" test $HOME directory URIimap: support ->uidvalidity and ->iuid net_reader: imap_each: add UIDVALIDITY to URL arg doc: lei_design_notes: add a bit on WAL usage lei_mail_sync: for bidirectional keyword sync lei import: keep sync info for Maildir and IMAP folders Documentation/lei_design_notes.txt | 12 ++ MANIFEST | 3 + lib/PublicInbox/LEI.pm | 16 ++- lib/PublicInbox/LeiImport.pm | 22 ++- lib/PublicInbox/LeiInput.pm | 42 +++++- lib/PublicInbox/LeiInspect.pm | 96 +++++++++++++ lib/PublicInbox/LeiMailSync.pm | 211 +++++++++++++++++++++++++++++ lib/PublicInbox/LeiSearch.pm | 7 + lib/PublicInbox/LeiStore.pm | 20 ++- lib/PublicInbox/NetReader.pm | 11 +- lib/PublicInbox/TestCommon.pm | 2 + lib/PublicInbox/URIimap.pm | 38 +++++- t/lei-import-imap.t | 27 +++- t/lei-import-maildir.t | 21 +++ t/lei_mail_sync.t | 68 ++++++++++ t/lei_to_mail.t | 8 +- t/net_reader-imap.t | 4 +- t/uri_imap.t | 32 ++++- 18 files changed, 612 insertions(+), 28 deletions(-) create mode 100644 lib/PublicInbox/LeiInspect.pm create mode 100644 lib/PublicInbox/LeiMailSync.pm create mode 100644 t/lei_mail_sync.t