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 E3E931F8C6 for ; Thu, 2 Sep 2021 10:17:58 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] lei: auto keyword propagation to Maildirs Date: Thu, 2 Sep 2021 10:17:55 +0000 Message-Id: <20210902101758.18715-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: At least the tests pass, and getting t/lei-export-kw.t to pass after 3/3 was no small feat, but I believe everything is more correct now (especially after the 10-patch series posted yesterday-ish). Patches 1 and 2 were developed while fixing 3/3, since the stuff in t/lei-auto-watch.t happened to work right away while preserving the behavior of t/lei-export-kw.t (unchanged) proved extremely challenging in my current mental state. Eric Wong (3): lei_mail_sync: do not use transactions lei_input: set and prepare watches early lei: propagate keyword changes from lei/store MANIFEST | 1 + lib/PublicInbox/LeiExportKw.pm | 24 +++---- lib/PublicInbox/LeiInput.pm | 20 ++++-- lib/PublicInbox/LeiMailSync.pm | 14 +--- lib/PublicInbox/LeiNoteEvent.pm | 14 ++-- lib/PublicInbox/LeiStore.pm | 122 +++++++++++++++++++++++++++++--- t/lei-auto-watch.t | 45 ++++++++++++ t/lei_mail_sync.t | 18 ++--- 8 files changed, 196 insertions(+), 62 deletions(-) create mode 100644 t/lei-auto-watch.t