From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 653161F55F for ; Sun, 24 Sep 2023 05:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1695534134; bh=ScUdEIyREzeclLKdIWAu6hAhAlIiXKyeLkgv/yHc+Aw=; h=From:To:Subject:Date:From; b=Dh1XnHMyi3zwdmho7fBxaCIdo37hg2OsuwxJsI3mphVa1x32G10EPkdaYUWCygFzt yDc8GRe0eHvuaGzxZIJNdyiHbxvn5t8uSorpovlths7KpBefFbsWXSjt51sqMbemXc u8ddfMY2+zHOnGD6hWvRzycCJuxYG5hEUOvo9jtg= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/6] lei config fixes and improvements Date: Sun, 24 Sep 2023 05:42:08 +0000 Message-ID: <20230924054214.3539091-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Fixing `-c NAME=VALUE' was something I noticed working on improving *BSD support the other week. Everything else here was noticed while fixing -c. And 6/6 is because I'm annoyed at seeing test-only code in Config.pm Eric Wong (6): lei: check git-config(1) failures lei view_text: used tied ProcessPipe for `git config' config: handle key-only entries as booleans lei config: send `git config' errors to pager lei: fix `-c NAME=VALUE' config support config: drop scalar ref support from internal API lib/PublicInbox/Config.pm | 78 ++++++++++------ lib/PublicInbox/LEI.pm | 102 +++++++++++---------- lib/PublicInbox/LeiAddWatch.pm | 7 +- lib/PublicInbox/LeiConfig.pm | 35 +++++--- lib/PublicInbox/LeiForgetExternal.pm | 3 +- lib/PublicInbox/LeiInit.pm | 4 +- lib/PublicInbox/LeiMirror.pm | 5 +- lib/PublicInbox/LeiRmWatch.pm | 2 +- lib/PublicInbox/LeiViewText.pm | 9 +- lib/PublicInbox/TestCommon.pm | 20 +++-- t/config.t | 128 +++++++++++++++------------ t/config_limiter.t | 31 +++---- t/inbox_idle.t | 15 ++-- t/lei.t | 17 +++- t/psgi_bad_mids.t | 18 ++-- t/psgi_mount.t | 14 ++- t/psgi_multipart_not.t | 16 ++-- t/psgi_scan_all.t | 18 ++-- t/psgi_search.t | 12 ++- t/psgi_text.t | 21 ++--- t/watch_filter_rubylang.t | 30 +++---- t/watch_imap.t | 20 +++-- t/watch_maildir.t | 24 ++--- t/watch_maildir_v2.t | 44 ++++----- t/watch_multiple_headers.t | 21 +++-- 25 files changed, 381 insertions(+), 313 deletions(-)