Projects
openEuler:Mainline
perl-ExtUtils-Manifest
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
_service:tar_scm:perl-ExtUtils-Manifest.spec
Changed
@@ -1,7 +1,7 @@ Name: perl-ExtUtils-Manifest Epoch: 1 -Version: 1.73 -Release: 2 +Version: 1.75 +Release: 1 Summary: Utilities to write and check a MANIFEST file License: GPL+ or Artistic URL: https://metacpan.org/release/ExtUtils-Manifest @@ -48,6 +48,9 @@ %{_mandir}/man*/* %changelog +* Wed Jul 19 2023 leeffo <liweiganga@uniontech.com> - 1:1.75-1 +- upgrade to version 1.75 + * Fri Oct 28 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1:1.73-2 - Rebuild for next release
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/Changes -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/Changes
Changed
@@ -1,5 +1,12 @@ Revision history for ExtUtils-Manifest +1.75 2023-04-29 + - #!include_default now memory-only, not changing MANIFEST.SKIP file. + - support removed for MacOS Classic + +1.74 2023-04-28 + - Add some MANIFEST.SKIP patterns for bzr/brz + 1.73 2021-01-16 - Calculate absolute path to MANIFEST.SKIP (in $DEFAULT_MSKIP) at module load time, where __FILE__ is guaranteed to valid.
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/INSTALL -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/INSTALL
Changed
@@ -21,8 +21,11 @@ ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -install configure prerequisites (see below), then build it: +As a last resort, you can manually install it. If you have not already +downloaded the release tarball, you can find the download link on the module's +MetaCPAN page: https://metacpan.org/pod/ExtUtils::Manifest + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/LICENSE -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/LICENSE
Changed
@@ -292,21 +292,21 @@ - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/MANIFEST -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/MANIFEST
Changed
@@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030. Changes INSTALL LICENSE
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/META.json -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/META.json
Changed
@@ -7,7 +7,7 @@ "The Perl 5 Porters" , "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010", "license" : "perl_5" , @@ -126,7 +126,7 @@ "provides" : { "ExtUtils::Manifest" : { "file" : "lib/ExtUtils/Manifest.pm", - "version" : "1.73" + "version" : "1.75" } }, "release_status" : "stable", @@ -143,16 +143,16 @@ "x_IRC" : "irc://irc.perl.org/#toolchain", "x_MailingList" : "http://lists.perl.org/list/cpan-workers.html" }, - "version" : "1.73", + "version" : "1.75", "x_Dist_Zilla" : { "perl" : { - "version" : "5.033005" + "version" : "5.037011" }, "plugins" : { "class" : "Dist::Zilla::Plugin::PodVersion", "name" : "PodVersion", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::OnlyCorePrereqs", @@ -191,7 +191,7 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -228,32 +228,32 @@ } }, "name" : "Git::GatherDir", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "MetaYAML", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "MetaJSON", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "License", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "Readme", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "Manifest", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", @@ -264,7 +264,7 @@ } }, "name" : "InstallGuide", - "version" : "1.200013" + "version" : "1.200014" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", @@ -292,7 +292,7 @@ { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "MetaTests", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -312,7 +312,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "PodSyntaxTests", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Test::Pod::No404s", @@ -327,7 +327,7 @@ { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "Test::ReportPrereqs", - "version" : "0.028" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::Test::Portability", @@ -337,7 +337,7 @@ } }, "name" : "Test::Portability", - "version" : "2.001000" + "version" : "2.001001" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -352,7 +352,7 @@ { "class" : "Dist::Zilla::Plugin::Git::Describe", "name" : "Git::Describe", - "version" : "0.007" + "version" : "0.008" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -380,7 +380,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.017" + "version" : "6.030" } , "include_underscores" : 0 @@ -402,13 +402,13 @@ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "MetaConfig", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "include_authors" : 0, "include_releaser" : 1, "order_by" : "commits", @@ -421,7 +421,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "AutoPrereqs", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", @@ -444,7 +444,7 @@ } }, "name" : "RemovePrereqs", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -454,7 +454,7 @@ } }, "name" : "MakeMaker", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::CheckSelfDependency", @@ -489,12 +489,12 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "repo_root" : "." } }, "name" : "initial check", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Remote::Check", @@ -504,12 +504,12 @@ { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "CheckPrereqsIndexed", - "version" : "0.020" + "version" : "0.022" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "TestRelease", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -533,12 +533,12 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "repo_root" : "." } }, "name" : "after tests", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::CheckIssues", @@ -548,7 +548,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "UploadToCPAN", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::GitHub::Update", @@ -558,7 +558,7 @@ } }, "name" : "GitHub::Update", - "version" : "0.47" + "version" : "0.48" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -582,7 +582,7 @@ } }, "name" : "@Git::VersionManager/pluginbundle version", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -637,7 +637,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -645,7 +645,7 @@ } }, "name" : "@Git::VersionManager/release snapshot", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -654,12 +654,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "1.73", + "tag" : "1.75", "tag_format" : "%v", "tag_message" : "v%v%t" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -667,7 +667,7 @@ } }, "name" : "@Git::VersionManager/Git::Tag", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional", @@ -688,7 +688,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Git::VersionManager/NextRelease", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -710,7 +710,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -718,7 +718,7 @@ } }, "name" : "@Git::VersionManager/post-release commit", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -730,67 +730,67 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.29.2", + "git_version" : "2.40.0", "repo_root" : "." } }, "name" : "Git::Push", - "version" : "2.047" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "ConfirmRelease", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.017" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.017" + "version" : "6.030" } , "zilla" : { @@ -798,7 +798,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.017" + "version" : "6.030" } }, "x_authority" : "cpan:P5P", @@ -807,19 +807,20 @@ "Chris 'BinGOs' Williams <chris@bingosnet.co.uk>", "Florian Ragwitz <rafl@debian.org>", "brian d foy <brian.d.foy@gmail.com>", - "Craig A. Berry <craigberry@mac.com>", "Leon Timmermans <fawaka@gmail.com>", + "Craig A. Berry <craigberry@mac.com>", "Andreas Koenig <andk@cpan.org>", - "James E Keenan <jkeenan@cpan.org>", - "David E. Wheeler <david@justatheory.com>", + "Paul \"LeoNerd\" Evans <leonerd@leonerd.org.uk>", "Ed J <mohawk2@users.noreply.github.com>", "Graham Knop <haarg@haarg.org>", + "James E Keenan <jkeenan@cpan.org>", + "David E. Wheeler <david@justatheory.com>", "Jerome Eteve <jerome@eteve.net>", "Petr P\u00edsa\u0159 <ppisar@redhat.com>", "Zefram <zefram@fysh.org>" , - "x_generated_by_perl" : "v5.33.5", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", + "x_generated_by_perl" : "v5.37.11", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.36", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" }
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/META.yml -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/META.yml
Changed
@@ -16,7 +16,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -25,7 +25,7 @@ provides: ExtUtils::Manifest: file: lib/ExtUtils/Manifest.pm - version: '1.73' + version: '1.75' requires: Carp: '0' Exporter: '0' @@ -43,22 +43,22 @@ bugtracker: http://github.com/Perl-Toolchain-Gang/ExtUtils-Manifest/issues homepage: https://metacpan.org/release/ExtUtils-Manifest repository: git://github.com/Perl-Toolchain-Gang/Extutils-Manifest.git -version: '1.73' +version: '1.75' x_Dist_Zilla: perl: - version: '5.033005' + version: '5.037011' plugins: - class: Dist::Zilla::Plugin::PodVersion name: PodVersion - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::OnlyCorePrereqs config: Dist::Zilla::Plugin::OnlyCorePrereqs: also_disallow: check_dual_life_versions: '0' - deprecated_ok: '0' + deprecated_ok: 0 phases: - configure - build @@ -81,7 +81,7 @@ - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -110,27 +110,27 @@ Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: Git::GatherDir - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::MetaYAML name: MetaYAML - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::MetaJSON name: MetaJSON - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::License name: License - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Readme name: Readme - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Manifest name: Manifest - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::InstallGuide config: @@ -138,7 +138,7 @@ Module::Metadata: '1.000037' version: '0.006' name: InstallGuide - version: '1.200013' + version: '1.200014' - class: Dist::Zilla::Plugin::Test::Compile config: @@ -160,7 +160,7 @@ - class: Dist::Zilla::Plugin::MetaTests name: MetaTests - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: Test::ChangesHasContent @@ -175,7 +175,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: PodSyntaxTests - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Test::Pod::No404s name: Test::Pod::No404s @@ -187,14 +187,14 @@ - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: Test::ReportPrereqs - version: '0.028' + version: '0.029' - class: Dist::Zilla::Plugin::Test::Portability config: Dist::Zilla::Plugin::Test::Portability: options: '' name: Test::Portability - version: '2.001000' + version: '2.001001' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: @@ -205,7 +205,7 @@ - class: Dist::Zilla::Plugin::Git::Describe name: Git::Describe - version: '0.007' + version: '0.008' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -227,7 +227,7 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.017' + version: '6.030' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' @@ -242,12 +242,12 @@ - class: Dist::Zilla::Plugin::MetaConfig name: MetaConfig - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.29.2 + git_version: 2.40.0 include_authors: 0 include_releaser: 1 order_by: commits @@ -257,7 +257,7 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: AutoPrereqs - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Prereqs::AuthorDeps name: Prereqs::AuthorDeps @@ -274,14 +274,14 @@ - VMS::Feature - VMS::Filespec name: RemovePrereqs - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: '6' name: MakeMaker - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::CheckSelfDependency config: @@ -307,10 +307,10 @@ allow_dirty_match: changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.29.2 + git_version: 2.40.0 repo_root: . name: 'initial check' - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Remote::Check name: Git::Remote::Check @@ -318,11 +318,11 @@ - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: CheckPrereqsIndexed - version: '0.020' + version: '0.022' - class: Dist::Zilla::Plugin::TestRelease name: TestRelease - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::RunExtraTests config: @@ -340,10 +340,10 @@ allow_dirty_match: changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.29.2 + git_version: 2.40.0 repo_root: . name: 'after tests' - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::CheckIssues name: CheckIssues @@ -351,14 +351,14 @@ - class: Dist::Zilla::Plugin::UploadToCPAN name: UploadToCPAN - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::GitHub::Update config: Dist::Zilla::Plugin::GitHub::Update: metacpan: 1 name: GitHub::Update - version: '0.47' + version: '0.48' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -375,7 +375,7 @@ phase: develop type: recommends name: '@Git::VersionManager/pluginbundle version' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -417,12 +417,12 @@ allow_dirty_match: changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.29.2 + git_version: 2.40.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Git::VersionManager/release snapshot' - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -430,16 +430,16 @@ branch: ~ changelog: Changes signed: 0 - tag: '1.73' + tag: '1.75' tag_format: '%v' tag_message: v%v%t Dist::Zilla::Role::Git::Repo: - git_version: 2.29.2 + git_version: 2.40.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Git::VersionManager/Git::Tag' - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional config: @@ -455,7 +455,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@Git::VersionManager/NextRelease' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -472,12 +472,12 @@ - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.29.2 + git_version: 2.40.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Git::VersionManager/post-release commit' - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Push config: @@ -486,75 +486,76 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.29.2 + git_version: 2.40.0 repo_root: . name: Git::Push - version: '2.047' + version: '2.048' - class: Dist::Zilla::Plugin::ConfirmRelease name: ConfirmRelease - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.017' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.017' + version: '6.030' zilla: class: Dist::Zilla::Dist::Builder config: - is_trial: '0' - version: '6.017' + is_trial: 0 + version: '6.030' x_authority: cpan:P5P x_contributors: - 'Karen Etheridge <ether@cpan.org>' - "Chris 'BinGOs' Williams <chris@bingosnet.co.uk>" - 'Florian Ragwitz <rafl@debian.org>' - 'brian d foy <brian.d.foy@gmail.com>' - - 'Craig A. Berry <craigberry@mac.com>' - 'Leon Timmermans <fawaka@gmail.com>' + - 'Craig A. Berry <craigberry@mac.com>' - 'Andreas Koenig <andk@cpan.org>' - - 'James E Keenan <jkeenan@cpan.org>' - - 'David E. Wheeler <david@justatheory.com>' + - 'Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>' - 'Ed J <mohawk2@users.noreply.github.com>' - 'Graham Knop <haarg@haarg.org>' + - 'James E Keenan <jkeenan@cpan.org>' + - 'David E. Wheeler <david@justatheory.com>' - 'Jerome Eteve <jerome@eteve.net>' - 'Petr Písař <ppisar@redhat.com>' - 'Zefram <zefram@fysh.org>' -x_generated_by_perl: v5.33.5 -x_serialization_backend: 'YAML::Tiny version 1.73' +x_generated_by_perl: v5.37.11 +x_serialization_backend: 'YAML::Tiny version 1.74' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/Makefile.PL -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/Makefile.PL
Changed
@@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.017. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030. use strict; use warnings; @@ -34,7 +34,7 @@ "File::Spec" => "0.8", "Test::More" => 0 }, - "VERSION" => "1.73", + "VERSION" => "1.75", "test" => { "TESTS" => "t/*.t" }
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/README -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/README
Changed
@@ -1,5 +1,5 @@ This archive contains the distribution ExtUtils-Manifest, -version 1.73: +version 1.75: Utilities to write and check a MANIFEST file @@ -9,4 +9,4 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.017. +This README file was generated by Dist::Zilla::Plugin::Readme v6.030.
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/lib/ExtUtils/MANIFEST.SKIP -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/lib/ExtUtils/MANIFEST.SKIP
Changed
@@ -9,6 +9,8 @@ \B\.gitignore\b \b_darcs\b \B\.cvsignore$ +\B\.bzr\b +\B\.bzrignore$ # Avoid VMS specific MakeMaker generated files \bDescrip.MMS$ @@ -46,6 +48,7 @@ \.# \.rej$ \..*\.sw.?$ +\.~\d+~$ # Avoid OS-specific files/dirs # Mac OSX metadata
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/lib/ExtUtils/Manifest.pm -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/lib/ExtUtils/Manifest.pm
Changed
@@ -1,4 +1,4 @@ -package ExtUtils::Manifest; # git description: 1.72-7-g54209ce +package ExtUtils::Manifest; # git description: 1.74-10-g1bddbb0 require Exporter; use Config; @@ -10,7 +10,7 @@ use strict; use warnings; -our $VERSION = '1.73'; +our $VERSION = '1.75'; our @ISA = ('Exporter'); our @EXPORT_OK = qw(mkmanifest manicheck filecheck fullcheck skipcheck @@ -18,7 +18,6 @@ maniskip ); -our $Is_MacOS = $^O eq 'MacOS'; our $Is_VMS = $^O eq 'VMS'; our $Is_VMS_mode = 0; our $Is_VMS_lc = 0; @@ -65,7 +64,7 @@ =head1 VERSION -version 1.73 +version 1.75 =head1 SYNOPSIS @@ -120,12 +119,11 @@ my $manimiss = 0; my $read = (-r 'MANIFEST' && maniread()) or $manimiss++; $read = {} if $manimiss; - local *M; my $bakbase = $MANIFEST; $bakbase =~ s/\./_/g if $Is_VMS_nodot; # avoid double dots rename $MANIFEST, "$bakbase.bak" unless $manimiss; - open M, "> $MANIFEST" or die "Could not open $MANIFEST: $!"; - binmode M, ':raw'; + open my $fh, '>', $MANIFEST or die "Could not open $MANIFEST: $!"; + binmode $fh, ':raw'; my $skip = maniskip(); my $found = manifind(); my($key,$val,$file,%all); @@ -134,27 +132,25 @@ 'This list of files' if $manimiss; # add new MANIFEST to known file list foreach $file (_sort keys %all) { - if ($skip->($file)) { - # Policy: only remove files if they're listed in MANIFEST.SKIP. - # Don't remove files just because they don't exist. - warn "Removed from $MANIFEST: $file\n" if $Verbose and exists $read->{$file}; - next; - } - if ($Verbose){ - warn "Added to $MANIFEST: $file\n" unless exists $read->{$file}; - } - my $text = $all{$file}; - $file = _unmacify($file); - my $tabs = (5 - (length($file)+1)/8); - $tabs = 1 if $tabs < 1; - $tabs = 0 unless $text; + if ($skip->($file)) { + # Policy: only remove files if they're listed in MANIFEST.SKIP. + # Don't remove files just because they don't exist. + warn "Removed from $MANIFEST: $file\n" if $Verbose and exists $read->{$file}; + next; + } + if ($Verbose){ + warn "Added to $MANIFEST: $file\n" unless exists $read->{$file}; + } + my $text = $all{$file}; + my $tabs = (5 - (length($file)+1)/8); + $tabs = 1 if $tabs < 1; + $tabs = 0 unless $text; if ($file =~ /\s/) { $file =~ s/(\\')/\\$1/g; $file = "'$file'"; } - print M $file, "\t" x $tabs, $text, "\n"; + print $fh $file, "\t" x $tabs, $text, "\n"; } - close M; } # Geez, shouldn't this use File::Spec or File::Basename or something? @@ -162,7 +158,6 @@ sub clean_up_filename { my $filename = shift; $filename =~ s|^\./||; - $filename =~ s/^:(^:+)$/$1/ if $Is_MacOS; if ( $Is_VMS ) { $filename =~ s/\.$//; # trim trailing dot $filename = VMS::Filespec::unixify($filename); # unescape spaces, etc. @@ -189,18 +184,17 @@ my $found = {}; my $wanted = sub { - my $name = clean_up_filename($File::Find::name); - warn "Debug: diskfile $name\n" if $Debug; - return if -d $_; - $found->{$name} = ""; + my $name = clean_up_filename($File::Find::name); + warn "Debug: diskfile $name\n" if $Debug; + return if -d $_; + $found->{$name} = ""; }; # We have to use "$File::Find::dir/$_" in preprocess, because # $File::Find::name is unavailable. # Also, it's okay to use / here, because MANIFEST files use Unix-style # paths. - find({wanted => $wanted, follow_fast => 1}, - $Is_MacOS ? ":" : "."); + find({wanted => $wanted, follow_fast => 1}, "."); return $found; } @@ -318,8 +312,7 @@ next if $skip->($file); warn "Debug: manicheck checking from disk $file\n" if $Debug; unless ( exists $read->{$file} ) { - my $canon = $Is_MacOS ? "\t" . _unmacify($file) : ''; - warn "Not in $MANIFEST: $file$canon\n" unless $Quiet; + warn "Not in $MANIFEST: $file\n" unless $Quiet; push @missentry, $file; } } @@ -344,13 +337,13 @@ my ($mfile) = @_; $mfile ||= $MANIFEST; my $read = {}; - local *M; - unless (open M, "< $mfile"){ + my $fh; + unless (open $fh, '<', $mfile){ warn "Problem opening $mfile: $!"; return $read; } local $_; - while (<M>){ + while (<$fh>){ chomp; next if /^\s*#/; @@ -366,11 +359,7 @@ } next unless $file; - if ($Is_MacOS) { - $file = _macify($file); - $file =~ s/\\(0-30-70-7)/sprintf("%c", oct($1))/ge; - } - elsif ($Is_VMS_mode) { + if ($Is_VMS_mode) { require File::Basename; my($base,$dir) = File::Basename::fileparse($file); # Resolve illegal file specifications in the same way as tar @@ -391,7 +380,6 @@ $read->{$file} = $comment; } - close M; $read; } @@ -408,27 +396,39 @@ =cut +sub _process_skipline { + local $_ = shift; + chomp; + s/\r//; + $_ =~ qr{^\s*(?:(?:'(^\\'*(?:\\.^\\'*)*)')|(^#\s\S*))?(?:(?:\s*)|(?:\s+(.*?)\s*))$}; + #my $comment = $3; + my $filename = $2; + if ( defined($1) ) { + $filename = $1; + $filename =~ s/\\('\\)/$1/g; + } + $filename; +} + # returns an anonymous sub that decides if an argument matches sub maniskip { my @skip ; my $mfile = shift || "$MANIFEST.SKIP"; _check_mskip_directives($mfile) if -f $mfile; - local(*M, $_); - open M, "< $mfile" or open M, "< $DEFAULT_MSKIP" or return sub {0}; - while (<M>){ - chomp; - s/\r//; - $_ =~ qr{^\s*(?:(?:'(^\\'*(?:\\.^\\'*)*)')|(^#\s\S*))?(?:(?:\s*)|(?:\s+(.*?)\s*))$}; - #my $comment = $3; - my $filename = $2; - if ( defined($1) ) { - $filename = $1; - $filename =~ s/\\('\\)/$1/g; - } - next if (not defined($filename) or not $filename); - push @skip, _macify($filename); + local $_; + my $fh; + open $fh, '<', $mfile or open $fh, '<', $DEFAULT_MSKIP or return sub {0}; + while (<$fh>){ + if (/^#!include_default\s*$/) { + if (my @default = _include_mskip_file()) { + warn "Debug: Including default MANIFEST.SKIP\n" if $Debug; + push @skip, grep $_, map _process_skipline($_), @default; + } + next; + } + next unless my $filename = _process_skipline($_); + push @skip, $filename; } - close M; return sub {0} unless (scalar @skip > 0); my $opts = $Is_VMS_mode ? '(?i)' : ''; @@ -440,6 +440,10 @@ return sub { $_0 =~ qr{$opts$regex} }; } +sub _get_homedir { + $^O eq 'MSWin32' && "$" < 5.016 ? $ENV{HOME} || $ENV{USERPROFILE} : (glob('~'))0; +} + # checks for the special directives # #!include_default # #!include /path/to/some/manifest.skip @@ -448,46 +452,39 @@ # and an external manifest.skip file sub _check_mskip_directives { my $mfile = shift; - local (*M, $_); + local $_; + my $fh; my @lines = (); my $flag = 0; - unless (open M, "< $mfile") { + unless (open $fh, '<', $mfile) { warn "Problem opening $mfile: $!"; return; } - while (<M>) { - if (/^#!include_default\s*$/) { - if (my @default = _include_mskip_file()) { - push @lines, @default; - warn "Debug: Including default MANIFEST.SKIP\n" if $Debug; - $flag++; - } - next; - } - if (/^#!include\s+(.*)\s*$/) { - my $external_file = $1; - if (my @external = _include_mskip_file($external_file)) { - push @lines, @external; - warn "Debug: Including external $external_file\n" if $Debug; - $flag++; - } + while (<$fh>) { + if (/^#!include\s+(.*)\s*$/) { + my $external_file = $1; + $external_file =~ s{^~/}{_get_homedir().'/'}e; + if (my @external = _include_mskip_file($external_file)) { + push @lines, @external; + warn "Debug: Including external $external_file\n" if $Debug; + $flag++; + } next; } push @lines, $_; } - close M; + close $fh; return unless $flag; my $bakbase = $mfile; $bakbase =~ s/\./_/g if $Is_VMS_nodot; # avoid double dots rename $mfile, "$bakbase.bak"; warn "Debug: Saving original $mfile as $bakbase.bak\n" if $Debug; - unless (open M, "> $mfile") { + unless (open $fh, '>', $mfile) { warn "Problem opening $mfile: $!"; return; } - binmode M, ':raw'; - print M $_ for (@lines); - close M; + binmode $fh, ':raw'; + print $fh $_ for (@lines); return; } @@ -499,15 +496,15 @@ warn qq{Included file "$mskip" not found - skipping}; return; } - local (*M, $_); - unless (open M, "< $mskip") { + local $_; + my $fh; + unless (open $fh, '<', $mskip) { warn "Problem opening $mskip: $!"; return; } my @lines = (); push @lines, "\n#!start included $mskip\n"; - push @lines, $_ while <M>; - close M; + push @lines, $_ while <$fh>; push @lines, "#!end included $mskip\n\n"; return @lines; } @@ -543,22 +540,13 @@ $target = VMS::Filespec::unixify($target) if $Is_VMS_mode; File::Path::mkpath( $target ,! $Quiet,$Is_VMS ? undef : 0755); foreach my $file (keys %$read){ - if ($Is_MacOS) { - if ($file =~ m!:!) { - my $dir = _maccat($target, $file); - $dir =~ s/^:+$//; - File::Path::mkpath($dir,1,0755); - } - cp_if_diff($file, _maccat($target, $file), $how); - } else { - $file = VMS::Filespec::unixify($file) if $Is_VMS_mode; - if ($file =~ m!/!) { # Ilya, that hurts, I fear, or maybe not? - my $dir = File::Basename::dirname($file); - $dir = VMS::Filespec::unixify($dir) if $Is_VMS_mode; - File::Path::mkpath("$target/$dir",! $Quiet,$Is_VMS ? undef : 0755); - } - cp_if_diff($file, "$target/$file", $how); - } + $file = VMS::Filespec::unixify($file) if $Is_VMS_mode; + if ($file =~ m!/!) { # Ilya, that hurts, I fear, or maybe not? + my $dir = File::Basename::dirname($file); + $dir = VMS::Filespec::unixify($dir) if $Is_VMS_mode; + File::Path::mkpath("$target/$dir",! $Quiet,$Is_VMS ? undef : 0755); + } + cp_if_diff($file, "$target/$file", $how); } } @@ -569,28 +557,28 @@ return; } my($diff) = 0; - local(*F,*T); - open(F,"< $from\0") or die "Can't read $from: $!\n"; - if (open(T,"< $to\0")) { + my ($fromfh, $tofh); + open($fromfh, '<', $from) or die "Can't read $from: $!\n"; + if (open($tofh, '<', $to)) { local $_; - while (<F>) { $diff++,last if $_ ne <T>; } - $diff++ unless eof(T); - close T; + while (<$fromfh>) { $diff++,last if $_ ne <$tofh>; } + $diff++ unless eof($tofh); + close $tofh; } else { $diff++; } - close F; + close $fromfh; if ($diff) { - if (-e $to) { - unlink($to) or confess "unlink $to: $!"; - } + if (-e $to) { + unlink($to) or confess "unlink $to: $!"; + } STRICT_SWITCH: { - best($from,$to), last STRICT_SWITCH if $how eq 'best'; - cp($from,$to), last STRICT_SWITCH if $how eq 'cp'; - ln($from,$to), last STRICT_SWITCH if $how eq 'ln'; - croak("ExtUtils::Manifest::cp_if_diff " . - "called with illegal how argument $how. " . - "Legal values are 'best', 'cp', and 'ln'."); - } + best($from,$to), last STRICT_SWITCH if $how eq 'best'; + cp($from,$to), last STRICT_SWITCH if $how eq 'cp'; + ln($from,$to), last STRICT_SWITCH if $how eq 'ln'; + croak("ExtUtils::Manifest::cp_if_diff " . + "called with illegal how argument $how. " . + "Legal values are 'best', 'cp', and 'ln'."); + } } } @@ -634,49 +622,12 @@ my $is_exception = grep $srcFile =~ /$_/, @Exceptions; if ($is_exception or !$Config{d_link} or -l $srcFile) { - cp($srcFile, $dstFile); + cp($srcFile, $dstFile); } else { - ln($srcFile, $dstFile) or cp($srcFile, $dstFile); - } -} - -sub _macify { - my($file) = @_; - - return $file unless $Is_MacOS; - - $file =~ s|^\./||; - if ($file =~ m|/|) { - $file =~ s|/+|:|g; - $file = ":$file"; + ln($srcFile, $dstFile) or cp($srcFile, $dstFile); } - - $file; } -sub _maccat { - my($f1, $f2) = @_; - - return "$f1/$f2" unless $Is_MacOS; - - $f1 .= ":$f2"; - $f1 =~ s/(^::):/$1/g; - return $f1; -} - -sub _unmacify { - my($file) = @_; - - return $file unless $Is_MacOS; - - $file =~ s|^:||; - $file =~ s|(/ \n)|sprintf("\\%03o", unpack("c", $1))|ge; - $file =~ y|:|/|; - - $file; -} - - =head2 maniadd maniadd({ $file => $comment, ...}); @@ -697,9 +648,9 @@ my @needed = grep !exists $manifest->{$_}, keys %$additions; return 1 unless @needed; - open(MANIFEST, ">>$MANIFEST") or + open(my $fh, '>>', $MANIFEST) or die "maniadd() could not open $MANIFEST: $!"; - binmode MANIFEST, ':raw'; + binmode $fh, ':raw'; foreach my $file (_sort @needed) { my $comment = $additions->{$file} || ''; @@ -707,9 +658,9 @@ $file =~ s/(\\')/\\$1/g; $file = "'$file'"; } - printf MANIFEST "%-40s %s\n", $file, $comment; + printf $fh "%-40s %s\n", $file, $comment; } - close MANIFEST or die "Error closing $MANIFEST: $!"; + close $fh or die "Error closing $MANIFEST: $!"; return 1; } @@ -720,10 +671,10 @@ sub _fix_manifest { my $manifest_file = shift; - open MANIFEST, $MANIFEST or die "Could not open $MANIFEST: $!"; + open my $fh, '<', $MANIFEST or die "Could not open $MANIFEST: $!"; local $/; - my @manifest = split /(\015\012|\012|\015)/, <MANIFEST>, -1; - close MANIFEST; + my @manifest = split /(\015\012|\012|\015)/, <$fh>, -1; + close $fh; my $must_rewrite = ""; if ($manifest-1 eq ""){ # sane case: last line had a terminal newline @@ -740,12 +691,12 @@ if ( $must_rewrite ) { 1 while unlink $MANIFEST; # avoid multiple versions on VMS - open MANIFEST, ">", $MANIFEST or die "(must_rewrite=$must_rewrite) Could not open >$MANIFEST: $!"; - binmode MANIFEST, ':raw'; + open $fh, ">", $MANIFEST or die "(must_rewrite=$must_rewrite) Could not open >$MANIFEST: $!"; + binmode $fh, ':raw'; for (my $i=0; $i<=$#manifest; $i+=2) { - print MANIFEST "$manifest$i\n"; + print $fh "$manifest$i\n"; } - close MANIFEST or die "could not write $MANIFEST: $!"; + close $fh or die "could not write $MANIFEST: $!"; } } @@ -813,11 +764,17 @@ =item #!include_default -This inserts the contents of the default MANIFEST.SKIP file +This tells ExtUtils::Manifest to read the default F<MANIFEST.SKIP> +file and skip files accordingly, but I<not> to include it in the local +F<MANIFEST.SKIP>. This is intended to skip files according to a system +default, which can change over time without requiring further changes +to the distribution's F<MANIFEST.SKIP>. =item #!include /Path/to/another/manifest.skip -This inserts the contents of the specified external file +This inserts the contents of the specified external file in the local +F<MANIFEST.SKIP>. This is intended for authors to have a central +F<MANIFEST.SKIP> file, and to include it with their various distributions. =back
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/t/00-report-prereqs.t -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/t/00-report-prereqs.t
Changed
@@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029 use Test::More tests => 1; @@ -109,20 +109,24 @@ my @reports = qw/Module Want Have/; for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { - next if $mod eq 'perl'; next if grep { $_ eq $mod } @exclude; - my $file = $mod; - $file =~ s{::}{/}g; - $file .= ".pm"; - my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; - my $want = $req_hash->{$phase}{$type}{$mod}; $want = "undef" unless defined $want; $want = "any" if !$want && $want == 0; + if ($mod eq 'perl') { + push @reports, 'perl', $want, $; + next; + } + my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; + my $file = $mod; + $file =~ s{::}{/}g; + $file .= ".pm"; + my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; + if ($prefix) { my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); $have = "undef" unless defined $have;
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/t/Manifest.t -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/t/Manifest.t
Changed
@@ -13,7 +13,7 @@ } chdir 't'; -use Test::More tests => 98; +use Test::More tests => 101; use Cwd; use File::Spec; @@ -132,14 +132,14 @@ my @skipped; catch_warning( sub { - @skipped = skipcheck() + @skipped = skipcheck() }); is( join( ' ', @skipped ), 'MANIFEST.SKIP', 'listed skipped files' ); { - local $ExtUtils::Manifest::Quiet = 1; - is( join(' ', filecheck() ), 'bar', 'listing skipped with filecheck()' ); + local $ExtUtils::Manifest::Quiet = 1; + is( join(' ', filecheck() ), 'bar', 'listing skipped with filecheck()' ); } # add a subdirectory and a file there that should be found @@ -185,7 +185,7 @@ ok( mkdir( 'copy', 0777 ), 'made copy directory' ); $files = maniread(); eval { (undef, $warn) = catch_warning( sub { - manicopy( $files, 'copy', 'cp' ) }) + manicopy( $files, 'copy', 'cp' ) }) }; # a newline comes through, so get rid of it @@ -197,12 +197,12 @@ # tell ExtUtils::Manifest to use a different file { - local $ExtUtils::Manifest::MANIFEST = 'albatross'; - ($res, $warn) = catch_warning( \&mkmanifest ); - like( $warn, qr/Added to albatross: /, 'using a new manifest file' ); + local $ExtUtils::Manifest::MANIFEST = 'albatross'; + ($res, $warn) = catch_warning( \&mkmanifest ); + like( $warn, qr/Added to albatross: /, 'using a new manifest file' ); - # add the new file to the list of files to be deleted - $Files{'albatross'}++; + # add the new file to the list of files to be deleted + $Files{'albatross'}++; } @@ -233,10 +233,10 @@ is( $files->{foobar}, '', ' preserved old entries' ); my $manicontents = do { - local $/; - open my $fh, "MANIFEST" or die; - binmode $fh, ':raw'; - <$fh> + local $/; + open my $fh, "MANIFEST" or die; + binmode $fh, ':raw'; + <$fh> }; is index($manicontents, "\015\012"), -1, 'MANIFEST no CRLF'; @@ -291,11 +291,11 @@ local $ExtUtils::Manifest::MANIFEST = "albatross"; maniadd({ 'foo bar' => "contains space"}); is( maniread()->{'foo bar'}, "contains space", - 'spaced manifest filename' ); + 'spaced manifest filename' ); add_file( 'albatross.bak', '' ); ($res, $warn) = catch_warning( \&mkmanifest ); like( $warn, qr/\A(Added to.*\n)+\z/m, - 'no warnings about funky filename' ); + 'no warnings about funky filename' ); $funky_files{'space'} = 'foo bar'; } @@ -306,7 +306,7 @@ local $ExtUtils::Manifest::MANIFEST = "albatross"; maniadd({ 'foo\' baz\'quux' => "contains quote"}); is( maniread()->{'foo\' baz\'quux'}, "contains quote", - 'quoted manifest filename' ); + 'quoted manifest filename' ); $funky_files{'space_quote'} = 'foo\' baz\'quux'; } @@ -317,7 +317,7 @@ local $ExtUtils::Manifest::MANIFEST = "albatross"; maniadd({ 'foo bar\\baz' => "contains backslash"}); is( maniread()->{'foo bar\\baz'}, "contains backslash", - 'backslashed manifest filename' ); + 'backslashed manifest filename' ); $funky_files{'space_backslash'} = 'foo bar\\baz'; } @@ -328,7 +328,7 @@ local $ExtUtils::Manifest::MANIFEST = "albatross"; maniadd({ 'foo bar\\baz\'quux' => "backslash and quote"}); is( maniread()->{'foo bar\\baz\'quux'}, "backslash and quote", - 'backslashed and quoted manifest filename' ); + 'backslashed and quoted manifest filename' ); $funky_files{'space_quote_backslash'} = 'foo bar\\baz\'quux'; } @@ -342,14 +342,16 @@ local $ExtUtils::Manifest::MANIFEST = "albatross"; maniadd({ $quoted_filename => $description }); is( maniread()->{$quoted_filename}, $description, - 'file whose name starts and ends with quotes' ); + 'file whose name starts and ends with quotes' ); $funky_files{$description} = $quoted_filename; } my @funky_keys = qw(space space_quote space_backslash space_quote_backslash); # test including an external manifest.skip file in MANIFEST.SKIP { - maniadd({ foo => undef , albatross => undef, + local $ENV{HOME} = File::Spec->catdir($cwd, qw(mantest)); + + maniadd({ foo => undef, orange => undef, albatross => undef, 'mymanifest.skip' => undef, 'mydefault.skip' => undef}); for (@funky_keys) { maniadd( {$funky_files{$_} => $_} ) if defined $funky_files{$_}; @@ -360,8 +362,9 @@ local $ExtUtils::Manifest::DEFAULT_MSKIP = File::Spec->catfile($cwd, qw(mantest mydefault.skip)); my $skip = File::Spec->catfile($cwd, qw(mantest mymanifest.skip)); + add_file('global.skip' => "^orange\n"); add_file('MANIFEST.SKIP' => - "albatross\n#!include $skip\n#!include_default"); + "albatross\n#!include $skip\n#!include_default\n#!include ~/global.skip"); my ($res, $warn) = catch_warning( \&skipcheck ); for (qw(albatross foo foobar mymanifest.skip mydefault.skip)) { like( $warn, qr/Skipping \b$_\b/, @@ -370,23 +373,23 @@ for my $funky_key (@funky_keys) { SKIP: { my $funky_file = $funky_files{$funky_key}; - skip "'$funky_key' not created", 1 unless $funky_file; - like( $warn, qr/Skipping \b\Q$funky_file\E\b/, - "Skipping $funky_file"); - } + skip "'$funky_key' not created", 1 unless $funky_file; + like( $warn, qr/Skipping \b\Q$funky_file\E\b/, + "Skipping $funky_file"); + } } ($res, $warn) = catch_warning( \&mkmanifest ); - for (qw(albatross foo foobar mymanifest.skip mydefault.skip)) { + for (qw(albatross foo foobar mymanifest.skip mydefault.skip orange)) { like( $warn, qr/Removed from MANIFEST: \b$_\b/, "Removed $_ from MANIFEST" ); } for my $funky_key (@funky_keys) { SKIP: { my $funky_file = $funky_files{$funky_key}; - skip "'$funky_key' not created", 1 unless $funky_file; - like( $warn, qr/Removed from MANIFEST: \b\Q$funky_file\E\b/, - "Removed $funky_file from MANIFEST"); - } + skip "'$funky_key' not created", 1 unless $funky_file; + like( $warn, qr/Removed from MANIFEST: \b\Q$funky_file\E\b/, + "Removed $funky_file from MANIFEST"); + } } my $files = maniread; ok( ! exists $files->{albatross}, 'albatross excluded via MANIFEST.SKIP' ); @@ -394,6 +397,7 @@ ok( exists $files->{bar}, 'bar included in MANIFEST' ); ok( ! exists $files->{foobar}, 'foobar excluded via mymanifest.skip' ); ok( ! exists $files->{foo}, 'foo excluded via mymanifest.skip' ); + ok( ! exists $files->{orange}, 'orange excluded via global.skip' ); ok( ! exists $files->{'mymanifest.skip'}, 'mymanifest.skip excluded via mydefault.skip' ); ok( ! exists $files->{'mydefault.skip'}, @@ -403,34 +407,34 @@ for my $funky_key (@funky_keys) { SKIP: { my $funky_file = $funky_files{$funky_key}; - skip "'$funky_key' not created", 1 unless $funky_file; - ok( ! exists $files->{$funky_file}, - "'$funky_file' excluded via mymanifest.skip" ); - } + skip "'$funky_key' not created", 1 unless $funky_file; + ok( ! exists $files->{$funky_file}, + "'$funky_file' excluded via mymanifest.skip" ); + } } # tests for maniskip my $skipchk = maniskip(); is ( $skipchk->('albatross'), 1, - 'albatross excluded via MANIFEST.SKIP' ); + 'albatross excluded via MANIFEST.SKIP' ); is( $skipchk->('yarrow'), '', - 'yarrow included in MANIFEST' ); + 'yarrow included in MANIFEST' ); is( $skipchk->('bar'), '', - 'bar included in MANIFEST' ); + 'bar included in MANIFEST' ); $skipchk = maniskip('mymanifest.skip'); is( $skipchk->('foobar'), 1, - 'foobar excluded via mymanifest.skip' ); + 'foobar excluded via mymanifest.skip' ); is( $skipchk->('foo'), 1, - 'foo excluded via mymanifest.skip' ); + 'foo excluded via mymanifest.skip' ); is( $skipchk->('mymanifest.skip'), '', 'mymanifest.skip included via mydefault.skip' ); is( $skipchk->('mydefault.skip'), '', 'mydefault.skip included via mydefault.skip' ); $skipchk = maniskip('mydefault.skip'); is( $skipchk->('foobar'), '', - 'foobar included via mydefault.skip' ); + 'foobar included via mydefault.skip' ); is( $skipchk->('foo'), '', - 'foo included via mydefault.skip' ); + 'foo included via mydefault.skip' ); is( $skipchk->('mymanifest.skip'), 1, 'mymanifest.skip excluded via mydefault.skip' ); is( $skipchk->('mydefault.skip'), 1, @@ -438,6 +442,13 @@ my $extsep = $Is_VMS_noefs ? '_' : '.'; $Files{"$_.bak"}++ for ('MANIFEST', "MANIFEST${extsep}SKIP"); + + my $mskip_contents = do { + local $/; + open my $fh, '<', "MANIFEST${extsep}SKIP" or return; + <$fh>; + }; + unlike $mskip_contents, qr{^\Q^my\E}m, 'include_default memory-only'; } add_file('MANIFEST' => 'Makefile.PL'); @@ -473,11 +484,11 @@ END { - is( unlink( keys %Files ), keys %Files, 'remove all added files' ); - for my $file ( keys %Files ) { 1 while unlink $file; } # all versions - remove_dir( 'moretest', 'copy' ); + is( unlink( keys %Files ), keys %Files, 'remove all added files' ); + for my $file ( keys %Files ) { 1 while unlink $file; } # all versions + remove_dir( 'moretest', 'copy' ); - # now get rid of the parent directory - ok( chdir( $cwd ), 'return to parent directory' ); - remove_dir( 'mantest' ); + # now get rid of the parent directory + ok( chdir( $cwd ), 'return to parent directory' ); + remove_dir( 'mantest' ); }
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/xt/author/distmeta.t -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/xt/author/distmeta.t
Changed
@@ -1,6 +1,7 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::MetaTests. - +use strict; +use warnings; use Test::CPAN::Meta; meta_yaml_ok();
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/xt/author/portability.t -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/xt/author/portability.t
Changed
@@ -3,8 +3,6 @@ use Test::More; -eval 'use Test::Portability::Files'; -plan skip_all => 'Test::Portability::Files required for testing portability' - if $@; +use Test::Portability::Files; run_tests();
View file
_service:tar_scm:ExtUtils-Manifest-1.73.tar.gz/xt/release/changes_has_content.t -> _service:tar_scm:ExtUtils-Manifest-1.75.tar.gz/xt/release/changes_has_content.t
Changed
@@ -2,7 +2,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '1.73'; +my $newver = '1.75'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8';
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2