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 D8B641F5AE for ; Thu, 29 Apr 2021 09:46:20 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] some lei synchronization work Date: Thu, 29 Apr 2021 09:46:16 +0000 Message-Id: <20210429094620.15195-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 2/4 is a fairly big change to recent-ish behavior; but ought to help us avoid problems by avoiding mismatched sources of truth. -watch once again halts on UIDVALIDITY changes (matching <=1.6 behavior). Tor .onion URLs for NNTP and IMAP also aren't supported unless the entire lei-daemon process is running under torsocks. Net::NNTP doesn't seem to have provisions for using user-supplied classes like IO::Socket::SOCKS, either. Mail::IMAPClient supports ->Socket and ->RawSocket, at least... Eric Wong (4): content_hash: git_sha: allow unblessed SCALAR refs lei import: avoid IMAPTracker, use LeiMailSync more lei import: support UIDVALIDITY in IMAP URL lei import: support shell completion of known folders Documentation/lei-store-format.pod | 2 +- contrib/completion/lei-completion.bash | 1 + lib/PublicInbox/ContentHash.pm | 6 +-- lib/PublicInbox/IMAPTracker.pm | 35 +++++--------- lib/PublicInbox/LEI.pm | 2 +- lib/PublicInbox/LeiExternal.pm | 22 +++++---- lib/PublicInbox/LeiImport.pm | 20 ++++---- lib/PublicInbox/LeiInput.pm | 20 +++++--- lib/PublicInbox/LeiMailSync.pm | 2 +- lib/PublicInbox/LeiUp.pm | 4 +- lib/PublicInbox/LeiViewText.pm | 1 - lib/PublicInbox/NetReader.pm | 67 +++++++++++++++++--------- lib/PublicInbox/URIimap.pm | 2 + t/lei-import-imap.t | 8 ++- t/lei-import-nntp.t | 4 +- t/solver_git.t | 7 +-- 16 files changed, 112 insertions(+), 91 deletions(-)