This is an automated email from the git hooks/post-receive script. abe pushed a commit to annotated tag 0.2.2 in repository libdist-zilla-role-bootstrap-perl.
commit dd0972528cd0a3dcc18acabf12f2cb222673b3f6 Author: Kent Fredric <kentfred...@gmail.com> Date: Mon Nov 18 17:24:58 2013 +1300 Build results of 0dbba8c (on master) --- .travis.yml | 47 ++- Build.PL | 38 +-- Changes | 91 ++++++ MANIFEST | 9 +- META.json | 408 +++++++++++++++++------- META.yml | 326 +++++++++++++------ README | 2 +- dist.ini | 1 + lib/Dist/Zilla/Role/Bootstrap.pm | 6 +- maint-travis-ci/before_script.pl | 31 ++ maint-travis-ci/install_deps.pl | 67 ++++ maint-travis-ci/lib/tools.pm | 173 ++++++++++ maint-travis-ci/merge_travis_yml.pl | 10 +- maint-travis-ci/report_fail_ctx.pl | 13 + maint-travis-ci/script.pl | 41 +++ maint-travis-ci/sterilize_env.pl | 56 ++-- maint-travis-ci/sync_tree.pl | 11 +- maint-travis-ci/yamls/sterile.mkdn | 54 ++++ maint-travis-ci/yamls/sterile.yaml | 44 ++- maint-travis-ci/yamls/sterile2.yaml | 44 +++ t/00-compile.t | 46 --- t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t | 11 + t/000-report-versions-tiny.t | 21 +- xt/release/kwalitee.t | 2 +- 24 files changed, 1204 insertions(+), 348 deletions(-) diff --git a/.travis.yml b/.travis.yml index df1af65..9186391 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,44 @@ language: perl -perl: - - "5.16" - - "5.14" - - "5.18" - - "5.19" -env: - matrix: - - STERILIZE_ENV=0 - - STERILIZE_ENV=1 +matrix: + include: + - perl: "5.8" + env: STERILIZE_ENV=0 + - perl: "5.10" + env: STERILIZE_ENV=0 + - perl: "5.12" + env: STERILIZE_ENV=0 + - perl: "5.14" + env: STERILIZE_ENV=0 + - perl: "5.16" + env: STERILIZE_ENV=0 + - perl: "5.18" + env: STERILIZE_ENV=0 + - perl: "5.19" + env: STERILIZE_ENV=0 + - perl: "5.8" + env: STERILIZE_ENV=1 + - perl: "5.10" + env: STERILIZE_ENV=1 + - perl: "5.19" + env: STERILIZE_ENV=1 + - perl: "5.19" + env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + - perl: "5.19" + env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 before_install: - - perl ./maint-travis-ci/sterilize_env.pl + - perlbrew list + - time perl ./maint-travis-ci/sterilize_env.pl +install: + - time perl ./maint-travis-ci/install_deps.pl +before_script: + - time perl ./maint-travis-ci/before_script.pl +script: + - time perl ./maint-travis-ci/script.pl +after_failure: + - perl ./maint-travis-ci/report_fail_ctx.pl branches: only: + - "master" - "build/master" - "releases" diff --git a/Build.PL b/Build.PL index 5433393..6880c6e 100644 --- a/Build.PL +++ b/Build.PL @@ -7,17 +7,17 @@ use Module::Build 0.3601; my %module_build_args = ( "build_requires" => { - "Module::Build" => "0.4007" + "Module::Build" => "0.4200" }, "configure_requires" => { - "Module::Build" => "0.4007" + "Module::Build" => "0.4200" }, "dist_abstract" => "Shared logic for bootstrap things.", "dist_author" => [ "Kent Fredric <kentfredric\@gmail.com>" ], "dist_name" => "Dist-Zilla-Role-Bootstrap", - "dist_version" => "0.2.1", + "dist_version" => "0.2.2", "license" => "perl", "module_name" => "Dist::Zilla::Role::Bootstrap", "recommends" => {}, @@ -30,7 +30,7 @@ my %module_build_args = ( "MooseX::AttributeShortcuts" => 0, "Path::Tiny" => 0, "lib" => 0, - "perl" => "v5.10.0", + "perl" => "5.006", "strict" => 0, "version" => 0, "warnings" => 0 @@ -42,27 +42,29 @@ my %module_build_args = ( "Dist::Zilla::MVP::Assembler::Zilla" => 0, "Dist::Zilla::MVP::Section" => 0, "File::Copy::Recursive" => 0, - "File::Spec" => 0, - "IO::Handle" => 0, - "IPC::Open3" => 0, "Moose" => 0, "Path::FindDev" => 0, - "Test::More" => "0.98" + "Test::More" => "1.001002" } ); +my %fallback_build_requires = ( + "Dist::Zilla::Chrome::Test" => 0, + "Dist::Zilla::Dist::Builder" => 0, + "Dist::Zilla::MVP::Assembler::Zilla" => 0, + "Dist::Zilla::MVP::Section" => 0, + "File::Copy::Recursive" => 0, + "Module::Build" => "0.4200", + "Moose" => 0, + "Path::FindDev" => 0, + "Test::More" => "1.001002" +); + + unless ( eval { Module::Build->VERSION(0.4004) } ) { - my $tr = delete $module_build_args{test_requires}; - my $br = $module_build_args{build_requires}; - for my $mod ( keys %$tr ) { - if ( exists $br->{$mod} ) { - $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; - } - else { - $br->{$mod} = $tr->{$mod}; - } - } + delete $module_build_args{test_requires}; + $module_build_args{build_requires} = \%fallback_build_requires; } my $build = Module::Build->new(%module_build_args); diff --git a/Changes b/Changes index 171289b..21dbb5f 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,96 @@ Release history for Dist-Zilla-Role-Bootstrap +0.2.2 2013-11-18T04:24:16Z + [00 Minor/Bugfix] + - Drop mandatory dep on 5.10.1. You will need a recent version.pm if you + want a version-specific dependency to work + - Use latest MB Magic + - Switch to Compile::PerFile + + [Dependencies::Added / develop requires] + - Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl + - Dist::Zilla::Plugin::Authority 1.006 + - Dist::Zilla::Plugin::AutoPrereqs + - Dist::Zilla::Plugin::CheckExtraTests + - Dist::Zilla::Plugin::ConfirmRelease + - Dist::Zilla::Plugin::EOLTests + - Dist::Zilla::Plugin::Git::Check + - Dist::Zilla::Plugin::Git::Commit + - Dist::Zilla::Plugin::Git::CommitBuild + - Dist::Zilla::Plugin::Git::GatherDir + - Dist::Zilla::Plugin::Git::NextVersion + - Dist::Zilla::Plugin::Git::Tag + - Dist::Zilla::Plugin::GithubMeta + - Dist::Zilla::Plugin::License + - Dist::Zilla::Plugin::Manifest + - Dist::Zilla::Plugin::ManifestSkip + - Dist::Zilla::Plugin::MetaConfig + - Dist::Zilla::Plugin::MetaData::BuiltWith + - Dist::Zilla::Plugin::MetaJSON + - Dist::Zilla::Plugin::MetaProvides::Package 1.14000001 + - Dist::Zilla::Plugin::MetaTests + - Dist::Zilla::Plugin::MetaYAML + - Dist::Zilla::Plugin::ModuleBuild + - Dist::Zilla::Plugin::NextRelease + - Dist::Zilla::Plugin::PkgVersion + - Dist::Zilla::Plugin::PodCoverageTests + - Dist::Zilla::Plugin::PodSyntaxTests + - Dist::Zilla::Plugin::PodWeaver + - Dist::Zilla::Plugin::Prereqs + - Dist::Zilla::Plugin::Prereqs::MatchInstalled + - Dist::Zilla::Plugin::PruneCruft + - Dist::Zilla::Plugin::ReadmeAnyFromPod + - Dist::Zilla::Plugin::ReadmeFromPod + - Dist::Zilla::Plugin::ReportVersions::Tiny + - Dist::Zilla::Plugin::Test::CPAN::Changes + - Dist::Zilla::Plugin::Test::Compile::PerFile + - Dist::Zilla::Plugin::Test::Kwalitee + - Dist::Zilla::Plugin::Test::MinimumVersion + - Dist::Zilla::Plugin::Test::Perl::Critic + - Dist::Zilla::Plugin::TestRelease + - Dist::Zilla::Plugin::Twitter + - Dist::Zilla::Plugin::UploadToCPAN + - Dist::Zilla::PluginBundle::Author::KENTNL 2.002001 + + [Dependencies::Added / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Dependencies::Changed / build requires] + - Module::Build 0.4007 → 0.4200 + + [Dependencies::Changed / configure requires] + - Module::Build 0.4007 → 0.4200 + + [Dependencies::Changed / develop requires] + - Test::Kwalitee 1.08 → 1.12 + + [Dependencies::Changed / runtime requires] + - perl v5.10.0 → 5.006 + + [Dependencies::Changed / test requires] + - Test::More 0.98 → 1.001002 + + [Dependencies::Removed / develop recommends] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite v1.3.0 + + [Dependencies::Removed / develop requires] + - Dist::Zilla::PluginBundle::Author::KENTNL::Lite + + [Dependencies::Removed / develop suggests] + - Dist::Zilla::PluginBundle::Author::KENTNL v1.8.3 + + [Dependencies::Removed / test requires] + - File::Spec + - IO::Handle + - IPC::Open3 + + [Documentation] + - Use MetaCPAN in README.mkdn + + [Tests] + - Regenerate Report::Versions to not report develop things. + - S/Compile/Compile::PerFile/ + 0.2.1 2013-09-24T02:37:30Z [Bugfix] - use ->realpath for comparisons to avoid symlink confusion on darwin diff --git a/MANIFEST b/MANIFEST index 94ff1a4..d506efe 100644 --- a/MANIFEST +++ b/MANIFEST @@ -12,12 +12,19 @@ corpus/fake_dist_01/t/placeholder.txt dist.ini lib/Dist/Zilla/Role/Bootstrap.pm maint-travis-ci/README.mkdn +maint-travis-ci/before_script.pl +maint-travis-ci/install_deps.pl +maint-travis-ci/lib/tools.pm maint-travis-ci/merge_travis_yml.pl +maint-travis-ci/report_fail_ctx.pl +maint-travis-ci/script.pl maint-travis-ci/sterilize_env.pl maint-travis-ci/sync_tree.pl +maint-travis-ci/yamls/sterile.mkdn maint-travis-ci/yamls/sterile.yaml +maint-travis-ci/yamls/sterile2.yaml perlcritic.rc -t/00-compile.t +t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t t/000-report-versions-tiny.t t/01-basic.t t/02-try-built-mtime.t diff --git a/META.json b/META.json index 7f75f77..f99b5ed 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Kent Fredric <kentfred...@gmail.com>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132661", + "generated_by" : "Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830", "license" : [ "perl_5" ], @@ -16,30 +16,69 @@ "prereqs" : { "build" : { "requires" : { - "Module::Build" : "0.4007" + "Module::Build" : "0.4200" } }, "configure" : { "requires" : { - "Module::Build" : "0.4007" + "Module::Build" : "0.4200" } }, "develop" : { - "recommends" : { - "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "v1.3.0" - }, "requires" : { - "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "0", + "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl" : "0", + "Dist::Zilla::Plugin::Authority" : "1.006", + "Dist::Zilla::Plugin::AutoPrereqs" : "0", + "Dist::Zilla::Plugin::CheckExtraTests" : "0", + "Dist::Zilla::Plugin::ConfirmRelease" : "0", + "Dist::Zilla::Plugin::EOLTests" : "0", + "Dist::Zilla::Plugin::Git::Check" : "0", + "Dist::Zilla::Plugin::Git::Commit" : "0", + "Dist::Zilla::Plugin::Git::CommitBuild" : "0", + "Dist::Zilla::Plugin::Git::GatherDir" : "0", + "Dist::Zilla::Plugin::Git::NextVersion" : "0", + "Dist::Zilla::Plugin::Git::Tag" : "0", + "Dist::Zilla::Plugin::GithubMeta" : "0", + "Dist::Zilla::Plugin::License" : "0", + "Dist::Zilla::Plugin::Manifest" : "0", + "Dist::Zilla::Plugin::ManifestSkip" : "0", + "Dist::Zilla::Plugin::MetaConfig" : "0", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "0", + "Dist::Zilla::Plugin::MetaJSON" : "0", + "Dist::Zilla::Plugin::MetaProvides::Package" : "1.14000001", + "Dist::Zilla::Plugin::MetaTests" : "0", + "Dist::Zilla::Plugin::MetaYAML" : "0", + "Dist::Zilla::Plugin::ModuleBuild" : "0", + "Dist::Zilla::Plugin::NextRelease" : "0", + "Dist::Zilla::Plugin::PkgVersion" : "0", + "Dist::Zilla::Plugin::PodCoverageTests" : "0", + "Dist::Zilla::Plugin::PodSyntaxTests" : "0", + "Dist::Zilla::Plugin::PodWeaver" : "0", + "Dist::Zilla::Plugin::Prereqs" : "0", + "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "0", + "Dist::Zilla::Plugin::PruneCruft" : "0", + "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0", + "Dist::Zilla::Plugin::ReadmeFromPod" : "0", + "Dist::Zilla::Plugin::ReportVersions::Tiny" : "0", + "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0", + "Dist::Zilla::Plugin::Test::Kwalitee" : "0", + "Dist::Zilla::Plugin::Test::MinimumVersion" : "0", + "Dist::Zilla::Plugin::Test::Perl::Critic" : "0", + "Dist::Zilla::Plugin::TestRelease" : "0", + "Dist::Zilla::Plugin::Twitter" : "0", + "Dist::Zilla::Plugin::UploadToCPAN" : "0", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.002001", "Pod::Coverage::TrustPod" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", - "Test::Kwalitee" : "1.08", + "Test::Kwalitee" : "1.12", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", "version" : "0.9901" }, "suggests" : { - "Dist::Zilla::PluginBundle::Author::KENTNL" : "v1.8.3" + "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "v1.3.0" } }, "runtime" : { @@ -51,7 +90,7 @@ "MooseX::AttributeShortcuts" : "0", "Path::Tiny" : "0", "lib" : "0", - "perl" : "v5.10.0", + "perl" : "5.006", "strict" : "0", "version" : "0", "warnings" : "0" @@ -64,19 +103,16 @@ "Dist::Zilla::MVP::Assembler::Zilla" : "0", "Dist::Zilla::MVP::Section" : "0", "File::Copy::Recursive" : "0", - "File::Spec" : "0", - "IO::Handle" : "0", - "IPC::Open3" : "0", "Moose" : "0", "Path::FindDev" : "0", - "Test::More" : "0.98" + "Test::More" : "1.001002" } } }, "provides" : { "Dist::Zilla::Role::Bootstrap" : { "file" : "lib/Dist/Zilla/Role/Bootstrap.pm", - "version" : "v0.2.1" + "version" : "v0.2.2" } }, "release_status" : "stable", @@ -91,82 +127,120 @@ "web" : "https://github.com/kentfredric/Dist-Zilla-Role-Bootstrap" } }, - "version" : "0.2.1", + "version" : "0.2.2", "x_BuiltWith" : { "modules" : { "Carp" : "1.32", - "Dist::Zilla::Chrome::Test" : "4.300039", - "Dist::Zilla::Dist::Builder" : "4.300039", - "Dist::Zilla::MVP::Assembler::Zilla" : "4.300039", - "Dist::Zilla::MVP::Section" : "4.300039", - "Dist::Zilla::PluginBundle::Author::KENTNL" : "1.8.3", + "Dist::Zilla::Chrome::Test" : "5.006", + "Dist::Zilla::Dist::Builder" : "5.006", + "Dist::Zilla::MVP::Assembler::Zilla" : "5.006", + "Dist::Zilla::MVP::Section" : "5.006", + "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl" : "2.002001", + "Dist::Zilla::Plugin::Authority" : "1.006", + "Dist::Zilla::Plugin::AutoPrereqs" : "5.006", + "Dist::Zilla::Plugin::CheckExtraTests" : "0.015", + "Dist::Zilla::Plugin::ConfirmRelease" : "5.006", + "Dist::Zilla::Plugin::EOLTests" : "0.02", + "Dist::Zilla::Plugin::Git::Check" : "2.017", + "Dist::Zilla::Plugin::Git::Commit" : "2.017", + "Dist::Zilla::Plugin::Git::CommitBuild" : "2.017", + "Dist::Zilla::Plugin::Git::GatherDir" : "2.017", + "Dist::Zilla::Plugin::Git::NextVersion" : "2.017", + "Dist::Zilla::Plugin::Git::Tag" : "2.017", + "Dist::Zilla::Plugin::GithubMeta" : "0.42", + "Dist::Zilla::Plugin::License" : "5.006", + "Dist::Zilla::Plugin::Manifest" : "5.006", + "Dist::Zilla::Plugin::ManifestSkip" : "5.006", + "Dist::Zilla::Plugin::MetaConfig" : "5.006", + "Dist::Zilla::Plugin::MetaData::BuiltWith" : "0.04000000", + "Dist::Zilla::Plugin::MetaJSON" : "5.006", + "Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000000", + "Dist::Zilla::Plugin::MetaTests" : "5.006", + "Dist::Zilla::Plugin::MetaYAML" : "5.006", + "Dist::Zilla::Plugin::ModuleBuild" : "5.006", + "Dist::Zilla::Plugin::NextRelease" : "5.006", + "Dist::Zilla::Plugin::PkgVersion" : "5.006", + "Dist::Zilla::Plugin::PodCoverageTests" : "5.006", + "Dist::Zilla::Plugin::PodSyntaxTests" : "5.006", + "Dist::Zilla::Plugin::PodWeaver" : "4.002", + "Dist::Zilla::Plugin::Prereqs" : "5.006", + "Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "0.1.4", + "Dist::Zilla::Plugin::PruneCruft" : "5.006", + "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.131500", + "Dist::Zilla::Plugin::ReadmeFromPod" : "0.21", + "Dist::Zilla::Plugin::ReportVersions::Tiny" : "1.10", + "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", + "Dist::Zilla::Plugin::Test::Compile::PerFile" : "0.001001", + "Dist::Zilla::Plugin::Test::Kwalitee" : "2.07", + "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000005", + "Dist::Zilla::Plugin::Test::Perl::Critic" : "2.112410", + "Dist::Zilla::Plugin::TestRelease" : "5.006", + "Dist::Zilla::Plugin::Twitter" : "0.023", + "Dist::Zilla::Plugin::UploadToCPAN" : "5.006", + "Dist::Zilla::PluginBundle::Author::KENTNL" : "2.002001", "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "1.7.2", - "Dist::Zilla::Role::Plugin" : "4.300039", + "Dist::Zilla::Role::Plugin" : "5.006", "File::Copy::Recursive" : "0.38", - "File::Spec" : "3.44", - "IO::Handle" : "1.35", - "IPC::Open3" : "1.15", "List::UtilsBy" : "0.09", - "Module::Build" : "0.4007", - "Moose" : "2.1005", - "Moose::Role" : "2.1005", - "MooseX::AttributeShortcuts" : "0.021", - "Path::FindDev" : "0.3.1", - "Path::Tiny" : "0.034", - "Pod::Coverage::TrustPod" : "0.100002", - "Test::CPAN::Changes" : "0.23", + "Module::Build" : "0.4200", + "Moose" : "2.1106", + "Moose::Role" : "2.1106", + "MooseX::AttributeShortcuts" : "0.022", + "Path::FindDev" : "0.4.2", + "Path::Tiny" : "0.044", + "Pod::Coverage::TrustPod" : "0.100003", + "Test::CPAN::Changes" : "0.25", "Test::CPAN::Meta" : "0.23", - "Test::Kwalitee" : "1.14", - "Test::More" : "0.98", + "Test::Kwalitee" : "1.17", + "Test::More" : "1.001002", "Test::Pod" : "1.48", "Test::Pod::Coverage" : "1.08", "lib" : "0.63", - "perl" : "NA(skipped: perl)", "strict" : "1.08", "version" : "0.9904", - "warnings" : "1.18" + "warnings" : "1.20" }, "perl" : { - "original" : "v5.19.3", + "original" : "v5.19.5", "qv" : 1, "version" : [ 5, 19, - 3 + 5 ] }, "perl-config" : { - "gccversion" : "4.7.2", + "gccversion" : "4.7.3", "myarchname" : "x86_64-linux", "osname" : "linux" }, "platform" : "linux", - "uname" : "Linux 3.11.1-gentoo x86_64 GenuineIntel GNU/Linux" + "uname" : "Linux 3.12.0-gentoo x86_64 GenuineIntel GNU/Linux" }, "x_Dist_Zilla" : { "perl" : { - "version" : "5.019003" + "version" : "5.019005" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@Author::KENTNL/Git::NextVersion", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::KENTNL/MetaConfig", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::KENTNL/GithubMeta", - "version" : "0.38" + "version" : "0.42" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -201,57 +275,57 @@ } }, "name" : "@Author::KENTNL/MetaData::BuiltWith", - "version" : "0.03000100" + "version" : "0.04000000" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "name" : "@Author::KENTNL/Git::GatherDir", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::KENTNL/License", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::KENTNL/MetaJSON", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::KENTNL/MetaYAML", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::KENTNL/Manifest", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@Author::KENTNL/MetaTests", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::KENTNL/PodCoverageTests", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::KENTNL/PodSyntaxTests", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", "name" : "@Author::KENTNL/ReportVersions::Tiny", - "version" : "1.09" + "version" : "1.10" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", "name" : "@Author::KENTNL/Test::Kwalitee", - "version" : "2.06" + "version" : "2.07" }, { "class" : "Dist::Zilla::Plugin::EOLTests", @@ -264,19 +338,26 @@ "version" : "2.000005" }, { - "class" : "Dist::Zilla::Plugin::Test::Compile", + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : "@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM", + "version" : "5.006" + }, + { + "class" : "Dist::Zilla::Plugin::Test::Compile::PerFile", "config" : { - "Dist::Zilla::Plugin::Test::Compile" : { - "module_finder" : [ - ":InstallModules" + "Dist::Zilla::Plugin::Test::Compile::PerFile" : { + "file" : [ + "lib/Dist/Zilla/Role/Bootstrap.pm" ], - "script_finder" : [ - ":ExecFiles" - ] + "path_translator" : "base64_filter", + "prefix" : "t/00-compile", + "skip" : [], + "test_template" : "01-basic.t.tpl", + "xt_mode" : null } }, - "name" : "@Author::KENTNL/Test::Compile", - "version" : "2.033" + "name" : "@Author::KENTNL/Test::Compile::PerFile", + "version" : "0.001001" }, { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", @@ -286,70 +367,164 @@ { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::KENTNL/PruneCruft", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::KENTNL/ManifestSkip", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@Author::KENTNL/PkgVersion", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", + "config" : { + "Dist::Zilla::Plugin::PodWeaver" : { + "finder" : [ + ":InstallModules", + ":ExecFiles" + ], + "plugins" : [ + { + "class" : "Pod::Weaver::Plugin::EnsurePod5", + "name" : "@CorePrep/EnsurePod5", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Plugin::H1Nester", + "name" : "@CorePrep/H1Nester", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Plugin::Encoding", + "name" : "-Encoding", + "version" : "0.02" + }, + { + "class" : "Pod::Weaver::Section::Name", + "name" : "Name", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Version", + "name" : "Version", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "prelude", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "SYNOPSIS", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "DESCRIPTION", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "OVERVIEW", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "REQUIRES", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "METHODS", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "ATTRIBUTES", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "PRIVATE_ATTRIBUTES", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "PRIVATE_METHODS", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "PRIVATE_FUNCTIONS", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Leftovers", + "name" : "Leftovers", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "postlude", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Authors", + "name" : "Authors", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Legal", + "name" : "Legal", + "version" : "4.004" + } + ] + } + }, "name" : "@Author::KENTNL/PodWeaver", - "version" : "3.101642" + "version" : "4.002" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::KENTNL/NextRelease", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::KENTNL/AutoPrereqs", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", - "type" : "requires" - } - }, - "name" : "@Author::KENTNL/Prereqs/BundleDevelNeeds", - "version" : "4.300039" - }, - { - "class" : "Dist::Zilla::Plugin::Prereqs", - "config" : { - "Dist::Zilla::Plugin::Prereqs" : { - "phase" : "develop", - "type" : "recommends" + "type" : "suggests" } }, - "name" : "@Author::KENTNL/Prereqs/BundleDevelRecommends", - "version" : "4.300039" + "name" : "@Author::KENTNL/Prereqs/BundleDevelSuggests", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "develop", - "type" : "suggests" + "type" : "requires" } }, - "name" : "@Author::KENTNL/Prereqs/BundleDevelSuggests", - "version" : "4.300039" + "name" : "@Author::KENTNL/Prereqs/BundleDevelRequires", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl", "name" : "@Author::KENTNL/Author::KENTNL::MinimumPerl", - "version" : "1.8.3" + "version" : "2.002001" }, { "class" : "Dist::Zilla::Plugin::Authority", @@ -359,12 +534,12 @@ { "class" : "Dist::Zilla::Plugin::ModuleBuild", "name" : "@Author::KENTNL/ModuleBuild", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ReadmeFromPod", "name" : "@Author::KENTNL/ReadmeFromPod", - "version" : "0.18" + "version" : "0.21" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -379,52 +554,52 @@ { "class" : "Dist::Zilla::Plugin::CheckExtraTests", "name" : "@Author::KENTNL/CheckExtraTests", - "version" : "0.011" + "version" : "0.015" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::KENTNL/TestRelease", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::KENTNL/ConfirmRelease", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@Author::KENTNL/Git::Check", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@Author::KENTNL/Git::Tag/tag_master", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@Author::KENTNL/Git::Commit", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::Git::CommitBuild", "name" : "@Author::KENTNL/Git::CommitBuild", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@Author::KENTNL/Git::Tag/tag_release", - "version" : "2.014" + "version" : "2.017" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::KENTNL/UploadToCPAN", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Twitter", "name" : "@Author::KENTNL/Twitter", - "version" : "0.021" + "version" : "0.023" }, { "class" : "Dist::Zilla::Plugin::Prereqs::MatchInstalled", @@ -467,7 +642,18 @@ } }, "name" : "@Author::KENTNL/Prereqs::MatchInstalled", - "version" : "0.1.2" + "version" : "0.1.4" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs", + "config" : { + "Dist::Zilla::Plugin::Prereqs" : { + "phase" : "develop", + "type" : "requires" + } + }, + "name" : "@Author::KENTNL/::Role::BundleDeps", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -478,37 +664,37 @@ } }, "name" : "Prereqs", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.300039" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.300039" + "version" : "5.006" } ], "zilla" : { @@ -516,7 +702,7 @@ "config" : { "is_trial" : "0" }, - "version" : "4.300039" + "version" : "5.006" } }, "x_authority" : "cpan:KENTNL" diff --git a/META.yml b/META.yml index 6a2f833..c7e9589 100644 --- a/META.yml +++ b/META.yml @@ -8,17 +8,14 @@ build_requires: Dist::Zilla::MVP::Assembler::Zilla: 0 Dist::Zilla::MVP::Section: 0 File::Copy::Recursive: 0 - File::Spec: 0 - IO::Handle: 0 - IPC::Open3: 0 - Module::Build: 0.4007 + Module::Build: 0.4200 Moose: 0 Path::FindDev: 0 - Test::More: 0.98 + Test::More: 1.001002 configure_requires: - Module::Build: 0.4007 + Module::Build: 0.4200 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132661' +generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,7 +24,7 @@ name: Dist-Zilla-Role-Bootstrap provides: Dist::Zilla::Role::Bootstrap: file: lib/Dist/Zilla/Role/Bootstrap.pm - version: v0.2.1 + version: v0.2.2 requires: Carp: 0 Dist::Zilla::Role::Plugin: 0 @@ -36,7 +33,7 @@ requires: MooseX::AttributeShortcuts: 0 Path::Tiny: 0 lib: 0 - perl: v5.10.0 + perl: 5.006 strict: 0 version: 0 warnings: 0 @@ -44,73 +41,111 @@ resources: bugtracker: https://github.com/kentfredric/Dist-Zilla-Role-Bootstrap/issues homepage: https://github.com/kentfredric/Dist-Zilla-Role-Bootstrap repository: https://github.com/kentfredric/Dist-Zilla-Role-Bootstrap.git -version: 0.2.1 +version: 0.2.2 x_BuiltWith: modules: Carp: 1.32 - Dist::Zilla::Chrome::Test: 4.300039 - Dist::Zilla::Dist::Builder: 4.300039 - Dist::Zilla::MVP::Assembler::Zilla: 4.300039 - Dist::Zilla::MVP::Section: 4.300039 - Dist::Zilla::PluginBundle::Author::KENTNL: 1.8.3 + Dist::Zilla::Chrome::Test: 5.006 + Dist::Zilla::Dist::Builder: 5.006 + Dist::Zilla::MVP::Assembler::Zilla: 5.006 + Dist::Zilla::MVP::Section: 5.006 + Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl: 2.002001 + Dist::Zilla::Plugin::Authority: 1.006 + Dist::Zilla::Plugin::AutoPrereqs: 5.006 + Dist::Zilla::Plugin::CheckExtraTests: 0.015 + Dist::Zilla::Plugin::ConfirmRelease: 5.006 + Dist::Zilla::Plugin::EOLTests: 0.02 + Dist::Zilla::Plugin::Git::Check: 2.017 + Dist::Zilla::Plugin::Git::Commit: 2.017 + Dist::Zilla::Plugin::Git::CommitBuild: 2.017 + Dist::Zilla::Plugin::Git::GatherDir: 2.017 + Dist::Zilla::Plugin::Git::NextVersion: 2.017 + Dist::Zilla::Plugin::Git::Tag: 2.017 + Dist::Zilla::Plugin::GithubMeta: 0.42 + Dist::Zilla::Plugin::License: 5.006 + Dist::Zilla::Plugin::Manifest: 5.006 + Dist::Zilla::Plugin::ManifestSkip: 5.006 + Dist::Zilla::Plugin::MetaConfig: 5.006 + Dist::Zilla::Plugin::MetaData::BuiltWith: 0.04000000 + Dist::Zilla::Plugin::MetaJSON: 5.006 + Dist::Zilla::Plugin::MetaProvides::Package: 1.15000000 + Dist::Zilla::Plugin::MetaTests: 5.006 + Dist::Zilla::Plugin::MetaYAML: 5.006 + Dist::Zilla::Plugin::ModuleBuild: 5.006 + Dist::Zilla::Plugin::NextRelease: 5.006 + Dist::Zilla::Plugin::PkgVersion: 5.006 + Dist::Zilla::Plugin::PodCoverageTests: 5.006 + Dist::Zilla::Plugin::PodSyntaxTests: 5.006 + Dist::Zilla::Plugin::PodWeaver: 4.002 + Dist::Zilla::Plugin::Prereqs: 5.006 + Dist::Zilla::Plugin::Prereqs::MatchInstalled: 0.1.4 + Dist::Zilla::Plugin::PruneCruft: 5.006 + Dist::Zilla::Plugin::ReadmeAnyFromPod: 0.131500 + Dist::Zilla::Plugin::ReadmeFromPod: 0.21 + Dist::Zilla::Plugin::ReportVersions::Tiny: 1.10 + Dist::Zilla::Plugin::Test::CPAN::Changes: 0.008 + Dist::Zilla::Plugin::Test::Compile::PerFile: 0.001001 + Dist::Zilla::Plugin::Test::Kwalitee: 2.07 + Dist::Zilla::Plugin::Test::MinimumVersion: 2.000005 + Dist::Zilla::Plugin::Test::Perl::Critic: 2.112410 + Dist::Zilla::Plugin::TestRelease: 5.006 + Dist::Zilla::Plugin::Twitter: 0.023 + Dist::Zilla::Plugin::UploadToCPAN: 5.006 + Dist::Zilla::PluginBundle::Author::KENTNL: 2.002001 Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 1.7.2 - Dist::Zilla::Role::Plugin: 4.300039 + Dist::Zilla::Role::Plugin: 5.006 File::Copy::Recursive: 0.38 - File::Spec: 3.44 - IO::Handle: 1.35 - IPC::Open3: 1.15 List::UtilsBy: 0.09 - Module::Build: 0.4007 - Moose: 2.1005 - Moose::Role: 2.1005 - MooseX::AttributeShortcuts: 0.021 - Path::FindDev: 0.3.1 - Path::Tiny: 0.034 - Pod::Coverage::TrustPod: 0.100002 - Test::CPAN::Changes: 0.23 + Module::Build: 0.4200 + Moose: 2.1106 + Moose::Role: 2.1106 + MooseX::AttributeShortcuts: 0.022 + Path::FindDev: 0.4.2 + Path::Tiny: 0.044 + Pod::Coverage::TrustPod: 0.100003 + Test::CPAN::Changes: 0.25 Test::CPAN::Meta: 0.23 - Test::Kwalitee: 1.14 - Test::More: 0.98 + Test::Kwalitee: 1.17 + Test::More: 1.001002 Test::Pod: 1.48 Test::Pod::Coverage: 1.08 lib: 0.63 - perl: 'NA(skipped: perl)' strict: 1.08 version: 0.9904 - warnings: 1.18 + warnings: 1.20 perl: - original: v5.19.3 + original: v5.19.5 qv: 1 version: - 5 - 19 - - 3 + - 5 perl-config: - gccversion: 4.7.2 + gccversion: 4.7.3 myarchname: x86_64-linux osname: linux platform: linux - uname: 'Linux 3.11.1-gentoo x86_64 GenuineIntel GNU/Linux' + uname: 'Linux 3.12.0-gentoo x86_64 GenuineIntel GNU/Linux' x_Dist_Zilla: perl: - version: 5.019003 + version: 5.019005 plugins: - class: Dist::Zilla::Plugin::Git::NextVersion name: '@Author::KENTNL/Git::NextVersion' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::KENTNL/MetaConfig' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::GithubMeta name: '@Author::KENTNL/GithubMeta' - version: 0.38 + version: 0.42 - class: Dist::Zilla::Plugin::FinderCode name: '@Author::KENTNL/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -137,47 +172,47 @@ x_Dist_Zilla: - '-i' uname_call: uname name: '@Author::KENTNL/MetaData::BuiltWith' - version: 0.03000100 + version: 0.04000000 - class: Dist::Zilla::Plugin::Git::GatherDir name: '@Author::KENTNL/Git::GatherDir' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::License name: '@Author::KENTNL/License' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::KENTNL/MetaJSON' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::KENTNL/MetaYAML' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::Manifest name: '@Author::KENTNL/Manifest' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::MetaTests name: '@Author::KENTNL/MetaTests' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::KENTNL/PodCoverageTests' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::KENTNL/PodSyntaxTests' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::ReportVersions::Tiny name: '@Author::KENTNL/ReportVersions::Tiny' - version: 1.09 + version: 1.10 - class: Dist::Zilla::Plugin::Test::Kwalitee name: '@Author::KENTNL/Test::Kwalitee' - version: 2.06 + version: 2.07 - class: Dist::Zilla::Plugin::EOLTests name: '@Author::KENTNL/EOLTests' @@ -187,15 +222,22 @@ x_Dist_Zilla: name: '@Author::KENTNL/Test::MinimumVersion' version: 2.000005 - - class: Dist::Zilla::Plugin::Test::Compile + class: Dist::Zilla::Plugin::FinderCode + name: '@Author::KENTNL/Test::Compile::PerFile/AUTOVIV/:InstallModulesPM' + version: 5.006 + - + class: Dist::Zilla::Plugin::Test::Compile::PerFile config: - Dist::Zilla::Plugin::Test::Compile: - module_finder: - - ':InstallModules' - script_finder: - - ':ExecFiles' - name: '@Author::KENTNL/Test::Compile' - version: 2.033 + Dist::Zilla::Plugin::Test::Compile::PerFile: + file: + - lib/Dist/Zilla/Role/Bootstrap.pm + path_translator: base64_filter + prefix: t/00-compile + skip: [] + test_template: 01-basic.t.tpl + xt_mode: ~ + name: '@Author::KENTNL/Test::Compile::PerFile' + version: 0.001001 - class: Dist::Zilla::Plugin::Test::Perl::Critic name: '@Author::KENTNL/Test::Perl::Critic' @@ -203,55 +245,129 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::KENTNL/PruneCruft' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::ManifestSkip name: '@Author::KENTNL/ManifestSkip' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::PkgVersion name: '@Author::KENTNL/PkgVersion' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::PodWeaver + config: + Dist::Zilla::Plugin::PodWeaver: + finder: + - ':InstallModules' + - ':ExecFiles' + plugins: + - + class: Pod::Weaver::Plugin::EnsurePod5 + name: '@CorePrep/EnsurePod5' + version: 4.004 + - + class: Pod::Weaver::Plugin::H1Nester + name: '@CorePrep/H1Nester' + version: 4.004 + - + class: Pod::Weaver::Plugin::Encoding + name: '-Encoding' + version: 0.02 + - + class: Pod::Weaver::Section::Name + name: Name + version: 4.004 + - + class: Pod::Weaver::Section::Version + name: Version + version: 4.004 + - + class: Pod::Weaver::Section::Region + name: prelude + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: SYNOPSIS + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: DESCRIPTION + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: OVERVIEW + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: REQUIRES + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: METHODS + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: ATTRIBUTES + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: PRIVATE_ATTRIBUTES + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: PRIVATE_METHODS + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: PRIVATE_FUNCTIONS + version: 4.004 + - + class: Pod::Weaver::Section::Leftovers + name: Leftovers + version: 4.004 + - + class: Pod::Weaver::Section::Region + name: postlude + version: 4.004 + - + class: Pod::Weaver::Section::Authors + name: Authors + version: 4.004 + - + class: Pod::Weaver::Section::Legal + name: Legal + version: 4.004 name: '@Author::KENTNL/PodWeaver' - version: 3.101642 + version: 4.002 - class: Dist::Zilla::Plugin::NextRelease name: '@Author::KENTNL/NextRelease' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::KENTNL/AutoPrereqs' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop - type: requires - name: '@Author::KENTNL/Prereqs/BundleDevelNeeds' - version: 4.300039 - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: develop - type: recommends - name: '@Author::KENTNL/Prereqs/BundleDevelRecommends' - version: 4.300039 + type: suggests + name: '@Author::KENTNL/Prereqs/BundleDevelSuggests' + version: 5.006 - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop - type: suggests - name: '@Author::KENTNL/Prereqs/BundleDevelSuggests' - version: 4.300039 + type: requires + name: '@Author::KENTNL/Prereqs/BundleDevelRequires' + version: 5.006 - class: Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl name: '@Author::KENTNL/Author::KENTNL::MinimumPerl' - version: 1.8.3 + version: 2.002001 - class: Dist::Zilla::Plugin::Authority name: '@Author::KENTNL/Authority' @@ -259,11 +375,11 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::ModuleBuild name: '@Author::KENTNL/ModuleBuild' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::ReadmeFromPod name: '@Author::KENTNL/ReadmeFromPod' - version: 0.18 + version: 0.21 - class: Dist::Zilla::Plugin::ReadmeAnyFromPod name: '@Author::KENTNL/ReadmeAnyFromPod' @@ -275,43 +391,43 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::CheckExtraTests name: '@Author::KENTNL/CheckExtraTests' - version: 0.011 + version: 0.015 - class: Dist::Zilla::Plugin::TestRelease name: '@Author::KENTNL/TestRelease' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::KENTNL/ConfirmRelease' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::Git::Check name: '@Author::KENTNL/Git::Check' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::Git::Tag name: '@Author::KENTNL/Git::Tag/tag_master' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::Git::Commit name: '@Author::KENTNL/Git::Commit' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::Git::CommitBuild name: '@Author::KENTNL/Git::CommitBuild' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::Git::Tag name: '@Author::KENTNL/Git::Tag/tag_release' - version: 2.014 + version: 2.017 - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::KENTNL/UploadToCPAN' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::Twitter name: '@Author::KENTNL/Twitter' - version: 0.021 + version: 0.023 - class: Dist::Zilla::Plugin::Prereqs::MatchInstalled config: @@ -347,7 +463,15 @@ x_Dist_Zilla: - Test::More - Dist::Zilla::PluginBundle::Author::KENTNL name: '@Author::KENTNL/Prereqs::MatchInstalled' - version: 0.1.2 + version: 0.1.4 + - + class: Dist::Zilla::Plugin::Prereqs + config: + Dist::Zilla::Plugin::Prereqs: + phase: develop + type: requires + name: '@Author::KENTNL/::Role::BundleDeps' + version: 5.006 - class: Dist::Zilla::Plugin::Prereqs config: @@ -355,34 +479,34 @@ x_Dist_Zilla: phase: runtime type: requires name: Prereqs - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.300039 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.300039 + version: 5.006 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.300039 + version: 5.006 x_authority: cpan:KENTNL diff --git a/README b/README index a4e4462..c5962e9 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Dist::Zilla::Role::Bootstrap - Shared logic for bootstrap things. VERSION - version 0.2.1 + version 0.2.2 SYNOPSIS For consuming plugins: diff --git a/dist.ini b/dist.ini index 12df089..b58497f 100644 --- a/dist.ini +++ b/dist.ini @@ -11,6 +11,7 @@ copyright_holder = Kent Fredric <kentfred...@gmail.com> [@Author::KENTNL] :version = 1.2.0 git_versions = 1 +no_fiveten = 1 ; version_major = 0 ; version_minor = 1 ; the following data denotes when this minor was minted diff --git a/lib/Dist/Zilla/Role/Bootstrap.pm b/lib/Dist/Zilla/Role/Bootstrap.pm index 88f5dc7..1a7d456 100644 --- a/lib/Dist/Zilla/Role/Bootstrap.pm +++ b/lib/Dist/Zilla/Role/Bootstrap.pm @@ -6,7 +6,7 @@ BEGIN { $Dist::Zilla::Role::Bootstrap::AUTHORITY = 'cpan:KENTNL'; } { - $Dist::Zilla::Role::Bootstrap::VERSION = '0.2.1'; + $Dist::Zilla::Role::Bootstrap::VERSION = '0.2.2'; } # ABSTRACT: Shared logic for bootstrap things. @@ -194,7 +194,7 @@ __END__ =pod -=encoding utf-8 +=encoding UTF-8 =head1 NAME @@ -202,7 +202,7 @@ Dist::Zilla::Role::Bootstrap - Shared logic for bootstrap things. =head1 VERSION -version 0.2.1 +version 0.2.2 =head1 SYNOPSIS diff --git a/maint-travis-ci/before_script.pl b/maint-travis-ci/before_script.pl new file mode 100644 index 0000000..f852b51 --- /dev/null +++ b/maint-travis-ci/before_script.pl @@ -0,0 +1,31 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +use FindBin; +use lib "$FindBin::Bin/lib"; +use tools; + +if ( not env_exists('STERILIZE_ENV') ) { + diag("\e[31mSTERILIZE_ENV \e[32munset\e[0m, skipping"); + exit 0; +} +if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) { + diag("before_script skipped, TRAVIS_BRANCH=master"); + exit 0; +} +else { + if ( -e './Build.PL' ) { + safe_exec( $^X, './Build.PL' ); + safe_exec("./Build"); + exit 0; + } + if ( -e './Makefile.PL' ) { + safe_exec( $^X, './Makefile.PL' ); + safe_exec("make"); + exit 0; + } + +} + diff --git a/maint-travis-ci/install_deps.pl b/maint-travis-ci/install_deps.pl new file mode 100644 index 0000000..58e2b22 --- /dev/null +++ b/maint-travis-ci/install_deps.pl @@ -0,0 +1,67 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use utf8; + +use FindBin; +use lib "$FindBin::Bin/lib"; +use tools; + +if ( not env_exists('TRAVIS') ) { + diag('Is not running under travis!'); + exit 1; +} +if ( not env_exists('STERILIZE_ENV') ) { + diag("\e[31STERILIZE_ENV is not set, skipping, because this is probably Travis's Default ( and unwanted ) target"); + exit 0; +} +if ( env_is( 'TRAVIS_BRANCH', 'master' ) and env_is( 'TRAVIS_PERL_VERSION', '5.8' ) ) { + diag("\e[31minstalldeps skipped on 5.8 on master, because \@Git, a dependency of \@Author::KENTNL, is unavailble on 5.8\e[0m"); + exit 0; +} +my (@params) = qw[ --quiet --notest --mirror http://cpan.metacpan.org/ --no-man-pages ]; +if ( env_true('DEVELOPER_DEPS') ) { + push @params, '--dev'; +} +if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) { + cpanm( @params, 'Dist::Zilla', 'Capture::Tiny', 'Pod::Weaver' ); + cpanm( @params, '--dev', 'Dist::Zilla~>5.002', 'Pod::Weaver' ); + safe_exec( 'git', 'config', '--global', 'user.email', 'kentfredric+travi...@gmail.com' ); + safe_exec( 'git', 'config', '--global', 'user.name', 'Travis CI ( On behalf of Kent Fredric )' ); + + my $stdout = capture_stdout { + safe_exec( 'dzil', 'authordeps', '--missing' ); + }; + + if ( $stdout !~ /^\s*$/msx ) { + cpanm( @params, split /\n/, $stdout ); + } + $stdout = capture_stdout { + safe_exec( 'dzil', 'listdeps', '--missing' ); + }; + + if ( $stdout !~ /^\s*$/msx ) { + cpanm( @params, split /\n/, $stdout ); + } +} +else { + cpanm( @params, '--installdeps', '.' ); + if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) { + my $prereqs = parse_meta_json()->effective_prereqs; + my $reqs = $prereqs->requirements_for( 'develop', 'requires' ); + my @wanted; + + for my $want ( $reqs->required_modules ) { + my $module_requirement = $reqs->requirements_for_module($want); + if ( $module_requirement =~ /^\d/ ) { + push @wanted, $want . '~>=' . $module_requirement; + next; + } + push @wanted, $want . '~' . $module_requirement; + } + cpanm( @params, @wanted ); + + } +} + +exit 0; diff --git a/maint-travis-ci/lib/tools.pm b/maint-travis-ci/lib/tools.pm new file mode 100644 index 0000000..0da1620 --- /dev/null +++ b/maint-travis-ci/lib/tools.pm @@ -0,0 +1,173 @@ +use strict; +use warnings; + +package tools; + +use Cwd qw(cwd); +use Config; + +sub diag { + my $handle = \*STDERR; + for (@_) { + print {$handle} $_; + } + print {$handle} "\n"; +} + +sub env_exists { + return exists $ENV{ $_[0] }; +} + +sub env_true { + return ( env_exists( $_[0] ) and $ENV{ $_[0] } ); +} +sub env_is { return ( env_exists( $_[0] ) and $ENV{ $_[0] } eq $_[1] ) } + +sub safe_exec_nonfatal { + my ( $command, @params ) = @_; + diag("running $command @params"); + my $exit = system( $command, @params ); + if ( $exit != 0 ) { + my $low = $exit & 0b11111111; + my $high = $exit >> 8; + warn "$command failed: $? $! and exit = $high , flags = $low"; + if ( $high != 0 ) { + return $high; + } + else { + return 1; + } + + } + return 0; +} + +sub safe_exec { + my ( $command, @params ) = @_; + my $exit_code = safe_exec_nonfatal( $command, @params ); + if ( $exit_code != 0 ) { + exit $exit_code; + } + return 1; +} + +sub cpanm { + my (@params) = @_; + my $exit_code = safe_exec_nonfatal( 'cpanm', @params ); + if ( $exit_code != 0 ) { + safe_exec( 'tail', '-n', '200', '/home/travis/.cpanm/build.log' ); + exit $exit_code; + } + return 1; +} + +sub git { + my (@params) = @_; + safe_exec( 'git', @params ); +} + +my $got_fixes; + +sub get_fixes { + return if $got_fixes; + my $cwd = cwd(); + chdir '/tmp'; + safe_exec( 'git', 'clone', 'https://github.com/kentfredric/cpan-fixes.git' ); + chdir $cwd; + $got_fixes = 1; +} + +my $got_sterile; + +sub get_sterile { + return if $got_sterile; + my $cwd = cwd(); + chdir '/tmp'; + my $version = $]; + safe_exec( + 'git', 'clone', '--depth=1', + '--branch=' . $version, + 'https://github.com/kentfredric/perl5-sterile.git', + 'perl5-sterile' + ); + chdir $cwd; + $got_sterile = 1; +} +my $fixed_up; + +sub fixup_sterile { + return if $fixed_up; + get_sterile(); + my $cwd = cwd(); + chdir '/tmp/perl5-sterile'; + safe_exec( 'bash', 'patch_fixlist.sh', '/home/travis/perl5/perlbrew/perls/' . $ENV{TRAVIS_PERL_VERSION} ); + chdir $cwd; + $fixed_up = 1; +} +my $sterile_deployed; + +sub deploy_sterile { + return if $sterile_deployed; + fixup_sterile(); + for my $key ( keys %Config ) { + next unless $key =~ /(lib|arch)exp$/; + my $value = $Config{$key}; + next unless defined $value; + next unless length $value; + my $clean_path = '/tmp/perl5-sterile/' . $key; + diag("\e[32m?$clean_path\e[0m"); + if ( -e $clean_path and -d $clean_path ) { + diag("\e[31mRsyncing over $value\e[0m"); + $clean_path =~ s{/?$}{/}; + $value =~ s{/?$}{/}; + safe_exec( 'rsync', '-a', '--delete-delay', $clean_path, $value ); + } + } +} + +sub cpanm_fix { + my (@params) = @_; + get_fixes(); + my $cwd = cwd(); + chdir '/tmp/cpan-fixes'; + cpanm(@params); + chdir $cwd; +} + +sub parse_meta_json { + $_[0] ||= 'META.json'; + require CPAN::Meta; + return CPAN::Meta->load_file( $_[0] ); +} + +sub capture_stdout(&) { + require Capture::Tiny; + goto &Capture::Tiny::capture_stdout; +} + +sub import { + my ( $self, @args ) = @_; + + my $caller = [caller]->[0]; + + my $caller_stash = do { + no strict 'refs'; + *{ $caller . '::' }; + }; + + $caller_stash->{diag} = *diag; + $caller_stash->{env_exists} = *env_exists; + $caller_stash->{env_true} = *env_true; + $caller_stash->{env_is} = *env_is; + $caller_stash->{safe_exec_nonfatal} = *safe_exec_nonfatal; + $caller_stash->{safe_exec} = *safe_exec; + $caller_stash->{cpanm} = *cpanm; + $caller_stash->{git} = *git; + $caller_stash->{get_fixes} = *get_fixes; + $caller_stash->{cpanm_fix} = *cpanm_fix; + $caller_stash->{parse_meta_json} = *parse_meta_json; + $caller_stash->{capture_stdout} = *capture_stdout; + $caller_stash->{deploy_sterile} = *deploy_sterile; +} + +1; diff --git a/maint-travis-ci/merge_travis_yml.pl b/maint-travis-ci/merge_travis_yml.pl index fc33dca..3dd5ae6 100644 --- a/maint-travis-ci/merge_travis_yml.pl +++ b/maint-travis-ci/merge_travis_yml.pl @@ -12,16 +12,16 @@ my $template = find_dev('./')->child('.travis-template.yml'); my $target = find_dev('./')->child('.travis.yml'); if ( -f -e $template ) { - require YAML::Loader; - my $loader = YAML::Loader->new(); - $hashref = $loader->load( $template->slurp ); + require YAML::Loader; + my $loader = YAML::Loader->new(); + $hashref = $loader->load( $template->slurp ); } if ( not exists $hashref->{language} ) { - $hashref->{language} = 'perl'; + $hashref->{language} = 'perl'; } if ( not exists $hashref->{perl} ) { - $hashref->{perl} = [ '5.18', '5.19' ]; + $hashref->{perl} = [ '5.18', '5.19' ]; } use Data::Dump qw(pp); diff --git a/maint-travis-ci/report_fail_ctx.pl b/maint-travis-ci/report_fail_ctx.pl new file mode 100644 index 0000000..29b8e21 --- /dev/null +++ b/maint-travis-ci/report_fail_ctx.pl @@ -0,0 +1,13 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use utf8; + +use FindBin; +use lib "$FindBin::Bin/lib"; +use tools; + +diag("\e[31mLast 1000 lines of cpanm build log\e[0m"); +safe_exec( 'tail', '-n', '1000', $ENV{HOME} . '/.cpanm/build.log' ); + diff --git a/maint-travis-ci/script.pl b/maint-travis-ci/script.pl new file mode 100644 index 0000000..67ae282 --- /dev/null +++ b/maint-travis-ci/script.pl @@ -0,0 +1,41 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use utf8; + +use FindBin; +use lib "$FindBin::Bin/lib"; +use tools; + +if ( not env_exists('TRAVIS') ) { + diag('Is not running under travis!'); + exit 1; +} +if ( not env_exists('STERILIZE_ENV') ) { + diag("\e[31mSTERILIZE_ENV is not set, skipping, because this is probably Travis's Default ( and unwanted ) target"); + exit 0; +} +if ( env_is( 'TRAVIS_BRANCH', 'master' ) and env_is( 'TRAVIS_PERL_VERSION', '5.8' ) ) { + diag("\e[31mscript skipped on 5.8 on master\e[32m, because \@Git, a dependency of \@Author::KENTNL, is unavailble on 5.8\e[0m"); + exit 0; +} +if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) { + my $xtest = safe_exec_nonfatal( 'dzil', 'xtest' ); + my $test = safe_exec_nonfatal( 'dzil', 'test' ); + if ( $test != 0 ) { + exit $test; + } + if ( $xtest != 0 ) { + exit $xtest; + } + exit 0; +} +else { + my @paths = './t'; + + if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) { + push @paths, './xt'; + } + safe_exec( 'prove', '--blib', '--shuffle', '--color', '--recurse', '--timer', '--jobs', 30, @paths ); +} diff --git a/maint-travis-ci/sterilize_env.pl b/maint-travis-ci/sterilize_env.pl index df4c9de..0d51e86 100644 --- a/maint-travis-ci/sterilize_env.pl +++ b/maint-travis-ci/sterilize_env.pl @@ -1,31 +1,45 @@ #!/usr/bin/env perl use strict; use warnings; -use utf8; -sub diag { - print STDERR @_; - print STDERR "\n"; -} +use FindBin; +use lib "$FindBin::Bin/lib"; +use tools; + +my $corelists = "$FindBin::Bin/corelist-data"; -if ( not exists $ENV{STERILIZE_ENV} ) { - diag('STERILIZE_ENV unset'); - exit 0; +sub no_sterile_warning { + if ( env_is( 'TRAVIS_PERL_VERSION', '5.8' ) + or env_is( 'TRAVIS_PERL_VERSION', '5.10' ) ) + { + diag("\e[31m TREE STERILIZATION IMPOSSIBLE <= 5.10\e[0m"); + diag("\e[32m ... because prior to 5.11.*, dual-life installed to \e[33mprivlib\e[0m"); + diag("\e[32m ... because prior to 5.11.*, \e[33m\@INC\e[32m order was \e[33mprivlib,sitelib\e[0m"); + diag("\e[32m ... whereas after to 5.11.*, \e[33m\@INC\e[32m order is \e[33msitelib,privlib\e[0m"); + diag("\e[32m ... and now most dual-life things simply install to \e[33msitelib\e[0m"); + diag("\e[34m ( However, there are still a few naughty CPAN modules that install to \e[33mprivlib\e[34m )"); + diag( + "\e[32m but the net effect of this is that installing \e[33mModule::Build 0.4007\e[32m which pulls \e[33mPerl::OSType\e[0m" + ); + diag("\e[32m and results in \e[33mPerl::OSType\e[32m being later removed \e[0m"); + diag("\e[32m leaving behind a broken \e[33mModule::Build 0.4007\e[32m\e[0m"); + diag("\e[34m Set \e[35m MAYBE_BREAK_MODULE_BUILD=1\e[34m if this is ok\e[0m"); + exit 0 unless env_true('MAYBE_BREAK_MODULE_BUILD'); + diag("\e[35m PROCEEDING\e[0m"); + } } -if ( $ENV{STERILIZE_ENV} < 1 ) { - diag('STERLIZIE_ENV < 1, Not Sterilizing'); - exit 0; +if ( not env_exists('STERILIZE_ENV') ) { + diag("\e[31STERILIZE_ENV is not set, skipping, because this is probably Travis's Default ( and unwanted ) target"); + exit 0; } -if ( not exists $ENV{TRAVIS} ) { - diag('Is not running under travis!'); - exit 1; +if ( not env_true('STERILIZE_ENV') ) { + diag('STERILIZE_ENV unset or false, not sterilizing'); + exit 0; } -for my $i (@INC) { - next if $i !~ /site/; - next if $i eq '.'; - diag( 'Sterilizing files in ' . $i ); - system( 'find', $i, '-type', 'f', '-delete' ); - diag( 'Sterilizing dirs in ' . $i ); - system( 'find', $i, '-depth', '-type', 'd', '-delete' ); + +if ( not env_true('TRAVIS') ) { + diag('Is not running under travis!'); + exit 1; } +deploy_sterile(); diff --git a/maint-travis-ci/sync_tree.pl b/maint-travis-ci/sync_tree.pl index 542d325..a9d60fa 100755 --- a/maint-travis-ci/sync_tree.pl +++ b/maint-travis-ci/sync_tree.pl @@ -1,7 +1,10 @@ #!/usr/bin/env perl use strict; use warnings; -use utf8; + +use FindBin; +use lib "$FindBin::Bin/lib"; +use tools; use Path::FindDev qw( find_dev ); my $root = find_dev('./'); @@ -9,16 +12,16 @@ my $root = find_dev('./'); chdir "$root"; sub git_subtree { - system( 'git', 'subtree', @_ ) == 0 or die "Git subtree had nonzero exit"; + safe_exec( 'git', 'subtree', @_ ); } my $travis = 'https://github.com/kentfredric/travis-scripts.git'; my $prefix = 'maint-travis-ci'; if ( not -d -e $root->child($prefix) ) { - git_subtree( 'add', '--prefix=' . $prefix, $travis, 'master' ); + git_subtree( 'add', '--prefix=' . $prefix, $travis, 'master' ); } else { - git_subtree( 'pull', '-m', 'Synchronise git subtree maint-travis-ci', '--prefix=' . $prefix, $travis, 'master' ); + git_subtree( 'pull', '-m', 'Synchronise git subtree maint-travis-ci', '--prefix=' . $prefix, $travis, 'master' ); } diff --git a/maint-travis-ci/yamls/sterile.mkdn b/maint-travis-ci/yamls/sterile.mkdn new file mode 100644 index 0000000..2091483 --- /dev/null +++ b/maint-travis-ci/yamls/sterile.mkdn @@ -0,0 +1,54 @@ +## ABOUT + + sterile.yaml + +## Tests + +### Version conformance tests + +Every version of Perl that can be tested on travis is tested. + + - perl: <V> + env: STERILIZE_ENV=0 + +This is to test simply that the code works on that platform + +### Installable tests + +This tests both the maximum and minimum perls on travis to ensure +that: + + a. All dependencies are installable on all versions of Perl + b. No dependencies are inherently required by the code which are not specified. + + - perl: <V> + env: STERILIZE_ENV=1 + +Tree sterilization occurs here to ensure that only the versions of things +that are provided by that version of perl exists prior to installing dependencies. + +### Pending upstream breakage + +This tests that of all the listed direct dependencies, that the code works as expected +after upgrading to the latest version of all direct dependencies. + +Presently this only runs on the newest `perl` on travis, because it is seemed that +if "-dev" versions are going to be a problem, they'll exhibit the same problems on all perls. + +Tree sterilization is not performed here, though may be in future, because that will reveal breakages +between downstream dependencies. + + - perl: <V> + env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + +### Author Testing + +This is the most dependency expensive method, as this mode pulls in all dependencies +listed in `develop.requires`, and additionally runs `xt/*` + +This is presently only performed on the latest perl due to the time expensiveness +of this, requiring significantly more dependencies to perform tests. + + - perl: <V> + env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 + diff --git a/maint-travis-ci/yamls/sterile.yaml b/maint-travis-ci/yamls/sterile.yaml index df1af65..6f29405 100644 --- a/maint-travis-ci/yamls/sterile.yaml +++ b/maint-travis-ci/yamls/sterile.yaml @@ -1,15 +1,39 @@ language: perl -perl: - - "5.16" - - "5.14" - - "5.18" - - "5.19" -env: - matrix: - - STERILIZE_ENV=0 - - STERILIZE_ENV=1 +matrix: + include: + - perl: "5.8" + env: STERILIZE_ENV=0 + - perl: "5.10" + env: STERILIZE_ENV=0 + - perl: "5.12" + env: STERILIZE_ENV=0 + - perl: "5.14" + env: STERILIZE_ENV=0 + - perl: "5.16" + env: STERILIZE_ENV=0 + - perl: "5.18" + env: STERILIZE_ENV=0 + - perl: "5.19" + env: STERILIZE_ENV=0 + - perl: "5.12" + env: STERILIZE_ENV=1 + - perl: "5.19" + env: STERILIZE_ENV=1 + - perl: "5.19" + env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + - perl: "5.19" + env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 before_install: - - perl ./maint-travis-ci/sterilize_env.pl + - perlbrew list + - time perl ./maint-travis-ci/sterilize_env.pl +install: + - time perl ./maint-travis-ci/install_deps.pl +before_script: + - time perl ./maint-travis-ci/before_script.pl +script: + - time perl ./maint-travis-ci/script.pl +after_failure: + - perl ./maint-travis-ci/report_fail_ctx.pl branches: only: - "build/master" diff --git a/maint-travis-ci/yamls/sterile2.yaml b/maint-travis-ci/yamls/sterile2.yaml new file mode 100644 index 0000000..9186391 --- /dev/null +++ b/maint-travis-ci/yamls/sterile2.yaml @@ -0,0 +1,44 @@ +language: perl +matrix: + include: + - perl: "5.8" + env: STERILIZE_ENV=0 + - perl: "5.10" + env: STERILIZE_ENV=0 + - perl: "5.12" + env: STERILIZE_ENV=0 + - perl: "5.14" + env: STERILIZE_ENV=0 + - perl: "5.16" + env: STERILIZE_ENV=0 + - perl: "5.18" + env: STERILIZE_ENV=0 + - perl: "5.19" + env: STERILIZE_ENV=0 + - perl: "5.8" + env: STERILIZE_ENV=1 + - perl: "5.10" + env: STERILIZE_ENV=1 + - perl: "5.19" + env: STERILIZE_ENV=1 + - perl: "5.19" + env: STERILIZE_ENV=0 DEVELOPER_DEPS=1 + - perl: "5.19" + env: STERILIZE_ENV=0 RELEASE_TESTING=1 AUTHOR_TESTING=1 +before_install: + - perlbrew list + - time perl ./maint-travis-ci/sterilize_env.pl +install: + - time perl ./maint-travis-ci/install_deps.pl +before_script: + - time perl ./maint-travis-ci/before_script.pl +script: + - time perl ./maint-travis-ci/script.pl +after_failure: + - perl ./maint-travis-ci/report_fail_ctx.pl +branches: + only: + - "master" + - "build/master" + - "releases" + diff --git a/t/00-compile.t b/t/00-compile.t deleted file mode 100644 index ddbcada..0000000 --- a/t/00-compile.t +++ /dev/null @@ -1,46 +0,0 @@ -use strict; -use warnings; - -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033 - -use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); - - - -my @module_files = ( - 'Dist/Zilla/Role/Bootstrap.pm' -); - - - -# no fake home requested - -use File::Spec; -use IPC::Open3; -use IO::Handle; - -my @warnings; -for my $lib (@module_files) -{ - # see L<perlfaq8/How can I capture STDERR from an external command?> - open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; - my $stderr = IO::Handle->new; - - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', '-e', "require q[$lib]"); - binmode $stderr, ':crlf' if $^O eq 'MSWin32'; - my @_warnings = <$stderr>; - waitpid($pid, 0); - is($? >> 8, 0, "$lib loaded ok"); - - if (@_warnings) - { - warn @_warnings; - push @warnings, @_warnings; - } -} - - - -is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING}; - - diff --git a/t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t b/t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t new file mode 100644 index 0000000..4233963 --- /dev/null +++ b/t/00-compile/lib_Dist_Zilla_Role_Bootstrap_pm.t @@ -0,0 +1,11 @@ +use strict; +use warnings; + +# This test was generated for <lib/Dist/Zilla/Role/Bootstrap.pm> +# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.001001 +# with template 01-basic.t.tpl + +use Test::More 0.89 tests => 1; + +require_ok("lib/Dist/Zilla/Role/Bootstrap.pm"); + diff --git a/t/000-report-versions-tiny.t b/t/000-report-versions-tiny.t index 1515003..4052538 100644 --- a/t/000-report-versions-tiny.t +++ b/t/000-report-versions-tiny.t @@ -9,11 +9,11 @@ our $success = 0; END { $success && done_testing; } # List our own version used to generate this -my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.09\n"; +my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n"; eval { # no excuses! # report our Perl details - my $want = 'v5.10.0'; + my $want = '5.006'; $v .= "perl: $] (wanted $want) on $^O from $^X\n\n"; }; defined($@) and diag("$@"); @@ -53,30 +53,19 @@ eval { $v .= pmver('Dist::Zilla::Chrome::Test','any version') }; eval { $v .= pmver('Dist::Zilla::Dist::Builder','any version') }; eval { $v .= pmver('Dist::Zilla::MVP::Assembler::Zilla','any version') }; eval { $v .= pmver('Dist::Zilla::MVP::Section','any version') }; -eval { $v .= pmver('Dist::Zilla::PluginBundle::Author::KENTNL','v1.8.3') }; -eval { $v .= pmver('Dist::Zilla::PluginBundle::Author::KENTNL::Lite','v1.3.0') }; eval { $v .= pmver('Dist::Zilla::Role::Plugin','any version') }; eval { $v .= pmver('File::Copy::Recursive','any version') }; -eval { $v .= pmver('File::Spec','any version') }; -eval { $v .= pmver('IO::Handle','any version') }; -eval { $v .= pmver('IPC::Open3','any version') }; eval { $v .= pmver('List::UtilsBy','any version') }; -eval { $v .= pmver('Module::Build','0.4007') }; +eval { $v .= pmver('Module::Build','0.4200') }; eval { $v .= pmver('Moose','any version') }; eval { $v .= pmver('Moose::Role','any version') }; eval { $v .= pmver('MooseX::AttributeShortcuts','any version') }; eval { $v .= pmver('Path::FindDev','any version') }; eval { $v .= pmver('Path::Tiny','any version') }; -eval { $v .= pmver('Pod::Coverage::TrustPod','any version') }; -eval { $v .= pmver('Test::CPAN::Changes','0.19') }; -eval { $v .= pmver('Test::CPAN::Meta','any version') }; -eval { $v .= pmver('Test::Kwalitee','1.08') }; -eval { $v .= pmver('Test::More','0.98') }; -eval { $v .= pmver('Test::Pod','1.41') }; -eval { $v .= pmver('Test::Pod::Coverage','1.08') }; +eval { $v .= pmver('Test::More','1.001002') }; eval { $v .= pmver('lib','any version') }; eval { $v .= pmver('strict','any version') }; -eval { $v .= pmver('version','0.9901') }; +eval { $v .= pmver('version','any version') }; eval { $v .= pmver('warnings','any version') }; diff --git a/xt/release/kwalitee.t b/xt/release/kwalitee.t index 0b20dc1..13cecfa 100644 --- a/xt/release/kwalitee.t +++ b/xt/release/kwalitee.t @@ -1,4 +1,4 @@ -# This test is generated by Dist::Zilla::Plugin::Test::Kwalitee +# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07 use strict; use warnings; use Test::Kwalitee; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits