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,AWL,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 A33151F4C4 for ; Sat, 16 Nov 2024 07:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1731740993; bh=iI7zSl8AeOVFOeFWWVTUdaXA0XKvctQtJ9xTXPi0awI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=252rYody3F5iJKjZNhIiJ1rgeEj5cfsq+2Xi+sZ07FsEpKEFjtI8+EYEvP5hprUmu BWSYlBxYaLHrpNrEL22LDLMCFGgRy1/HmRD8dY8ttRL8/YBr/8dyLYo1RzaIsrHbWS b3tqTAs/wjRhld6u2h/e7T9akylHdiR91hloV0D4= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/6] index: use v5.12, remove outdated comment Date: Sat, 16 Nov 2024 07:09:48 +0000 Message-ID: <20241116070953.2945078-2-e@80x24.org> In-Reply-To: <20241116070953.2945078-1-e@80x24.org> References: <20241116070953.2945078-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: There's no unicode_strings-dependent code in this script, so v5.12 is safe. The comment about libeatmydata shouldn't be necessary for -index any longer since we support --no-fsync nowadays and Xapian 1.4+ is fairly widespread. --- script/public-inbox-index | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/script/public-inbox-index b/script/public-inbox-index index a13e44bf..82baa7b4 100755 --- a/script/public-inbox-index +++ b/script/public-inbox-index @@ -1,12 +1,9 @@ #!perl -w -# Copyright (C) 2015-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ # Basic tool to create a Xapian search index for a public-inbox. -# Usage with libeatmydata -# highly recommended: eatmydata public-inbox-index INBOX_DIR -use strict; -use v5.10.1; +use v5.12; use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev); my $help = <