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 C7E021F8C8; Mon, 27 Sep 2021 21:05:45 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org, Konstantin Ryabitsev Subject: [PATCH 0/3] fixes for odd/old/missing dependencies Date: Mon, 27 Sep 2021 16:05:42 -0500 Message-Id: <20210927210545.23941-1-e@80x24.org> In-Reply-To: <20210927194520.a26flphsrp72urb5@meerkat.local> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: On Mon, 27 Sep 2021 15:45:20 -0400, Konstantin Ryabitsev wrote: > On Mon, Sep 27, 2021 at 07:33:46PM +0000, Eric Wong wrote: > > The partial fetching would need some work to support working as > > root. > > Ah. Just catch this with check if if id=0 and skipping the test as "known not > to work for this use-case." It wasn't much to add support for root, actually. The rest of the stuff should be fixed, too. Eric Wong (3): fetch: support running as root t/lei-index: IMAP and NNTP dependencies are optional lei completion: workaround old Perl bug lib/PublicInbox/Fetch.pm | 15 ++++++++++-- lib/PublicInbox/LeiExportKw.pm | 2 +- lib/PublicInbox/LeiImport.pm | 4 +-- lib/PublicInbox/LeiLsMailSource.pm | 4 +-- lib/PublicInbox/LeiRefreshMailSync.pm | 2 +- t/lei-index.t | 35 ++++++++++++++++++--------- t/v2mirror.t | 13 +++++++--- 7 files changed, 52 insertions(+), 23 deletions(-)