git/contrib/mw-to-git
brian m. carlson 702d8c1f3b Require Perl 5.26.0
Our platform support policy states that we require "versions of
dependencies which are generally accepted as stable and supportable,
e.g., in line with the version used by other long-term-support
distributions".  Of Debian, Ubuntu, RHEL, and SLES, the four most common
distributions that provide LTS versions, the version with mainstream
long-term security support with the oldest Perl is 5.26.0 in SLES 15.6.

This is a major upgrade, since Perl 5.8.1, according to the Perl
documentation, was released in September of 2003.  It brings a lot of
new features that we can choose to use, such as s///r to return the
modified string, the postderef functionality, and subroutine signatures,
although the latter was still considered experimental until 5.36.

This change was made with the following one-liner, which intentionally
excludes modifying the vendored modules we include to avoid conflicts:

    git grep -l 'use 5.008001' | grep -v 'LoadCPAN/' | xargs perl -pi -e 's/use 5.008001/require v5.26/'

Use require instead of use to avoid changing the behavior as the latter
enables features and the former does not.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
2024-10-23 16:16:36 -04:00
..
Git Require Perl 5.26.0 2024-10-23 16:16:36 -04:00
bin-wrapper git-remote-mediawiki: add a git bin-wrapper for developement 2013-07-08 08:55:53 -07:00
t tests: teach callers of test_i18ngrep to use test_grep 2023-11-02 17:13:44 +09:00
.gitignore git-remote-mediawiki: ignore generated git-mw 2013-08-13 09:52:22 -07:00
.perlcriticrc Fix spelling errors in no-longer-updated-from-upstream modules 2019-11-10 16:00:55 +09:00
Makefile perl: fix installing modules from contrib 2018-04-11 10:29:03 +09:00
git-mw.perl remote-mediawiki doc: correct link to GitHub project 2020-09-16 16:11:53 -07:00
git-remote-mediawiki.perl remote-mediawiki: use "sh" to eliminate unquoted commands 2020-09-21 12:37:38 -07:00
git-remote-mediawiki.txt remote-mediawiki doc: correct link to GitHub project 2020-09-16 16:11:53 -07:00