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 85C331F5AE for ; Wed, 9 Jun 2021 07:47:51 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] lei Maildir stuff Date: Wed, 9 Jun 2021 07:47:46 +0000 Message-Id: <20210609074751.29217-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I'm not sure if "prune-mail-sync" needs to be exposed, but I suppose it could be useful in some cases. It's certainly easier to implement. "lei tag" gets a nice speedup for Maildirs, IMAP speedup is probably better off done after we get IMAP pipelining far into the future. Not sure if anybody is using InboxWritable->import_maildir... Eric Wong (5): inbox_writable: fix import_maildir mdir_reader: maildir_each_file: pass flags, skip Trash lei tag: parallelize Maildir access lei_mail_sync: hoist out --all handling from export-kw lei prune-mail-sync: new command to prune invalid sync data MANIFEST | 1 + lib/PublicInbox/InboxWritable.pm | 15 ++--- lib/PublicInbox/LEI.pm | 2 + lib/PublicInbox/LeiExportKw.pm | 32 +--------- lib/PublicInbox/LeiImport.pm | 12 ++-- lib/PublicInbox/LeiMailSync.pm | 36 +++++++++++ lib/PublicInbox/LeiPmdir.pm | 18 ++---- lib/PublicInbox/LeiPruneMailSync.pm | 97 +++++++++++++++++++++++++++++ lib/PublicInbox/LeiTag.pm | 8 ++- lib/PublicInbox/MdirReader.pm | 5 +- lib/PublicInbox/NetReader.pm | 19 ++++++ lib/PublicInbox/NetWriter.pm | 21 +------ 12 files changed, 184 insertions(+), 82 deletions(-) create mode 100644 lib/PublicInbox/LeiPruneMailSync.pm