From 83ddafff2695326d9bc9d5e64a884ea264cc9a34 Mon Sep 17 00:00:00 2001 From: bernhard Date: Sun, 29 Sep 2024 13:35:40 +0200 Subject: [PATCH 1/3] Move the declaration for Pod::Readme into the block for Perl 5.12 or higher. Actually it is not obvious why Pod::Readme would not work for Perl 5.10. --- cpanfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpanfile b/cpanfile index f2b31fa..7e362ca 100644 --- a/cpanfile +++ b/cpanfile @@ -30,7 +30,6 @@ requires 'File::Temp'; requires 'List::MoreUtils'; requires 'Module::Build'; requires 'Perl::Tidy', '>= 20220217'; -requires 'Pod::Readme' if "$]" >= 5.012000; requires 'Pod::Spell', '>= 1.25'; requires 'Test2::Bundle::Extended'; requires 'Test2::Plugin::NoWarnings'; @@ -76,6 +75,7 @@ if ( "$]" >= 5.012 ) { requires 'Code::TidyAll::Plugin::Test::Vars'; requires 'Code::TidyAll::Plugin::UniqueLines'; requires 'Pod::Coverage::TrustPod'; + requires 'Pod::Readme'; } if ( "$]" < 5.014 ) { From 32f4ce95a08d9daebb279c9499996f6a212bab99 Mon Sep 17 00:00:00 2001 From: bernhard Date: Sun, 29 Sep 2024 13:37:55 +0200 Subject: [PATCH 2/3] State that Perl 5.10 is the earliest supported version --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9d2f779..5c47b15 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # docker-perl-tester This repo is used to build Perl Docker images with various pre-installed bits: +The earliest supported version is Perl 5.10. - the `aspell` and `aspell-en` packages - `cpanminus` From e908d8296c5f2926d049b9e723e6d94a07123c37 Mon Sep 17 00:00:00 2001 From: bernhard Date: Sun, 29 Sep 2024 13:39:00 +0200 Subject: [PATCH 3/3] Sync README.md with cpanfile. Assuming the Perl 5.10 is the earliest supported version. --- README.md | 55 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5c47b15..7f22ace 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This repo is used to build Perl Docker images with various pre-installed bits: The earliest supported version is Perl 5.10. - the `aspell` and `aspell-en` packages +- `build-essential` +- `git` - `cpanminus` - `App::cpm` - `Devel::Cover` @@ -21,25 +23,32 @@ on failures. See also the `cpanfile` in this repo for an up to date list of available modules. +Note that on older versions of Perl older Perl modules might be required. Examples for +such cases are Perl::Critic, Pod::Man, and Software::License::Perl_5. + ## Available on all Perl Versions -- Code::TidyAll::Plugin::SortLines::Naturally -- Code::TidyAll::Plugin::UniqueLines +- App::cpanoutdated - Devel::Cover - Devel::Cover::Report::Codecov - Devel::Cover::Report::Coveralls - ExtUtils::MakeMaker - File::Temp - List::MoreUtils +- Minilla - Module::Build -- Pod::Coverage::TrustPod +- Perl::Critic +- Perl::Tidy +- Pod::Man +- Pod::Spell +- Software::License::Perl_5 - Test2::Bundle::Extended +- Test2::Harness - Test2::Plugin::NoWarnings - Test2::Suite - Test2::Tools::Explain - Test::Builder - Test::CPAN::Meta -- Test::Deep - Test::Differences - Test::EOL - Test::Fatal @@ -49,6 +58,7 @@ modules. - Test::More - Test::Needs - Test::Notabs +- Test::Perl::Critic - Test::Pod - Test::Pod::Coverage - Test::Portability::Files @@ -56,22 +66,53 @@ modules. - Test::Simple - Test::Spelling - Test::Synopsis +- Test::Vars - Test::Version - Test::Warnings -## Only on Perl 5.10 and later +## Only on Perl 5.10 -- Code::TidyAll::Plugin::Test::Vars -- Test::Vars +- Data::OptList +- Data::Section +- Plack +- Sub::Exporter +- Test::Deep + +## Only on Perl 5.10.001 and later + +- Test2::Harness::Renderer::JUnit ## Only on Perl 5.12 and later +- Code::TidyAll::Plugin::SortLines::Naturally +- Code::TidyAll::Plugin::Test::Vars +- Code::TidyAll::Plugin::UniqueLines +- Plack::Test (usually as part of the distribution Plack) +- Pod::Coverage::TrustPod - Pod::Readme +## Only on Perl 5.10 and Perl 5.12 + +- IO::Socket::IP (this might be an implicit dependendcy on other versions of Perl) + ## Only on Perl 5.20 and later - Dist::Zilla & friends - Dist::Zilla::PluginBundle::Author::ETHER +- Dist::Zilla::PluginBundle::Author::OALDERS +- Dist::Zilla::PluginBundle::DROLSKY +- Dist::Zilla::PluginBundle::Milla +- Dist::Zilla::PluginBundle::RJBS +- Dist::Zilla::PluginBundle::Starter::Git +- Dist::Zilla::Plugin::CheckChangeLog +- Dist::Zilla::Plugin::CopyFilesFromRelease +- Dist::Zilla::Plugin::Deprecated +- Dist::Zilla::Plugin::Git::Contributors +- Dist::Zilla::Plugin::GitHubREADME::Badge +- Dist::Zilla::Plugin::OurPkgVersion +- Dist::Zilla::Plugin::Regenerate::AfterReleasers +- Dist::Zilla::Plugin::StaticInstall +- Dist::Zilla::Plugin::Test::ReportPrereqs # Using Docker Images for your projects