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 AA6451F9FC for ; Sat, 20 Mar 2021 10:04:07 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] lei: preserve keywords across queries Date: Sat, 20 Mar 2021 19:04:02 +0900 Message-Id: <20210320100407.15713-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 2/5 is the major milestone to me, it took me a long while to figure out and arrive at. PATCH 1/5 made things click, and ("lei_store: initialize IPC lock properly") was also needed :x There'll still need to be some followup to support import, and also to deal with public-inbox-edit/purge in externals. Inotify + EVFILT_VNODE support should make things sweeter, too. Eric Wong (5): lei: All Local Externals: bare git dir for alternates lei q: support vmd for external-only messages lei q: put keywords on one line in --pretty output lei_to_mail: match mutt order of status headers lei: tie ALE lifetime to config file MANIFEST | 1 + lib/PublicInbox/LEI.pm | 15 +++++ lib/PublicInbox/LeiALE.pm | 111 +++++++++++++++++++++++++++++++++ lib/PublicInbox/LeiOverview.pm | 12 +++- lib/PublicInbox/LeiQuery.pm | 1 + lib/PublicInbox/LeiSearch.pm | 37 +++++++---- lib/PublicInbox/LeiStore.pm | 82 ++++++++++++++---------- lib/PublicInbox/LeiToMail.pm | 38 ++++++----- lib/PublicInbox/LeiXSearch.pm | 44 +++---------- lib/PublicInbox/Lock.pm | 2 +- lib/PublicInbox/Over.pm | 22 ++++++- lib/PublicInbox/OverIdx.pm | 10 --- lib/PublicInbox/SearchIdx.pm | 3 + t/eml.t | 2 + t/lei-convert.t | 3 +- t/lei-externals.t | 3 +- t/lei-q-kw.t | 59 ++++++++++++++++-- t/lei-q-remote-import.t | 4 +- t/lei-q-thread.t | 7 ++- t/lei_to_mail.t | 2 +- t/lei_xsearch.t | 22 ++++++- 21 files changed, 355 insertions(+), 125 deletions(-) create mode 100644 lib/PublicInbox/LeiALE.pm