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 4A46A1F8C6 for ; Fri, 3 Sep 2021 08:54:27 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/8] lei: fix IMAP R/W; L/kw false positives Date: Fri, 3 Sep 2021 08:54:19 +0000 Message-Id: <20210903085427.5541-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Back to using syslog more for errors, since it's still less instrusive. IMAP R/W is fixed (ugh, lack of automatic tests since we only have a read-only IMAP server for testing). Some error/warning fixes, and false-positives on L: and kw: searches on local (but not remote) externals are avoided. "lei inspect --stdin" was somewhat useful for figuring out why L: was false-positiving an external result on me. Eric Wong (8): lei: dump errors to syslog, and not to CLI lei/store: quiet down link(2) warnings lei: ->child_error less error-prone lei: use lei->lms in place of lse->lms in a few places lei up --all: avoid double-close on shared STDOUT lei inspect: support reading eml from --stdin lei_xsearch: avoid false-positives on externals w/ L: and kw: lei: fix read/write IMAP access MANIFEST | 1 + lib/PublicInbox/LEI.pm | 27 ++++++++++-------- lib/PublicInbox/LeiBlob.pm | 2 +- lib/PublicInbox/LeiIndex.pm | 2 +- lib/PublicInbox/LeiInput.pm | 4 +-- lib/PublicInbox/LeiInspect.pm | 43 ++++++++++++++++++++++++----- lib/PublicInbox/LeiLcat.pm | 2 +- lib/PublicInbox/LeiPruneMailSync.pm | 26 ++++++++--------- lib/PublicInbox/LeiRediff.pm | 2 +- lib/PublicInbox/LeiStore.pm | 10 ++----- lib/PublicInbox/LeiStoreErr.pm | 4 +-- lib/PublicInbox/LeiToMail.pm | 2 +- lib/PublicInbox/LeiUp.pm | 6 +++- lib/PublicInbox/LeiXSearch.pm | 1 + lib/PublicInbox/NetReader.pm | 5 +++- lib/PublicInbox/NetWriter.pm | 2 ++ lib/PublicInbox/Watch.pm | 2 ++ t/lei-daemon.t | 5 ---- t/lei-up.t | 39 ++++++++++++++++++++++++++ 19 files changed, 130 insertions(+), 55 deletions(-) create mode 100644 t/lei-up.t