diff -Nru libpackage-deprecationmanager-perl-0.17/azure-pipelines.yml libpackage-deprecationmanager-perl-0.18/azure-pipelines.yml --- libpackage-deprecationmanager-perl-0.17/azure-pipelines.yml 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/azure-pipelines.yml 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,28 @@ +resources: + repositories: + - repository: ci-perl-helpers + type: github + name: houseabsolute/ci-perl-helpers + endpoint: houseabsolute + +stages: + - template: templates/helpers/build.yml@ci-perl-helpers + parameters: + debug: true + + - template: templates/helpers/linux.yml@ci-perl-helpers + parameters: + debug: true + test_xt: true + use_default_perls: true + + - template: templates/helpers/macos.yml@ci-perl-helpers + parameters: + debug: true + use_default_perls: true + + - template: templates/helpers/windows.yml@ci-perl-helpers + parameters: + debug: true + use_default_perls: true + diff -Nru libpackage-deprecationmanager-perl-0.17/Changes libpackage-deprecationmanager-perl-0.18/Changes --- libpackage-deprecationmanager-perl-0.17/Changes 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/Changes 2023-02-19 18:12:40.000000000 +0000 @@ -1,3 +1,10 @@ +0.18 2023-02-19 + +- Use Sub::Util instead of Sub::Name, which is part of Scalar-List-Utils, + which itself is a dependency already. Implemented by Aristotle Pagaltzis. GH + #3. + + 0.17 2016-06-17 - Remove use of namespace::autoclean. diff -Nru libpackage-deprecationmanager-perl-0.17/CODE_OF_CONDUCT.md libpackage-deprecationmanager-perl-0.18/CODE_OF_CONDUCT.md --- libpackage-deprecationmanager-perl-0.17/CODE_OF_CONDUCT.md 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/CODE_OF_CONDUCT.md 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,75 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, +body size, disability, ethnicity, gender identity and expression, level of +experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an +appointed representative at an online or offline event. Representation of a +project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at autarch@urth.org. All complaints +will be reviewed and investigated and will result in a response that is deemed +necessary and appropriate to the circumstances. The project team is obligated +to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 1.4, available at +https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + diff -Nru libpackage-deprecationmanager-perl-0.17/CONTRIBUTING.md libpackage-deprecationmanager-perl-0.18/CONTRIBUTING.md --- libpackage-deprecationmanager-perl-0.17/CONTRIBUTING.md 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/CONTRIBUTING.md 2023-02-19 18:12:40.000000000 +0000 @@ -10,122 +10,106 @@ these are just recommendations, intended to help you (and help us help you faster). - The distribution is managed with [Dist::Zilla](https://metacpan.org/release/Dist-Zilla). -However, you can still compile and test the code with the `Makefile.PL` or -`Build.PL` in the repository: +However, you can still compile and test the code with the +`Makefile.PL` +in the repository: perl Makefile.PL make make test -or - perl Build.PL - ./Build - ./Build test - -As well as: - - $ prove -bvr t - -or - - $ perl -Mblib t/some_test_file.t You may need to satisfy some dependencies. The easiest way to satisfy dependencies is to install the last release. This is available at https://metacpan.org/release/Package-DeprecationManager -If you use cpanminus, you can do it without downloading the tarball first: - - $ cpanm --reinstall --installdeps --with-recommends Package::DeprecationManager +You can use [`cpanminus`](https://metacpan.org/pod/App::cpanminus) to do this +without downloading the tarball first: -Dist::Zilla is a very powerful authoring tool, but requires a number of -author-specific plugins. If you would like to use it for contributing, install -it from CPAN, then run one of the following commands, depending on your CPAN -client: + $> cpanm --reinstall --installdeps --with-recommends Package::DeprecationManager - $ cpan `dzil authordeps --missing` +[`Dist::Zilla`](https://metacpan.org/pod/Dist::Zilla) is a very powerful +authoring tool, but requires a number of author-specific plugins. If you would +like to use it for contributing, install it from CPAN, then the following +command to install the needed distros: -or + $> dzil authordeps --missing | cpanm - $ dzil authordeps --missing | cpanm - -They may also be additional requirements not needed by the dzil build which +There may also be additional requirements not needed by the dzil build which are needed for tests or other development: - $ cpan `dzil listdeps --author --missing` - -or - - $ dzil listdeps --author --missing | cpanm + $> dzil listdeps --author --missing | cpanm Or, you can use the 'dzil stale' command to install all requirements at once: - $ cpan Dist::Zilla::App::Command::stale - $ cpan `dzil stale --all` - -or - - $ cpanm Dist::Zilla::App::Command::stale - $ dzil stale --all | cpanm + $> cpanm Dist::Zilla::App::Command::stale + $> dzil stale --all | cpanm You can also do this via cpanm directly: - $ cpanm --reinstall --installdeps --with-develop --with-recommends Package::DeprecationManager + $> cpanm --reinstall --installdeps --with-develop --with-recommends Package::DeprecationManager Once installed, here are some dzil commands you might try: - $ dzil build - $ dzil test - $ dzil test --release - $ dzil xtest - $ dzil listdeps --json - $ dzil build --notgz + $> dzil build + $> dzil test + $> dzil test --release + $> dzil xtest + $> dzil listdeps --json + $> dzil build --notgz You can learn more about Dist::Zilla at http://dzil.org/. -The code for this distribution is [hosted at GitHub](https://github.com/moose/Package-DeprecationManager). +The code for this distribution is [hosted on GitHub](https://github.com/moose/Package-DeprecationManager). You can submit code changes by forking the repository, pushing your code -changes to your clone, and then submitting a pull request. Detailed -instructions for doing that is available here: - -https://help.github.com/articles/creating-a-pull-request +changes to your clone, and then submitting a pull request. Please update the +Changes file with a user-facing description of your changes as part of your +work. See the GitHub documentation for [detailed instructions on pull +requests](https://help.github.com/articles/creating-a-pull-request) If you have found a bug, but do not have an accompanying patch to fix it, you -can submit an issue report [via the web](http://rt.cpan.org/Public/Dist/Display.html?Name=Package-DeprecationManager) -or [via email](bug-package-deprecationmanager@rt.cpan.org. -This is a good place to send your questions about the usage of this distribution. +can submit an issue report [via the web](https://github.com/moose/Package-DeprecationManager/issues). -## Travis +## Continuous Integration -All pull requests for this distribution will be automatically tested by -[Travis](https://travis-ci.org/) and the build status will be reported on the -pull request page. If your build fails, please take a look at the output. +All pull requests for this distribution will be automatically tested using +[Azure Pipelines](https://dev.azure.com/houseabsolute/houseabsolute/_build). -## Tidyall +All CI results will be visible in the pull request on GitHub. Follow the +appropriate links for details when tests fail. PRs cannot be merged until tests +pass. -This distribution uses -[Code::TidyAll](https://metacpan.org/release/Code-TidyAll) to enforce a -uniform coding style. This is tested as part of the author testing suite. You -can install and run tidyall by running the following commands: +## Precious - $ cpanm Code::TidyAll - $ tidyall -a +This distribution uses [precious](https://github.com/houseabsolute/precious) +to enforce a uniform coding style. This is tested as part of the author +testing suite. You can install this and any other necessary non-Perl tools by +running `./dev-bin/install-xt-tools.sh`. -Please run this before committing your changes and address any issues it -brings up. +Then you can use `precious` to tidy and lint your code: + + $> precious tidy -a + $> precious lint -a + +Please run `precious tidy -a` and `precious lint -a` before committing your +changes and address any issues that it reports. + +You can also set up a git pre-commit hook that checks all changed files for +linting issues by running `./git/setup.pl`. ## Contributor Names -If you send me a patch or pull request, your name and email address will be +If you send a patch or pull request, your name and email address will be included in the documentation as a contributor (using the attribution on the commit or patch), unless you specifically request for it not to be. If you wish to be listed under a different name or address, you should submit a pull -request to the .mailmap file to contain the correct mapping. +request to the `.mailmap` file to contain the correct mapping. + +## Generated By -This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.009 from a -template file originating in Dist-Zilla-PluginBundle-DROLSKY-0.62. +This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.015 from a +template file originating in Dist-Zilla-PluginBundle-DROLSKY-1.22. diff -Nru libpackage-deprecationmanager-perl-0.17/cpanfile libpackage-deprecationmanager-perl-0.18/cpanfile --- libpackage-deprecationmanager-perl-0.17/cpanfile 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/cpanfile 2023-02-19 18:12:40.000000000 +0000 @@ -1,9 +1,12 @@ +# This file is generated by Dist::Zilla::Plugin::CPANFile v6.030 +# Do not edit this file directly. To change prereqs, edit the `dist.ini` file. + requires "Carp" => "0"; requires "List::Util" => "1.33"; requires "Package::Stash" => "0"; requires "Params::Util" => "0"; requires "Sub::Install" => "0"; -requires "Sub::Name" => "0"; +requires "Sub::Util" => "0"; requires "strict" => "0"; requires "warnings" => "0"; @@ -25,29 +28,29 @@ }; on 'develop' => sub { - requires "Code::TidyAll::Plugin::Test::Vars" => "0.02"; + requires "Capture::Tiny" => "0"; + requires "Encode" => "0"; requires "File::Spec" => "0"; + requires "FindBin" => "0"; requires "IO::Handle" => "0"; requires "IPC::Open3" => "0"; - requires "Perl::Critic" => "1.126"; - requires "Perl::Tidy" => "20160302"; + requires "Perl::Critic" => "1.138"; + requires "Perl::Critic::Moose" => "1.05"; + requires "Perl::Tidy" => "20210111"; + requires "Pod::Checker" => "1.74"; requires "Pod::Coverage::TrustPod" => "0"; + requires "Pod::Tidy" => "0.10"; requires "Pod::Wordlist" => "0"; requires "Test::CPAN::Changes" => "0.19"; requires "Test::CPAN::Meta::JSON" => "0.16"; - requires "Test::Code::TidyAll" => "0.24"; requires "Test::EOL" => "0"; requires "Test::Mojibake" => "0"; requires "Test::More" => "0.96"; requires "Test::NoTabs" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; - requires "Test::Pod::LinkCheck" => "0"; - requires "Test::Pod::No404s" => "0"; requires "Test::Portability::Files" => "0"; requires "Test::Spelling" => "0.12"; - requires "Test::Vars" => "0.009"; - requires "Test::Version" => "1"; - requires "blib" => "1.01"; + requires "Test::Version" => "2.05"; requires "perl" => "5.006"; }; diff -Nru libpackage-deprecationmanager-perl-0.17/debian/changelog libpackage-deprecationmanager-perl-0.18/debian/changelog --- libpackage-deprecationmanager-perl-0.17/debian/changelog 2022-06-16 22:27:55.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/debian/changelog 2023-02-20 17:30:44.000000000 +0000 @@ -1,3 +1,17 @@ +libpackage-deprecationmanager-perl (0.18-1) unstable; urgency=medium + + * Import upstream version 0.18. + * Update years of upstream and packaging copyright. + * Update debian/upstream/metadata. + * Install new upstream document. + * Update test and runtime dependencies. + * Declare compliance with Debian Policy 4.6.2. + * Set Rules-Requires-Root: no. + * Drop unneeded unversioned 'perl' from Depends. (janitor artifact) + * Annotate test-only build dependencies with . + + -- gregor herrmann Mon, 20 Feb 2023 18:30:44 +0100 + libpackage-deprecationmanager-perl (0.17-2) unstable; urgency=medium [ Salvatore Bonaccorso ] diff -Nru libpackage-deprecationmanager-perl-0.17/debian/control libpackage-deprecationmanager-perl-0.18/debian/control --- libpackage-deprecationmanager-perl-0.17/debian/control 2022-06-16 22:27:55.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/debian/control 2023-02-20 17:30:44.000000000 +0000 @@ -6,27 +6,27 @@ Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper-compat (= 13) -Build-Depends-Indep: perl, - libpackage-stash-perl, - libparams-util-perl, - libsub-install-perl, - libsub-name-perl, - libtest-fatal-perl, - libtest-warnings-perl -Standards-Version: 3.9.8 +Build-Depends-Indep: libpackage-stash-perl , + libparams-util-perl , + libscalar-list-utils-perl , + libsub-install-perl , + libtest-fatal-perl , + libtest-warnings-perl , + perl +Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libpackage-deprecationmanager-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libpackage-deprecationmanager-perl.git Homepage: https://metacpan.org/release/Package-DeprecationManager +Rules-Requires-Root: no Package: libpackage-deprecationmanager-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, - perl, libpackage-stash-perl, libparams-util-perl, - libsub-install-perl, - libsub-name-perl + libscalar-list-utils-perl, + libsub-install-perl Description: module for managing deprecation warnings for Perl distributions Package::DeprecationManager allows you to manage a set of deprecations for one or more modules. It will issue one warning per deprecated feature used, diff -Nru libpackage-deprecationmanager-perl-0.17/debian/copyright libpackage-deprecationmanager-perl-0.18/debian/copyright --- libpackage-deprecationmanager-perl-0.17/debian/copyright 2022-06-16 22:27:55.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/debian/copyright 2023-02-20 17:30:44.000000000 +0000 @@ -4,12 +4,12 @@ Source: https://metacpan.org/release/Package-DeprecationManager Files: * -Copyright: 2015-2016, Dave Rolsky +Copyright: 2015-2023, Dave Rolsky License: Artistic-2.0 Files: debian/* Copyright: 2010-2011, Ansgar Burchardt - 2010, 2012, gregor herrmann + 2010-2023, gregor herrmann 2016, Lucas Kanashiro License: Artistic or Artistic-2.0 or GPL-1+ diff -Nru libpackage-deprecationmanager-perl-0.17/debian/libpackage-deprecationmanager-perl.docs libpackage-deprecationmanager-perl-0.18/debian/libpackage-deprecationmanager-perl.docs --- libpackage-deprecationmanager-perl-0.17/debian/libpackage-deprecationmanager-perl.docs 2022-06-16 22:27:55.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/debian/libpackage-deprecationmanager-perl.docs 2023-02-20 17:30:44.000000000 +0000 @@ -1 +1,2 @@ CONTRIBUTING.md +CODE_OF_CONDUCT.md diff -Nru libpackage-deprecationmanager-perl-0.17/debian/upstream/metadata libpackage-deprecationmanager-perl-0.18/debian/upstream/metadata --- libpackage-deprecationmanager-perl-0.17/debian/upstream/metadata 2022-06-16 22:27:55.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/debian/upstream/metadata 2023-02-20 17:30:44.000000000 +0000 @@ -1,6 +1,6 @@ --- Archive: CPAN -Bug-Database: https://rt.cpan.org/Public/Dist/Display.html?Name=Package-DeprecationManager -Bug-Submit: bug-package-deprecationmanager@rt.cpan.org +Bug-Database: https://github.com/moose/Package-DeprecationManager/issues +Bug-Submit: https://github.com/moose/Package-DeprecationManager/issues/new Repository: https://github.com/moose/Package-DeprecationManager.git Repository-Browse: https://github.com/moose/Package-DeprecationManager diff -Nru libpackage-deprecationmanager-perl-0.17/dev-bin/install-xt-tools.sh libpackage-deprecationmanager-perl-0.18/dev-bin/install-xt-tools.sh --- libpackage-deprecationmanager-perl-0.17/dev-bin/install-xt-tools.sh 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/dev-bin/install-xt-tools.sh 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +TARGET="$HOME/bin" +if [ $(id -u) -eq 0 ]; then + TARGET="/usr/local/bin" +fi +echo "Installing dev tools to $TARGET" + +mkdir -p $TARGET +curl --silent --location \ + https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh | + sh + +"$TARGET/ubi" --project houseabsolute/precious --in "$TARGET" +"$TARGET/ubi" --project houseabsolute/omegasort --in "$TARGET" + +echo "Add $TARGET to your PATH in order to use precious for linting and tidying" diff -Nru libpackage-deprecationmanager-perl-0.17/dist.ini libpackage-deprecationmanager-perl-0.18/dist.ini --- libpackage-deprecationmanager-perl-0.17/dist.ini 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/dist.ini 2023-02-19 18:12:40.000000000 +0000 @@ -3,6 +3,7 @@ license = Artistic_2_0 copyright_holder = Dave Rolsky +; authordep Dist::Zilla::PluginBundle::DROLSKY = 1.22 [@DROLSKY] dist = Package-DeprecationManager stopwords = Goro diff -Nru libpackage-deprecationmanager-perl-0.17/git/hooks/pre-commit.sh libpackage-deprecationmanager-perl-0.18/git/hooks/pre-commit.sh --- libpackage-deprecationmanager-perl-0.17/git/hooks/pre-commit.sh 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/git/hooks/pre-commit.sh 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,15 @@ +#!/bin/bash + +status=0 + +PRECIOUS=$(which precious) +if [[ -z $PRECIOUS ]]; then + PRECIOUS=./bin/precious +fi + +"$PRECIOUS" lint -s +if (( $? != 0 )); then + status+=1 +fi + +exit $status diff -Nru libpackage-deprecationmanager-perl-0.17/git/setup.pl libpackage-deprecationmanager-perl-0.18/git/setup.pl --- libpackage-deprecationmanager-perl-0.17/git/setup.pl 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/git/setup.pl 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,27 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +use Cwd qw( abs_path ); + +symlink_hook('pre-commit'); + +sub symlink_hook { + my $hook = shift; + + my $dot = ".git/hooks/$hook"; + my $file = "git/hooks/$hook.sh"; + my $link = "../../$file"; + + if ( -e $dot ) { + if ( -l $dot ) { + return if readlink $dot eq $link; + } + warn "You already have a hook at $dot!\n"; + return; + } + + symlink $link, $dot + or die "Could not link $dot => $link: $!"; +} diff -Nru libpackage-deprecationmanager-perl-0.17/INSTALL libpackage-deprecationmanager-perl-0.18/INSTALL --- libpackage-deprecationmanager-perl-0.17/INSTALL 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/INSTALL 2023-02-19 18:12:40.000000000 +0000 @@ -21,8 +21,11 @@ ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -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/Package::DeprecationManager + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test @@ -31,13 +34,42 @@ % make install +On Windows platforms, you should use `dmake` or `nmake`, instead of `make`. + If your perl is system-managed, you can create a local::lib in your home directory to install modules to. For details, see the local::lib documentation: https://metacpan.org/pod/local::lib +The prerequisites of this distribution will also have to be installed manually. The +prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated +by running the manual build process described above. + +## Configure Prerequisites + +This distribution requires other modules to be installed before this +distribution's installer can be run. They can be found under the +"configure_requires" key of META.yml or the +"{prereqs}{configure}{requires}" key of META.json. + +## Other Prerequisites + +This distribution may require additional modules to be installed after running +Makefile.PL. +Look for prerequisites in the following phases: + +* to run make, PHASE = build +* to use the module code itself, PHASE = runtime +* to run tests, PHASE = test + +They can all be found in the "PHASE_requires" key of MYMETA.yml or the +"{prereqs}{PHASE}{requires}" key of MYMETA.json. + ## Documentation Package-DeprecationManager documentation is available as POD. -You can run perldoc from a shell to read the documentation: +You can run `perldoc` from a shell to read the documentation: % perldoc Package::DeprecationManager + +For more information on installing Perl modules via CPAN, please see: +https://www.cpan.org/modules/INSTALL.html diff -Nru libpackage-deprecationmanager-perl-0.17/lib/Package/DeprecationManager.pm libpackage-deprecationmanager-perl-0.18/lib/Package/DeprecationManager.pm --- libpackage-deprecationmanager-perl-0.17/lib/Package/DeprecationManager.pm 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/lib/Package/DeprecationManager.pm 2023-02-19 18:12:40.000000000 +0000 @@ -3,14 +3,14 @@ use strict; use warnings; -our $VERSION = '0.17'; +our $VERSION = '0.18'; use Carp qw( croak ); use List::Util 1.33 qw( any ); use Package::Stash; use Params::Util qw( _HASH0 ); use Sub::Install; -use Sub::Name qw( subname ); +use Sub::Util qw( set_subname ); sub import { shift; @@ -37,7 +37,7 @@ Sub::Install::install_sub( { - code => subname( $caller . '::import', $import ), + code => set_subname( $caller . '::import', $import ), into => $caller, as => 'import', } @@ -45,7 +45,7 @@ Sub::Install::install_sub( { - code => subname( $caller . '::deprecated', $warn ), + code => set_subname( $caller . '::deprecated', $warn ), into => $caller, as => 'deprecated', } @@ -93,7 +93,7 @@ my $deprecated_at = shift; my $ignore = shift; - my %ignore = map { $_ => 1 } grep { !ref } @{ $ignore || [] }; + my %ignore = map { $_ => 1 } grep { !ref } @{ $ignore || [] }; my @ignore_res = grep {ref} @{ $ignore || [] }; my %warned; @@ -106,9 +106,10 @@ my $skipped = 1; if ( @ignore_res || keys %ignore ) { - while ( defined $package + while ( + defined $package && ( $ignore{$package} || any { $package =~ $_ } @ignore_res ) - ) { + ) { $package = caller( $skipped++ ); } } @@ -166,7 +167,7 @@ =head1 VERSION -version 0.17 +version 0.18 =head1 SYNOPSIS @@ -219,23 +220,22 @@ In many cases, you can simply use the fully qualified name of a subroutine or method as the feature name. This works for cases where the whole subroutine is -deprecated. However, the feature names can be any string. This is useful if -you don't want to deprecate an entire subroutine, just a certain usage. +deprecated. However, the feature names can be any string. This is useful if you +don't want to deprecate an entire subroutine, just a certain usage. -You can also provide an optional array reference in the C<-ignore> -parameter. +You can also provide an optional array reference in the C<-ignore> parameter. -The values to be ignored can be package names or regular expressions (made -with C). Use this to ignore packages in your distribution that can -appear on the call stack when a deprecated feature is used. +The values to be ignored can be package names or regular expressions (made with +C). Use this to ignore packages in your distribution that can appear on +the call stack when a deprecated feature is used. As part of the import process, C will export two -subroutines into its caller. It provides an C sub for the caller and a -C sub. +subroutines into its caller. It provides an C sub for the caller and +a C sub. -The C sub allows callers of I class to specify an C<-api_version> -parameter. If this is supplied, then deprecation warnings are only issued for -deprecations with API versions earlier than the one specified. +The C sub allows callers of I class to specify an +C<-api_version> parameter. If this is supplied, then deprecation warnings are +only issued for deprecations with API versions earlier than the one specified. You must call the C sub in each deprecated subroutine. When called, it will issue a warning using C. @@ -253,14 +253,14 @@ A given deprecation warning is only issued once for a given package. This module tracks this based on both the feature name I the error message -itself. This means that if you provide several different error messages for -the same feature, all of those errors will appear. +itself. This means that if you provide several different error messages for the +same feature, all of those errors will appear. =head2 Other import() subs -This module works by installing an C sub in any package that uses -it. If that package I has an C sub, then that C will -be called after any arguments passed for C are +This module works by installing an C sub in any package that uses it. +If that package I has an C sub, then that C will be +called after any arguments passed for C are stripped out. You need to define your C sub before you C to make this work: @@ -280,17 +280,16 @@ consider making a "donation" to me via PayPal. I spend a lot of free time creating free software, and would appreciate any support you'd care to offer. -Please note that B in order -for me to continue working on this particular software. I will -continue to do so, inasmuch as I have in the past, for as long as it -interests me. +Please note that B in order for me +to continue working on this particular software. I will continue to do so, +inasmuch as I have in the past, for as long as it interests me. Similarly, a donation made in this way will probably not make me work on this software much more, unless I get so many donations that I can consider working on free software full time, which seems unlikely at best. -To donate, log into PayPal and send money to autarch@urth.org or use the -button on this page: L +To donate, log into PayPal and send money to autarch@urth.org or use the button +on this page: L =head1 CREDITS @@ -304,10 +303,11 @@ L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. -Bugs may be submitted through L -(or L). +Bugs may be submitted at L. + +=head1 SOURCE -I am also usually active on IRC as 'drolsky' on C. +The source code repository for Package-DeprecationManager can be found at L. =head1 DONATIONS @@ -324,7 +324,7 @@ on free software full time (let's all have a chuckle at that together). To donate, log into PayPal and send money to autarch@urth.org, or use the -button at L. +button at L. =head1 AUTHOR @@ -332,12 +332,16 @@ =head1 CONTRIBUTORS -=for stopwords Jesse Luehrs Karen Etheridge Tomas Doran +=for stopwords Aristotle Pagaltzis Jesse Luehrs Karen Etheridge Tomas Doran =over 4 =item * +Aristotle Pagaltzis + +=item * + Jesse Luehrs =item * @@ -350,12 +354,15 @@ =back -=head1 COPYRIGHT AND LICENCE +=head1 COPYRIGHT AND LICENSE -This software is Copyright (c) 2016 by Dave Rolsky. +This software is Copyright (c) 2023 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) +The full text of the license can be found in the +F file included with this distribution. + =cut diff -Nru libpackage-deprecationmanager-perl-0.17/LICENSE libpackage-deprecationmanager-perl-0.18/LICENSE --- libpackage-deprecationmanager-perl-0.17/LICENSE 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/LICENSE 2023-02-19 18:12:40.000000000 +0000 @@ -1,4 +1,4 @@ -This software is Copyright (c) 2016 by Dave Rolsky. +This software is Copyright (c) 2023 by Dave Rolsky. This is free software, licensed under: diff -Nru libpackage-deprecationmanager-perl-0.17/Makefile.PL libpackage-deprecationmanager-perl-0.18/Makefile.PL --- libpackage-deprecationmanager-perl-0.17/Makefile.PL 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/Makefile.PL 2023-02-19 18:12:40.000000000 +0000 @@ -1,9 +1,11 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.005. +# This Makefile.PL for Package-DeprecationManager was generated by +# Dist::Zilla::Plugin::DROLSKY::MakeMaker 1.22 +# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.49. +# Don't edit it but the dist.ini and plugins used to construct it. + use strict; use warnings; - - use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( @@ -21,7 +23,7 @@ "Package::Stash" => 0, "Params::Util" => 0, "Sub::Install" => 0, - "Sub::Name" => 0, + "Sub::Util" => 0, "strict" => 0, "warnings" => 0 }, @@ -33,13 +35,12 @@ "Test::More" => "0.96", "Test::Warnings" => 0 }, - "VERSION" => "0.17", + "VERSION" => "0.18", "test" => { "TESTS" => "t/*.t" } ); - my %FallbackPrereqs = ( "Carp" => 0, "Exporter" => 0, @@ -49,7 +50,7 @@ "Package::Stash" => 0, "Params::Util" => 0, "Sub::Install" => 0, - "Sub::Name" => 0, + "Sub::Util" => 0, "Test::Fatal" => 0, "Test::More" => "0.96", "Test::Warnings" => 0, @@ -57,8 +58,7 @@ "warnings" => 0 ); - -unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { +unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) { delete $WriteMakefileArgs{TEST_REQUIRES}; delete $WriteMakefileArgs{BUILD_REQUIRES}; $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; diff -Nru libpackage-deprecationmanager-perl-0.17/MANIFEST libpackage-deprecationmanager-perl-0.18/MANIFEST --- libpackage-deprecationmanager-perl-0.17/MANIFEST 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/MANIFEST 2023-02-19 18:12:40.000000000 +0000 @@ -1,4 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.005. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030. +CODE_OF_CONDUCT.md CONTRIBUTING.md Changes INSTALL @@ -8,27 +9,29 @@ META.yml Makefile.PL README.md +azure-pipelines.yml cpanfile +dev-bin/install-xt-tools.sh dist.ini +git/hooks/pre-commit.sh +git/setup.pl lib/Package/DeprecationManager.pm perlcriticrc perltidyrc +precious.toml t/00-report-prereqs.dd t/00-report-prereqs.t t/basic.t t/export.t -tidyall.ini xt/author/00-compile.t xt/author/eol.t xt/author/mojibake.t xt/author/no-tabs.t xt/author/pod-coverage.t -xt/author/pod-no404s.t xt/author/pod-spell.t xt/author/pod-syntax.t xt/author/portability.t +xt/author/precious.t xt/author/test-version.t xt/release/cpan-changes.t xt/release/meta-json.t -xt/release/pod-linkcheck.t -xt/release/tidyall.t diff -Nru libpackage-deprecationmanager-perl-0.17/META.json libpackage-deprecationmanager-perl-0.18/META.json --- libpackage-deprecationmanager-perl-0.17/META.json 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/META.json 2023-02-19 18:12:40.000000000 +0000 @@ -4,7 +4,7 @@ "Dave Rolsky " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], @@ -21,30 +21,30 @@ }, "develop" : { "requires" : { - "Code::TidyAll::Plugin::Test::Vars" : "0.02", + "Capture::Tiny" : "0", + "Encode" : "0", "File::Spec" : "0", + "FindBin" : "0", "IO::Handle" : "0", "IPC::Open3" : "0", - "Perl::Critic" : "1.126", - "Perl::Tidy" : "20160302", + "Perl::Critic" : "1.138", + "Perl::Critic::Moose" : "1.05", + "Perl::Tidy" : "20210111", + "Pod::Checker" : "1.74", "Pod::Coverage::TrustPod" : "0", + "Pod::Tidy" : "0.10", "Pod::Wordlist" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta::JSON" : "0.16", - "Test::Code::TidyAll" : "0.24", "Test::EOL" : "0", "Test::Mojibake" : "0", "Test::More" : "0.96", "Test::NoTabs" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", - "Test::Pod::LinkCheck" : "0", - "Test::Pod::No404s" : "0", "Test::Portability::Files" : "0", "Test::Spelling" : "0.12", - "Test::Vars" : "0.009", - "Test::Version" : "1", - "blib" : "1.01", + "Test::Version" : "2.05", "perl" : "5.006" } }, @@ -55,7 +55,7 @@ "Package::Stash" : "0", "Params::Util" : "0", "Sub::Install" : "0", - "Sub::Name" : "0", + "Sub::Util" : "0", "strict" : "0", "warnings" : "0" } @@ -77,50 +77,43 @@ "provides" : { "Package::DeprecationManager" : { "file" : "lib/Package/DeprecationManager.pm", - "version" : "0.17" + "version" : "0.18" } }, "release_status" : "stable", "resources" : { "bugtracker" : { - "mailto" : "bug-package-deprecationmanager@rt.cpan.org", - "web" : "http://rt.cpan.org/Public/Dist/Display.html?Name=Package-DeprecationManager" + "web" : "https://github.com/moose/Package-DeprecationManager/issues" }, - "homepage" : "http://metacpan.org/release/Package-DeprecationManager", + "homepage" : "https://metacpan.org/release/Package-DeprecationManager", "repository" : { "type" : "git", "url" : "git://github.com/moose/Package-DeprecationManager.git", "web" : "https://github.com/moose/Package-DeprecationManager" } }, - "version" : "0.17", + "version" : "0.18", "x_Dist_Zilla" : { "perl" : { - "version" : "5.024000" + "version" : "5.032001" }, "plugins" : [ { - "class" : "Dist::Zilla::Plugin::MakeMaker", - "config" : { - "Dist::Zilla::Role::TestRunner" : { - "default_jobs" : 1 - } - }, - "name" : "@DROLSKY/MakeMaker", - "version" : "6.005" + "class" : "Dist::Zilla::Plugin::DROLSKY::BundleAuthordep", + "name" : "@DROLSKY/DROLSKY::BundleAuthordep", + "version" : "1.22" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", "config" : { "Dist::Zilla::Plugin::GatherDir" : { "exclude_filename" : [ - "Build.PL", + "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "LICENSE", "Makefile.PL", "README.md", - "cpanfile", - "ppport.h" + "cpanfile" ], "exclude_match" : [], "follow_symlinks" : 0, @@ -134,32 +127,32 @@ } }, "name" : "@DROLSKY/Git::GatherDir", - "version" : "2.039" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@DROLSKY/ManifestSkip", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@DROLSKY/License", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@DROLSKY/ExecDir", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@DROLSKY/ShareDir", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@DROLSKY/Manifest", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::CheckVersionIncrement", @@ -169,22 +162,28 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@DROLSKY/TestRelease", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@DROLSKY/ConfirmRelease", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@DROLSKY/UploadToCPAN", - "version" : "6.005" + "version" : "6.030" }, { - "class" : "Dist::Zilla::Plugin::DROLSKY::VersionProvider", - "name" : "@DROLSKY/DROLSKY::VersionProvider", - "version" : "0.62" + "class" : "Dist::Zilla::Plugin::VersionFromMainModule", + "config" : { + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000037", + "version" : "0.006" + } + }, + "name" : "@DROLSKY/VersionFromMainModule", + "version" : "0.04" }, { "class" : "Dist::Zilla::Plugin::Authority", @@ -194,17 +193,17 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@DROLSKY/AutoPrereqs", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", "name" : "@DROLSKY/CopyFilesFromBuild", - "version" : "0.161350" + "version" : "0.170880" }, { "class" : "Dist::Zilla::Plugin::GitHub::Meta", "name" : "@DROLSKY/GitHub::Meta", - "version" : "0.42" + "version" : "0.48" }, { "class" : "Dist::Zilla::Plugin::GitHub::Update", @@ -214,12 +213,12 @@ } }, "name" : "@DROLSKY/GitHub::Update", - "version" : "0.42" + "version" : "0.48" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@DROLSKY/MetaResources", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -229,24 +228,24 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.005" + "version" : "6.030" } - ] + ], + "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { - "Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.001011", - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000037", + "version" : "0.006" } }, "name" : "@DROLSKY/MetaProvides::Package", - "version" : "2.003002" - }, - { - "class" : "Dist::Zilla::Plugin::MetaYAML", - "name" : "@DROLSKY/MetaYAML", - "version" : "6.005" + "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::Meta::Contributors", @@ -256,17 +255,22 @@ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@DROLSKY/MetaConfig", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@DROLSKY/MetaJSON", - "version" : "6.005" + "version" : "6.030" + }, + { + "class" : "Dist::Zilla::Plugin::MetaYAML", + "name" : "@DROLSKY/MetaYAML", + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@DROLSKY/NextRelease", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -277,7 +281,7 @@ } }, "name" : "@DROLSKY/Test::More with subtest", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -287,8 +291,19 @@ "type" : "requires" } }, - "name" : "@DROLSKY/Modules for use with tidyall", - "version" : "6.005" + "name" : "@DROLSKY/Tools for use with precious", + "version" : "6.030" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs", + "config" : { + "Dist::Zilla::Plugin::Prereqs" : { + "phase" : "develop", + "type" : "requires" + } + }, + "name" : "@DROLSKY/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7", + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -305,7 +320,7 @@ } }, "name" : "@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY", - "version" : "0.051" + "version" : "0.057" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -317,29 +332,35 @@ "phase" : "release", "run_under_travis" : 0, "skip" : [ - "Dist::Zilla::Plugin::DROLSKY::CheckChangesHasContent", + "Dist::Zilla::Plugin::DROLSKY::BundleAuthordep", "Dist::Zilla::Plugin::DROLSKY::Contributors", "Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch", "Dist::Zilla::Plugin::DROLSKY::License", - "Dist::Zilla::Plugin::DROLSKY::TidyAll", - "Dist::Zilla::Plugin::DROLSKY::VersionProvider", + "Dist::Zilla::Plugin::DROLSKY::MakeMaker", + "Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles", + "Dist::Zilla::Plugin::DROLSKY::Precious", + "Dist::Zilla::Plugin::DROLSKY::Test::Precious", + "Dist::Zilla::Plugin::DROLSKY::WeaverConfig", "Pod::Weaver::PluginBundle::DROLSKY" ] } }, "name" : "@DROLSKY/PromptIfStale", - "version" : "0.051" + "version" : "0.057" }, { "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable", "name" : "@DROLSKY/Test::Pod::Coverage::Configurable", - "version" : "0.06" + "version" : "0.07" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", "config" : { "Dist::Zilla::Plugin::Test::PodSpelling" : { - "directories" : [], + "directories" : [ + "bin", + "lib" + ], "spell_cmd" : "", "stopwords" : [ "DROLSKY", @@ -355,39 +376,29 @@ } }, "name" : "@DROLSKY/Test::PodSpelling", - "version" : "2.007002" + "version" : "2.007005" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@DROLSKY/PodSyntaxTests", - "version" : "6.005" - }, - { - "class" : "Dist::Zilla::Plugin::Test::Pod::LinkCheck", - "name" : "@DROLSKY/Test::Pod::LinkCheck", - "version" : "1.002" + "version" : "6.030" }, { - "class" : "Dist::Zilla::Plugin::Test::Pod::No404s", - "name" : "@DROLSKY/Test::Pod::No404s", - "version" : "1.003" + "class" : "Dist::Zilla::Plugin::MojibakeTests", + "name" : "@DROLSKY/MojibakeTests", + "version" : "0.8" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", "config" : { "Dist::Zilla::Role::TestRunner" : { - "default_jobs" : 1 + "default_jobs" : "12" } }, "name" : "@DROLSKY/RunExtraTests", "version" : "0.029" }, { - "class" : "Dist::Zilla::Plugin::MojibakeTests", - "name" : "@DROLSKY/MojibakeTests", - "version" : "0.8" - }, - { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", "config" : { "Dist::Zilla::Plugin::Test::CPAN::Changes" : { @@ -408,15 +419,15 @@ "Dist::Zilla::Plugin::Test::EOL" : { "filename" : "xt/author/eol.t", "finder" : [ - ":InstallModules", ":ExecFiles", + ":InstallModules", ":TestFiles" ], - "trailing_whitespace" : "1" + "trailing_whitespace" : 1 } }, "name" : "@DROLSKY/Test::EOL", - "version" : "0.18" + "version" : "0.19" }, { "class" : "Dist::Zilla::Plugin::Test::NoTabs", @@ -435,19 +446,19 @@ }, { "class" : "Dist::Zilla::Plugin::Test::Portability", + "config" : { + "Dist::Zilla::Plugin::Test::Portability" : { + "options" : "" + } + }, "name" : "@DROLSKY/Test::Portability", - "version" : "2.000007" - }, - { - "class" : "Dist::Zilla::Plugin::Test::TidyAll", - "name" : "@DROLSKY/Test::TidyAll", - "version" : "0.03" + "version" : "2.001001" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", "config" : { "Dist::Zilla::Plugin::Test::Compile" : { - "bail_out_on_fail" : "0", + "bail_out_on_fail" : 0, "fail_on_warning" : "author", "fake_home" : 0, "filename" : "xt/author/00-compile.t", @@ -459,16 +470,17 @@ "script_finder" : [ ":PerlExecFiles" ], - "skips" : [] + "skips" : [], + "switch" : [] } }, "name" : "@DROLSKY/Test::Compile", - "version" : "2.054" + "version" : "2.058" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@DROLSKY/Test::ReportPrereqs", - "version" : "0.025" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::Test::Version", @@ -476,24 +488,28 @@ "version" : "1.09" }, { + "class" : "Dist::Zilla::Plugin::DROLSKY::Test::Precious", + "name" : "@DROLSKY/DROLSKY::Test::Precious", + "version" : "1.22" + }, + { "class" : "Dist::Zilla::Plugin::DROLSKY::Contributors", "name" : "@DROLSKY/DROLSKY::Contributors", - "version" : "0.62" + "version" : "1.22" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { + "git_version" : "2.39.2", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", - "paths" : [ - "." - ] + "paths" : [] } }, "name" : "@DROLSKY/Git::Contributors", - "version" : "0.023" + "version" : "0.036" }, { "class" : "Dist::Zilla::Plugin::SurgicalPodWeaver", @@ -510,97 +526,97 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@DROLSKY/SingleEncoding", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@DROLSKY/List", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::Transformer", "name" : "@DROLSKY/Verbatim", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/header", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@DROLSKY/Name", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@DROLSKY/Version", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/prelude", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "FUNCTIONS", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "TYPES", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@DROLSKY/Leftovers", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/postlude", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::GenerateSection", "name" : "@DROLSKY/generate SUPPORT", - "version" : "1.01" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::AllowOverride", @@ -609,13 +625,18 @@ }, { "class" : "Pod::Weaver::Section::GenerateSection", + "name" : "@DROLSKY/generate SOURCE", + "version" : "4.018" + }, + { + "class" : "Pod::Weaver::Section::GenerateSection", "name" : "@DROLSKY/generate DONATIONS", - "version" : "1.01" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@DROLSKY/Authors", - "version" : "4.013" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Contributors", @@ -625,12 +646,17 @@ { "class" : "Pod::Weaver::Section::Legal", "name" : "@DROLSKY/Legal", - "version" : "4.013" + "version" : "4.018" + }, + { + "class" : "Pod::Weaver::Section::AllowOverride", + "name" : "@DROLSKY/allow override Legal", + "version" : "0.05" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@DROLSKY/footer", - "version" : "4.013" + "version" : "4.018" } ] } @@ -639,6 +665,11 @@ "version" : "0.0023" }, { + "class" : "Dist::Zilla::Plugin::DROLSKY::WeaverConfig", + "name" : "@DROLSKY/DROLSKY::WeaverConfig", + "version" : "1.22" + }, + { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", "config" : { "Dist::Zilla::Role::FileWatcher" : { @@ -646,7 +677,7 @@ } }, "name" : "@DROLSKY/README.md in build", - "version" : "0.161170" + "version" : "0.163250" }, { "class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir", @@ -655,68 +686,127 @@ "destination_filename" : "CONTRIBUTING.md", "dist" : "Dist-Zilla-PluginBundle-DROLSKY", "encoding" : "UTF-8", - "has_xs" : "0", + "has_xs" : 0, "location" : "build", "source_filename" : "CONTRIBUTING.md" }, "Dist::Zilla::Role::RepoFileInjector" : { "allow_overwrite" : 1, "repo_root" : ".", - "version" : "0.006" + "version" : "0.009" } }, - "name" : "@DROLSKY/generate CONTRIBUTING", - "version" : "0.009" + "name" : "@DROLSKY/Generate CONTRIBUTING.md", + "version" : "0.015" + }, + { + "class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir", + "config" : { + "Dist::Zilla::Plugin::GenerateFile::FromShareDir" : { + "destination_filename" : "CODE_OF_CONDUCT.md", + "dist" : "Dist-Zilla-PluginBundle-DROLSKY", + "encoding" : "UTF-8", + "has_xs" : 0, + "location" : "build", + "source_filename" : "CODE_OF_CONDUCT.md" + }, + "Dist::Zilla::Role::RepoFileInjector" : { + "allow_overwrite" : 1, + "repo_root" : ".", + "version" : "0.009" + } + }, + "name" : "@DROLSKY/Generate CODE_OF_CONDUCT.md", + "version" : "0.015" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", + "config" : { + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000037", + "version" : "0.006" + } + }, "name" : "@DROLSKY/InstallGuide", - "version" : "1.200007" + "version" : "1.200014" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@DROLSKY/CPANFile", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::License", "name" : "@DROLSKY/DROLSKY::License", - "version" : "0.62" + "version" : "1.22" }, { - "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", - "name" : "@DROLSKY/CheckPrereqsIndexed", - "version" : "0.018" + "class" : "Dist::Zilla::Plugin::CheckStrictVersion", + "name" : "@DROLSKY/CheckStrictVersion", + "version" : "0.001" }, { - "class" : "Dist::Zilla::Plugin::DROLSKY::CheckChangesHasContent", - "name" : "@DROLSKY/DROLSKY::CheckChangesHasContent", - "version" : "0.62" + "class" : "Dist::Zilla::Plugin::CheckSelfDependency", + "config" : { + "Dist::Zilla::Plugin::CheckSelfDependency" : { + "finder" : [ + ":InstallModules" + ] + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000037", + "version" : "0.006" + } + }, + "name" : "@DROLSKY/CheckSelfDependency", + "version" : "0.011" + }, + { + "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", + "name" : "@DROLSKY/CheckPrereqsIndexed", + "version" : "0.022" }, { "class" : "Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." } }, "name" : "@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch", - "version" : "0.62" + "version" : "1.22" + }, + { + "class" : "Dist::Zilla::Plugin::EnsureChangesHasContent", + "name" : "@DROLSKY/EnsureChangesHasContent", + "version" : "0.02" }, { "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." } }, "name" : "@DROLSKY/Git::CheckFor::MergeConflicts", - "version" : "0.013" + "version" : "0.014" + }, + { + "class" : "Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles", + "name" : "@DROLSKY/DROLSKY::PerlLinterConfigFiles", + "version" : "1.22" + }, + { + "class" : "Dist::Zilla::Plugin::DROLSKY::DevTools", + "name" : "@DROLSKY/DROLSKY::DevTools", + "version" : "1.22" }, { - "class" : "Dist::Zilla::Plugin::DROLSKY::TidyAll", - "name" : "@DROLSKY/DROLSKY::TidyAll", - "version" : "0.62" + "class" : "Dist::Zilla::Plugin::DROLSKY::Precious", + "name" : "@DROLSKY/DROLSKY::Precious", + "version" : "1.22" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -726,57 +816,58 @@ }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "Build.PL", + "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "Changes", "LICENSE", "Makefile.PL", "README.md", "cpanfile", - "ppport.h", - "tidyall.ini" + "precious.toml" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." } }, "name" : "@DROLSKY/Git::Check", - "version" : "2.039" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], - "commit_msg" : "v%v%n%n%c" + "commit_msg" : "v%V%n%n%c", + "signoff" : 0 }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ - "Build.PL", + "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "Changes", "LICENSE", "Makefile.PL", "README.md", "cpanfile", - "ppport.h", - "tidyall.ini" + "precious.toml" ], "allow_dirty_match" : [], "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { "time_zone" : "local" } }, - "name" : "@DROLSKY/commit generated files", - "version" : "2.039" + "name" : "@DROLSKY/Commit generated files", + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -785,11 +876,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v0.17", - "tag_format" : "v%v", - "tag_message" : "v%v" + "tag" : "v0.18", + "tag_format" : "v%V", + "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -797,7 +889,7 @@ } }, "name" : "@DROLSKY/Git::Tag", - "version" : "2.039" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -809,11 +901,12 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." } }, "name" : "@DROLSKY/Git::Push", - "version" : "2.039" + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease", @@ -828,14 +921,15 @@ } }, "name" : "@DROLSKY/BumpVersionAfterRelease", - "version" : "0.015" + "version" : "0.018" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "config" : { "Dist::Zilla::Plugin::Git::Commit" : { "add_files_in" : [], - "commit_msg" : "Bump version after release" + "commit_msg" : "Bump version after release", + "signoff" : 0 }, "Dist::Zilla::Role::Git::DirtyFiles" : { "allow_dirty" : [ @@ -848,14 +942,15 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { "time_zone" : "local" } }, - "name" : "@DROLSKY/commit version bump", - "version" : "2.039" + "name" : "@DROLSKY/Commit version bump", + "version" : "2.048" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -867,81 +962,104 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { + "git_version" : "2.39.2", "repo_root" : "." } }, - "name" : "@DROLSKY/push version bump", - "version" : "2.039" + "name" : "@DROLSKY/Push version bump", + "version" : "2.048" + }, + { + "class" : "Dist::Zilla::Plugin::DROLSKY::MakeMaker", + "config" : { + "Dist::Zilla::Plugin::MakeMaker" : { + "make_path" : "make", + "version" : "6.030" + }, + "Dist::Zilla::Plugin::MakeMaker::Awesome" : { + "version" : "0.49" + }, + "Dist::Zilla::Role::TestRunner" : { + "default_jobs" : "12", + "version" : "6.030" + } + }, + "name" : "@DROLSKY/DROLSKY::MakeMaker", + "version" : "1.22" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.005" + "version" : "6.030" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.005" + "version" : "6.030" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "6.005" + "version" : "6.030" } }, "x_authority" : "cpan:DROLSKY", "x_contributors" : [ + "Aristotle Pagaltzis ", "Jesse Luehrs ", "Karen Etheridge ", "Tomas Doran " - ] + ], + "x_generated_by_perl" : "v5.32.1", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.26", + "x_spdx_expression" : "Artistic-2.0" } diff -Nru libpackage-deprecationmanager-perl-0.17/META.yml libpackage-deprecationmanager-perl-0.18/META.yml --- libpackage-deprecationmanager-perl-0.17/META.yml 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/META.yml 2023-02-19 18:12:40.000000000 +0000 @@ -12,7 +12,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -21,44 +21,40 @@ provides: Package::DeprecationManager: file: lib/Package/DeprecationManager.pm - version: '0.17' + version: '0.18' requires: Carp: '0' List::Util: '1.33' Package::Stash: '0' Params::Util: '0' Sub::Install: '0' - Sub::Name: '0' + Sub::Util: '0' strict: '0' warnings: '0' resources: - bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Package-DeprecationManager - homepage: http://metacpan.org/release/Package-DeprecationManager + bugtracker: https://github.com/moose/Package-DeprecationManager/issues + homepage: https://metacpan.org/release/Package-DeprecationManager repository: git://github.com/moose/Package-DeprecationManager.git -version: '0.17' +version: '0.18' x_Dist_Zilla: perl: - version: '5.024000' + version: '5.032001' plugins: - - class: Dist::Zilla::Plugin::MakeMaker - config: - Dist::Zilla::Role::TestRunner: - default_jobs: 1 - name: '@DROLSKY/MakeMaker' - version: '6.005' + class: Dist::Zilla::Plugin::DROLSKY::BundleAuthordep + name: '@DROLSKY/DROLSKY::BundleAuthordep' + version: '1.22' - class: Dist::Zilla::Plugin::Git::GatherDir config: Dist::Zilla::Plugin::GatherDir: exclude_filename: - - Build.PL + - CODE_OF_CONDUCT.md - CONTRIBUTING.md - LICENSE - Makefile.PL - README.md - cpanfile - - ppport.h exclude_match: [] follow_symlinks: 0 include_dotfiles: 0 @@ -68,27 +64,27 @@ Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@DROLSKY/Git::GatherDir' - version: '2.039' + version: '2.048' - class: Dist::Zilla::Plugin::ManifestSkip name: '@DROLSKY/ManifestSkip' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::License name: '@DROLSKY/License' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::ExecDir name: '@DROLSKY/ExecDir' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::ShareDir name: '@DROLSKY/ShareDir' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::Manifest name: '@DROLSKY/Manifest' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::CheckVersionIncrement name: '@DROLSKY/CheckVersionIncrement' @@ -96,19 +92,23 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@DROLSKY/TestRelease' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@DROLSKY/ConfirmRelease' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@DROLSKY/UploadToCPAN' - version: '6.005' + version: '6.030' - - class: Dist::Zilla::Plugin::DROLSKY::VersionProvider - name: '@DROLSKY/DROLSKY::VersionProvider' - version: '0.62' + class: Dist::Zilla::Plugin::VersionFromMainModule + config: + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000037' + version: '0.006' + name: '@DROLSKY/VersionFromMainModule' + version: '0.04' - class: Dist::Zilla::Plugin::Authority name: '@DROLSKY/Authority' @@ -116,26 +116,26 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: '@DROLSKY/AutoPrereqs' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@DROLSKY/CopyFilesFromBuild' - version: '0.161350' + version: '0.170880' - class: Dist::Zilla::Plugin::GitHub::Meta name: '@DROLSKY/GitHub::Meta' - version: '0.42' + version: '0.48' - class: Dist::Zilla::Plugin::GitHub::Update config: Dist::Zilla::Plugin::GitHub::Update: metacpan: 1 name: '@DROLSKY/GitHub::Update' - version: '0.42' + version: '0.48' - class: Dist::Zilla::Plugin::MetaResources name: '@DROLSKY/MetaResources' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -144,18 +144,18 @@ - class: Dist::Zilla::Plugin::FinderCode name: '@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.005' + version: '6.030' + include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: - Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.001011' + $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' inherit_missing: '1' inherit_version: '1' meta_noindex: '1' + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000037' + version: '0.006' name: '@DROLSKY/MetaProvides::Package' - version: '2.003002' - - - class: Dist::Zilla::Plugin::MetaYAML - name: '@DROLSKY/MetaYAML' - version: '6.005' + version: '2.004003' - class: Dist::Zilla::Plugin::Meta::Contributors name: '@DROLSKY/Meta::Contributors' @@ -163,15 +163,19 @@ - class: Dist::Zilla::Plugin::MetaConfig name: '@DROLSKY/MetaConfig' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::MetaJSON name: '@DROLSKY/MetaJSON' - version: '6.005' + version: '6.030' + - + class: Dist::Zilla::Plugin::MetaYAML + name: '@DROLSKY/MetaYAML' + version: '6.030' - class: Dist::Zilla::Plugin::NextRelease name: '@DROLSKY/NextRelease' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::Prereqs config: @@ -179,15 +183,23 @@ phase: test type: requires name: '@DROLSKY/Test::More with subtest' - version: '6.005' + version: '6.030' + - + class: Dist::Zilla::Plugin::Prereqs + config: + Dist::Zilla::Plugin::Prereqs: + phase: develop + type: requires + name: '@DROLSKY/Tools for use with precious' + version: '6.030' - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: develop type: requires - name: '@DROLSKY/Modules for use with tidyall' - version: '6.005' + name: '@DROLSKY/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7' + version: '6.030' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -200,7 +212,7 @@ run_under_travis: 0 skip: [] name: '@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY' - version: '0.051' + version: '0.057' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -211,24 +223,29 @@ phase: release run_under_travis: 0 skip: - - Dist::Zilla::Plugin::DROLSKY::CheckChangesHasContent + - Dist::Zilla::Plugin::DROLSKY::BundleAuthordep - Dist::Zilla::Plugin::DROLSKY::Contributors - Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch - Dist::Zilla::Plugin::DROLSKY::License - - Dist::Zilla::Plugin::DROLSKY::TidyAll - - Dist::Zilla::Plugin::DROLSKY::VersionProvider + - Dist::Zilla::Plugin::DROLSKY::MakeMaker + - Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles + - Dist::Zilla::Plugin::DROLSKY::Precious + - Dist::Zilla::Plugin::DROLSKY::Test::Precious + - Dist::Zilla::Plugin::DROLSKY::WeaverConfig - Pod::Weaver::PluginBundle::DROLSKY name: '@DROLSKY/PromptIfStale' - version: '0.051' + version: '0.057' - class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable name: '@DROLSKY/Test::Pod::Coverage::Configurable' - version: '0.06' + version: '0.07' - class: Dist::Zilla::Plugin::Test::PodSpelling config: Dist::Zilla::Plugin::Test::PodSpelling: - directories: [] + directories: + - bin + - lib spell_cmd: '' stopwords: - DROLSKY @@ -241,31 +258,23 @@ - drolsky wordlist: Pod::Wordlist name: '@DROLSKY/Test::PodSpelling' - version: '2.007002' + version: '2.007005' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@DROLSKY/PodSyntaxTests' - version: '6.005' + version: '6.030' - - class: Dist::Zilla::Plugin::Test::Pod::LinkCheck - name: '@DROLSKY/Test::Pod::LinkCheck' - version: '1.002' - - - class: Dist::Zilla::Plugin::Test::Pod::No404s - name: '@DROLSKY/Test::Pod::No404s' - version: '1.003' + class: Dist::Zilla::Plugin::MojibakeTests + name: '@DROLSKY/MojibakeTests' + version: '0.8' - class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: - default_jobs: 1 + default_jobs: '12' name: '@DROLSKY/RunExtraTests' version: '0.029' - - class: Dist::Zilla::Plugin::MojibakeTests - name: '@DROLSKY/MojibakeTests' - version: '0.8' - - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: Dist::Zilla::Plugin::Test::CPAN::Changes: @@ -282,12 +291,12 @@ Dist::Zilla::Plugin::Test::EOL: filename: xt/author/eol.t finder: - - ':InstallModules' - ':ExecFiles' + - ':InstallModules' - ':TestFiles' - trailing_whitespace: '1' + trailing_whitespace: 1 name: '@DROLSKY/Test::EOL' - version: '0.18' + version: '0.19' - class: Dist::Zilla::Plugin::Test::NoTabs config: @@ -301,12 +310,11 @@ version: '0.15' - class: Dist::Zilla::Plugin::Test::Portability + config: + Dist::Zilla::Plugin::Test::Portability: + options: '' name: '@DROLSKY/Test::Portability' - version: '2.000007' - - - class: Dist::Zilla::Plugin::Test::TidyAll - name: '@DROLSKY/Test::TidyAll' - version: '0.03' + version: '2.001001' - class: Dist::Zilla::Plugin::Test::Compile config: @@ -322,31 +330,36 @@ script_finder: - ':PerlExecFiles' skips: [] + switch: [] name: '@DROLSKY/Test::Compile' - version: '2.054' + version: '2.058' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@DROLSKY/Test::ReportPrereqs' - version: '0.025' + version: '0.029' - class: Dist::Zilla::Plugin::Test::Version name: '@DROLSKY/Test::Version' version: '1.09' - + class: Dist::Zilla::Plugin::DROLSKY::Test::Precious + name: '@DROLSKY/DROLSKY::Test::Precious' + version: '1.22' + - class: Dist::Zilla::Plugin::DROLSKY::Contributors name: '@DROLSKY/DROLSKY::Contributors' - version: '0.62' + version: '1.22' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: + git_version: 2.39.2 include_authors: 0 include_releaser: 1 order_by: name - paths: - - . + paths: [] name: '@DROLSKY/Git::Contributors' - version: '0.023' + version: '0.036' - class: Dist::Zilla::Plugin::SurgicalPodWeaver config: @@ -360,91 +373,95 @@ - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Plugin::SingleEncoding name: '@DROLSKY/SingleEncoding' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Plugin::Transformer name: '@DROLSKY/List' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Plugin::Transformer name: '@DROLSKY/Verbatim' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Region name: '@DROLSKY/header' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Name name: '@DROLSKY/Name' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Version name: '@DROLSKY/Version' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Region name: '@DROLSKY/prelude' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Generic name: SYNOPSIS - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Generic name: DESCRIPTION - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Generic name: OVERVIEW - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Collect name: METHODS - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Collect name: FUNCTIONS - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Collect name: TYPES - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Leftovers name: '@DROLSKY/Leftovers' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Region name: '@DROLSKY/postlude' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::GenerateSection name: '@DROLSKY/generate SUPPORT' - version: '1.01' + version: '4.018' - class: Pod::Weaver::Section::AllowOverride name: '@DROLSKY/allow override SUPPORT' version: '0.05' - class: Pod::Weaver::Section::GenerateSection + name: '@DROLSKY/generate SOURCE' + version: '4.018' + - + class: Pod::Weaver::Section::GenerateSection name: '@DROLSKY/generate DONATIONS' - version: '1.01' + version: '4.018' - class: Pod::Weaver::Section::Authors name: '@DROLSKY/Authors' - version: '4.013' + version: '4.018' - class: Pod::Weaver::Section::Contributors name: '@DROLSKY/Contributors' @@ -452,20 +469,28 @@ - class: Pod::Weaver::Section::Legal name: '@DROLSKY/Legal' - version: '4.013' + version: '4.018' + - + class: Pod::Weaver::Section::AllowOverride + name: '@DROLSKY/allow override Legal' + version: '0.05' - class: Pod::Weaver::Section::Region name: '@DROLSKY/footer' - version: '4.013' + version: '4.018' name: '@DROLSKY/SurgicalPodWeaver' version: '0.0023' - + class: Dist::Zilla::Plugin::DROLSKY::WeaverConfig + name: '@DROLSKY/DROLSKY::WeaverConfig' + version: '1.22' + - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: Dist::Zilla::Role::FileWatcher: version: '0.006' name: '@DROLSKY/README.md in build' - version: '0.161170' + version: '0.163250' - class: Dist::Zilla::Plugin::GenerateFile::FromShareDir config: @@ -479,47 +504,92 @@ Dist::Zilla::Role::RepoFileInjector: allow_overwrite: 1 repo_root: . - version: '0.006' - name: '@DROLSKY/generate CONTRIBUTING' - version: '0.009' + version: '0.009' + name: '@DROLSKY/Generate CONTRIBUTING.md' + version: '0.015' + - + class: Dist::Zilla::Plugin::GenerateFile::FromShareDir + config: + Dist::Zilla::Plugin::GenerateFile::FromShareDir: + destination_filename: CODE_OF_CONDUCT.md + dist: Dist-Zilla-PluginBundle-DROLSKY + encoding: UTF-8 + has_xs: '0' + location: build + source_filename: CODE_OF_CONDUCT.md + Dist::Zilla::Role::RepoFileInjector: + allow_overwrite: 1 + repo_root: . + version: '0.009' + name: '@DROLSKY/Generate CODE_OF_CONDUCT.md' + version: '0.015' - class: Dist::Zilla::Plugin::InstallGuide + config: + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000037' + version: '0.006' name: '@DROLSKY/InstallGuide' - version: '1.200007' + version: '1.200014' - class: Dist::Zilla::Plugin::CPANFile name: '@DROLSKY/CPANFile' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::DROLSKY::License name: '@DROLSKY/DROLSKY::License' - version: '0.62' + version: '1.22' + - + class: Dist::Zilla::Plugin::CheckStrictVersion + name: '@DROLSKY/CheckStrictVersion' + version: '0.001' + - + class: Dist::Zilla::Plugin::CheckSelfDependency + config: + Dist::Zilla::Plugin::CheckSelfDependency: + finder: + - ':InstallModules' + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000037' + version: '0.006' + name: '@DROLSKY/CheckSelfDependency' + version: '0.011' - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@DROLSKY/CheckPrereqsIndexed' - version: '0.018' - - - class: Dist::Zilla::Plugin::DROLSKY::CheckChangesHasContent - name: '@DROLSKY/DROLSKY::CheckChangesHasContent' - version: '0.62' + version: '0.022' - class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch' - version: '0.62' + version: '1.22' + - + class: Dist::Zilla::Plugin::EnsureChangesHasContent + name: '@DROLSKY/EnsureChangesHasContent' + version: '0.02' - class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . name: '@DROLSKY/Git::CheckFor::MergeConflicts' - version: '0.013' + version: '0.014' - - class: Dist::Zilla::Plugin::DROLSKY::TidyAll - name: '@DROLSKY/DROLSKY::TidyAll' - version: '0.62' + class: Dist::Zilla::Plugin::DROLSKY::PerlLinterConfigFiles + name: '@DROLSKY/DROLSKY::PerlLinterConfigFiles' + version: '1.22' + - + class: Dist::Zilla::Plugin::DROLSKY::DevTools + name: '@DROLSKY/DROLSKY::DevTools' + version: '1.22' + - + class: Dist::Zilla::Plugin::DROLSKY::Precious + name: '@DROLSKY/DROLSKY::Precious' + version: '1.22' - class: Dist::Zilla::Plugin::Git::Check config: @@ -527,46 +597,47 @@ untracked_files: die Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - - Build.PL + - CODE_OF_CONDUCT.md - CONTRIBUTING.md - Changes - LICENSE - Makefile.PL - README.md - cpanfile - - ppport.h - - tidyall.ini + - precious.toml allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . name: '@DROLSKY/Git::Check' - version: '2.039' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] - commit_msg: v%v%n%n%c + commit_msg: v%V%n%n%c + signoff: 0 Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - - Build.PL + - CODE_OF_CONDUCT.md - CONTRIBUTING.md - Changes - LICENSE - Makefile.PL - README.md - cpanfile - - ppport.h - - tidyall.ini + - precious.toml allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local - name: '@DROLSKY/commit generated files' - version: '2.039' + name: '@DROLSKY/Commit generated files' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -574,15 +645,16 @@ branch: ~ changelog: Changes signed: 0 - tag: v0.17 - tag_format: v%v - tag_message: v%v + tag: v0.18 + tag_format: v%V + tag_message: v%V Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@DROLSKY/Git::Tag' - version: '2.039' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Push config: @@ -591,9 +663,10 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . name: '@DROLSKY/Git::Push' - version: '2.039' + version: '2.048' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease config: @@ -604,13 +677,14 @@ global: 0 munge_makefile_pl: 1 name: '@DROLSKY/BumpVersionAfterRelease' - version: '0.015' + version: '0.018' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] commit_msg: 'Bump version after release' + signoff: 0 Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - Changes @@ -619,11 +693,12 @@ - (?^:.+) changelog: Changes Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local - name: '@DROLSKY/commit version bump' - version: '2.039' + name: '@DROLSKY/Commit version bump' + version: '2.048' - class: Dist::Zilla::Plugin::Git::Push config: @@ -632,60 +707,78 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: + git_version: 2.39.2 repo_root: . - name: '@DROLSKY/push version bump' - version: '2.039' + name: '@DROLSKY/Push version bump' + version: '2.048' + - + class: Dist::Zilla::Plugin::DROLSKY::MakeMaker + config: + Dist::Zilla::Plugin::MakeMaker: + make_path: make + version: '6.030' + Dist::Zilla::Plugin::MakeMaker::Awesome: + version: '0.49' + Dist::Zilla::Role::TestRunner: + default_jobs: '12' + version: '6.030' + name: '@DROLSKY/DROLSKY::MakeMaker' + version: '1.22' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.005' + version: '6.030' - class: Dist::Zilla::Plugin::FinderCode name: '@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.005' + version: '6.030' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.005' + version: '6.030' x_authority: cpan:DROLSKY x_contributors: + - 'Aristotle Pagaltzis ' - 'Jesse Luehrs ' - 'Karen Etheridge ' - 'Tomas Doran ' +x_generated_by_perl: v5.32.1 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: Artistic-2.0 diff -Nru libpackage-deprecationmanager-perl-0.17/perlcriticrc libpackage-deprecationmanager-perl-0.18/perlcriticrc --- libpackage-deprecationmanager-perl-0.17/perlcriticrc 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/perlcriticrc 2023-02-19 18:12:40.000000000 +0000 @@ -1,6 +1,6 @@ severity = 3 verbose = 11 -theme = core + pbp + bugs + maintenance + cosmetic + complexity + security + tests + moose +theme = (core && (pbp || bugs || maintenance || cosmetic || complexity || security || tests)) || moose program-extensions = pl psgi t exclude = Subroutines::ProhibitCallsToUndeclaredSubs @@ -65,3 +65,6 @@ # prevents very common errors when using a sub in list context to construct a # hash and ending up with a missing value or key. [-Subroutines::ProhibitExplicitReturnUndef] + +# Sometimes I want to write "return unless $x > 4" +[-ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions] diff -Nru libpackage-deprecationmanager-perl-0.17/precious.toml libpackage-deprecationmanager-perl-0.18/precious.toml --- libpackage-deprecationmanager-perl-0.17/precious.toml 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/precious.toml 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,51 @@ +exclude = [ + ".build/**/*", + "Package-DeprecationManager-*/**/*", + "blib/**/*", + "t/00-*", + "t/author-*", + "t/release-*", + "t/zzz-*", + "xt/**/*", +] + +[commands.omegasort-gitignore] +type = "both" +include = "**/.gitignore" +cmd = [ "omegasort", "--sort=path" ] +lint_flags = "--check" +tidy_flags = "--in-place" +ok_exit_codes = 0 +lint_failure_exit_codes = 1 + +[commands.perlcritic] +type = "lint" +include = [ "**/*.{pl,pm,t,psgi}" ] +cmd = [ "perlcritic", "--profile=$PRECIOUS_ROOT/perlcriticrc" ] +ok_exit_codes = 0 +lint_failure_exit_codes = 2 + +[commands.perltidy] +type = "both" +include = [ "**/*.{pl,pm,t,psgi}" ] +cmd = [ "perltidy", "--profile=$PRECIOUS_ROOT/perltidyrc" ] +lint_flags = [ "--assert-tidy", "--no-standard-output", "--outfile=/dev/null" ] +tidy_flags = [ "--backup-and-modify-in-place", "--backup-file-extension=/" ] +ok_exit_codes = 0 +lint_failure_exit_codes = 2 +ignore_stderr = "Begin Error Output Stream" + +[commands.podchecker] +type = "lint" +include = [ "**/*.{pl,pm,pod}" ] +cmd = [ "podchecker", "--warnings", "--warnings" ] +ok_exit_codes = [ 0, 2 ] +lint_failure_exit_codes = 1 +ignore_stderr = [ ".+ pod syntax OK", ".+ does not contain any pod commands" ] + +[commands.podtidy] +type = "tidy" +include = [ "**/*.{pl,pm,pod}" ] +cmd = [ "podtidy", "--columns", "80", "--inplace", "--nobackup" ] +ok_exit_codes = 0 +lint_failure_exit_codes = 1 diff -Nru libpackage-deprecationmanager-perl-0.17/README.md libpackage-deprecationmanager-perl-0.18/README.md --- libpackage-deprecationmanager-perl-0.17/README.md 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/README.md 2023-02-19 18:12:40.000000000 +0000 @@ -4,7 +4,7 @@ # VERSION -version 0.17 +version 0.18 # SYNOPSIS @@ -57,23 +57,22 @@ In many cases, you can simply use the fully qualified name of a subroutine or method as the feature name. This works for cases where the whole subroutine is -deprecated. However, the feature names can be any string. This is useful if -you don't want to deprecate an entire subroutine, just a certain usage. +deprecated. However, the feature names can be any string. This is useful if you +don't want to deprecate an entire subroutine, just a certain usage. -You can also provide an optional array reference in the `-ignore` -parameter. +You can also provide an optional array reference in the `-ignore` parameter. -The values to be ignored can be package names or regular expressions (made -with `qr//`). Use this to ignore packages in your distribution that can -appear on the call stack when a deprecated feature is used. +The values to be ignored can be package names or regular expressions (made with +`qr//`). Use this to ignore packages in your distribution that can appear on +the call stack when a deprecated feature is used. As part of the import process, `Package::DeprecationManager` will export two -subroutines into its caller. It provides an `import()` sub for the caller and a -`deprecated()` sub. +subroutines into its caller. It provides an `import()` sub for the caller and +a `deprecated()` sub. -The `import()` sub allows callers of _your_ class to specify an `-api_version` -parameter. If this is supplied, then deprecation warnings are only issued for -deprecations with API versions earlier than the one specified. +The `import()` sub allows callers of _your_ class to specify an +`-api_version` parameter. If this is supplied, then deprecation warnings are +only issued for deprecations with API versions earlier than the one specified. You must call the `deprecated()` sub in each deprecated subroutine. When called, it will issue a warning using `Carp::cluck()`. @@ -91,14 +90,14 @@ A given deprecation warning is only issued once for a given package. This module tracks this based on both the feature name _and_ the error message -itself. This means that if you provide several different error messages for -the same feature, all of those errors will appear. +itself. This means that if you provide several different error messages for the +same feature, all of those errors will appear. ## Other import() subs -This module works by installing an `import` sub in any package that uses -it. If that package _already_ has an `import` sub, then that `import` will -be called after any arguments passed for `Package::DeprecationManager` are +This module works by installing an `import` sub in any package that uses it. +If that package _already_ has an `import` sub, then that `import` will be +called after any arguments passed for `Package::DeprecationManager` are stripped out. You need to define your `import` sub before you `use Package::DeprecationManager` to make this work: @@ -118,22 +117,21 @@ consider making a "donation" to me via PayPal. I spend a lot of free time creating free software, and would appreciate any support you'd care to offer. -Please note that **I am not suggesting that you must do this** in order -for me to continue working on this particular software. I will -continue to do so, inasmuch as I have in the past, for as long as it -interests me. +Please note that **I am not suggesting that you must do this** in order for me +to continue working on this particular software. I will continue to do so, +inasmuch as I have in the past, for as long as it interests me. Similarly, a donation made in this way will probably not make me work on this software much more, unless I get so many donations that I can consider working on free software full time, which seems unlikely at best. -To donate, log into PayPal and send money to autarch@urth.org or use the -button on this page: [http://www.urth.org/~autarch/fs-donation.html](http://www.urth.org/~autarch/fs-donation.html) +To donate, log into PayPal and send money to autarch@urth.org or use the button +on this page: [http://www.urth.org/~autarch/fs-donation.html](http://www.urth.org/~autarch/fs-donation.html) # CREDITS The idea for this functionality and some of its implementation was originally -created as [Class::MOP::Deprecated](https://metacpan.org/pod/Class::MOP::Deprecated) by Goro Fuji. +created as [Class::MOP::Deprecated](https://metacpan.org/pod/Class%3A%3AMOP%3A%3ADeprecated) by Goro Fuji. # BUGS @@ -142,10 +140,11 @@ [http://rt.cpan.org](http://rt.cpan.org). I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. -Bugs may be submitted through [the RT bug tracker](http://rt.cpan.org/Public/Dist/Display.html?Name=Package-DeprecationManager) -(or [bug-package-deprecationmanager@rt.cpan.org](mailto:bug-package-deprecationmanager@rt.cpan.org)). +Bugs may be submitted at [https://github.com/moose/Package-DeprecationManager/issues](https://github.com/moose/Package-DeprecationManager/issues). -I am also usually active on IRC as 'drolsky' on `irc://irc.perl.org`. +# SOURCE + +The source code repository for Package-DeprecationManager can be found at [https://github.com/moose/Package-DeprecationManager](https://github.com/moose/Package-DeprecationManager). # DONATIONS @@ -162,7 +161,7 @@ on free software full time (let's all have a chuckle at that together). To donate, log into PayPal and send money to autarch@urth.org, or use the -button at [http://www.urth.org/~autarch/fs-donation.html](http://www.urth.org/~autarch/fs-donation.html). +button at [https://houseabsolute.com/foss-donations/](https://houseabsolute.com/foss-donations/). # AUTHOR @@ -170,14 +169,18 @@ # CONTRIBUTORS +- Aristotle Pagaltzis - Jesse Luehrs - Karen Etheridge - Tomas Doran -# COPYRIGHT AND LICENCE +# COPYRIGHT AND LICENSE -This software is Copyright (c) 2016 by Dave Rolsky. +This software is Copyright (c) 2023 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) + +The full text of the license can be found in the +`LICENSE` file included with this distribution. diff -Nru libpackage-deprecationmanager-perl-0.17/t/00-report-prereqs.dd libpackage-deprecationmanager-perl-0.18/t/00-report-prereqs.dd --- libpackage-deprecationmanager-perl-0.17/t/00-report-prereqs.dd 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/t/00-report-prereqs.dd 2023-02-19 18:12:40.000000000 +0000 @@ -6,30 +6,30 @@ }, 'develop' => { 'requires' => { - 'Code::TidyAll::Plugin::Test::Vars' => '0.02', + 'Capture::Tiny' => '0', + 'Encode' => '0', 'File::Spec' => '0', + 'FindBin' => '0', 'IO::Handle' => '0', 'IPC::Open3' => '0', - 'Perl::Critic' => '1.126', - 'Perl::Tidy' => '20160302', + 'Perl::Critic' => '1.138', + 'Perl::Critic::Moose' => '1.05', + 'Perl::Tidy' => '20210111', + 'Pod::Checker' => '1.74', 'Pod::Coverage::TrustPod' => '0', + 'Pod::Tidy' => '0.10', 'Pod::Wordlist' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta::JSON' => '0.16', - 'Test::Code::TidyAll' => '0.24', 'Test::EOL' => '0', 'Test::Mojibake' => '0', 'Test::More' => '0.96', 'Test::NoTabs' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', - 'Test::Pod::LinkCheck' => '0', - 'Test::Pod::No404s' => '0', 'Test::Portability::Files' => '0', 'Test::Spelling' => '0.12', - 'Test::Vars' => '0.009', - 'Test::Version' => '1', - 'blib' => '1.01', + 'Test::Version' => '2.05', 'perl' => '5.006' } }, @@ -40,7 +40,7 @@ 'Package::Stash' => '0', 'Params::Util' => '0', 'Sub::Install' => '0', - 'Sub::Name' => '0', + 'Sub::Util' => '0', 'strict' => '0', 'warnings' => '0' } diff -Nru libpackage-deprecationmanager-perl-0.17/t/00-report-prereqs.t libpackage-deprecationmanager-perl-0.18/t/00-report-prereqs.t --- libpackage-deprecationmanager-perl-0.17/t/00-report-prereqs.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/t/00-report-prereqs.t 2023-02-19 18:12:40.000000000 +0000 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029 use Test::More tests => 1; @@ -68,7 +68,7 @@ ); # Add static prereqs to the included modules list -my $static_prereqs = do 't/00-report-prereqs.dd'; +my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( @@ -78,12 +78,14 @@ # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; +my $cpan_meta_error; if ( $source && $HAS_CPAN_META && (my $meta = eval { CPAN::Meta->load_file($source) } ) ) { $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { + $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } @@ -107,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; @@ -169,15 +175,23 @@ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } +if ( $cpan_meta_error || @dep_errors ) { + diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; +} + +if ( $cpan_meta_error ) { + my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; + diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; +} + if ( @dep_errors ) { diag join("\n", - "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", - "The following REQUIRED prerequisites were not satisfied:\n", + "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); } -pass; +pass('Reported prereqs'); # vim: ts=4 sts=4 sw=4 et: diff -Nru libpackage-deprecationmanager-perl-0.17/tidyall.ini libpackage-deprecationmanager-perl-0.18/tidyall.ini --- libpackage-deprecationmanager-perl-0.17/tidyall.ini 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/tidyall.ini 1970-01-01 00:00:00.000000000 +0000 @@ -1,31 +0,0 @@ -[PerlCritic] -select = **/*.{pl,pm,t,psgi} -ignore = .build/**/* -ignore = Package-DeprecationManager-*/**/* -ignore = blib/**/* -ignore = t/00-* -ignore = t/author-* -ignore = t/release-* -ignore = xt/**/* -argv = --profile=$ROOT/perlcriticrc - -[PerlTidy] -select = **/*.{pl,pm,t,psgi} -ignore = .build/**/* -ignore = Package-DeprecationManager-*/**/* -ignore = blib/**/* -ignore = t/00-* -ignore = t/author-* -ignore = t/release-* -ignore = xt/**/* -argv = --profile=$ROOT/perltidyrc - -[Test::Vars] -select = **/*.pm -ignore = .build/**/* -ignore = Package-DeprecationManager-*/**/* -ignore = blib/**/* -ignore = t/00-* -ignore = t/author-* -ignore = t/release-* -ignore = xt/**/* diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/00-compile.t libpackage-deprecationmanager-perl-0.18/xt/author/00-compile.t --- libpackage-deprecationmanager-perl-0.17/xt/author/00-compile.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/00-compile.t 2023-02-19 18:12:40.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; @@ -16,7 +16,9 @@ # no fake home requested -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -30,14 +32,18 @@ # see L my $stderr = IO::Handle->new; - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); + diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } + $^X, @switches, '-e', "require q[$lib]")) + if $ENV{PERL_COMPILE_TEST_DEBUG}; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ - and not eval { require blib; blib->VERSION('1.01') }; + and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/eol.t libpackage-deprecationmanager-perl-0.18/xt/author/eol.t --- libpackage-deprecationmanager-perl-0.17/xt/author/eol.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/eol.t 2023-02-19 18:12:40.000000000 +0000 @@ -1,7 +1,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.18 +# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19 use Test::More 0.88; use Test::EOL; diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/pod-coverage.t libpackage-deprecationmanager-perl-0.18/xt/author/pod-coverage.t --- libpackage-deprecationmanager-perl-0.17/xt/author/pod-coverage.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/pod-coverage.t 2023-02-19 18:12:40.000000000 +0000 @@ -1,5 +1,5 @@ #!perl -# This file was automatically generated by Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable. +# This file was automatically generated by Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable 0.07. use Test::Pod::Coverage 1.08; use Test::More 0.88; diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/pod-no404s.t libpackage-deprecationmanager-perl-0.18/xt/author/pod-no404s.t --- libpackage-deprecationmanager-perl-0.17/xt/author/pod-no404s.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/pod-no404s.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -#!perl - -use strict; -use warnings; -use Test::More; - -foreach my $env_skip ( qw( - SKIP_POD_NO404S - AUTOMATED_TESTING -) ){ - plan skip_all => "\$ENV{$env_skip} is set, skipping" - if $ENV{$env_skip}; -} - -eval "use Test::Pod::No404s"; -if ( $@ ) { - plan skip_all => 'Test::Pod::No404s required for testing POD'; -} -else { - all_pod_files_ok(); -} diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/pod-spell.t libpackage-deprecationmanager-perl-0.18/xt/author/pod-spell.t --- libpackage-deprecationmanager-perl-0.17/xt/author/pod-spell.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/pod-spell.t 2023-02-19 18:12:40.000000000 +0000 @@ -2,33 +2,36 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007002 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(); -all_pod_files_spelling_ok( qw( bin lib ) ); +all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ -drolsky +Aristotle DROLSKY DROLSKY's +Dave +DeprecationManager +Doran +Etheridge +Goro +Jesse +Karen +Luehrs +Package +Pagaltzis PayPal Rolsky Rolsky's -Goro -deprecations -Dave +Tomas autarch -Jesse -Luehrs +bobtfish +deprecations doy -Karen -Etheridge +drolsky ether -Tomas -Doran -bobtfish lib -Package -DeprecationManager +pagaltzis diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/portability.t libpackage-deprecationmanager-perl-0.18/xt/author/portability.t --- libpackage-deprecationmanager-perl-0.17/xt/author/portability.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/portability.t 2023-02-19 18:12:40.000000000 +0000 @@ -1,12 +1,8 @@ -#!perl - use strict; use warnings; 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(); diff -Nru libpackage-deprecationmanager-perl-0.17/xt/author/precious.t libpackage-deprecationmanager-perl-0.18/xt/author/precious.t --- libpackage-deprecationmanager-perl-0.17/xt/author/precious.t 1970-01-01 00:00:00.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/author/precious.t 2023-02-19 18:12:40.000000000 +0000 @@ -0,0 +1,24 @@ +use strict; +use warnings; + +use Test::More; + +use Capture::Tiny qw( capture ); +use Encode qw( decode ); +use FindBin qw( $Bin ); + +binmode $_, ':encoding(utf-8)' + for map { Test::More->builder->$_ } + qw( output failure_output todo_output ); + +chdir "$Bin/../.." + or die "Cannot chdir to $Bin/../..: $!"; + +my ( $out, $err ) = capture { system(qw( precious lint -a )) }; +$_ = decode( 'UTF-8', $_ ) for grep {defined} $out, $err; + +is( $? >> 8, 0, 'precious lint -a exited with 0' ) + or diag($out); +is( $err, q{}, 'no output to stderr' ); + +done_testing(); diff -Nru libpackage-deprecationmanager-perl-0.17/xt/release/pod-linkcheck.t libpackage-deprecationmanager-perl-0.18/xt/release/pod-linkcheck.t --- libpackage-deprecationmanager-perl-0.17/xt/release/pod-linkcheck.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/release/pod-linkcheck.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -#!perl - -use strict; -use warnings; -use Test::More; - -foreach my $env_skip ( qw( - SKIP_POD_LINKCHECK -) ){ - plan skip_all => "\$ENV{$env_skip} is set, skipping" - if $ENV{$env_skip}; -} - -eval "use Test::Pod::LinkCheck"; -if ( $@ ) { - plan skip_all => 'Test::Pod::LinkCheck required for testing POD'; -} -else { - Test::Pod::LinkCheck->new->all_pod_ok; -} diff -Nru libpackage-deprecationmanager-perl-0.17/xt/release/tidyall.t libpackage-deprecationmanager-perl-0.18/xt/release/tidyall.t --- libpackage-deprecationmanager-perl-0.17/xt/release/tidyall.t 2016-06-17 15:15:32.000000000 +0000 +++ libpackage-deprecationmanager-perl-0.18/xt/release/tidyall.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Test::TidyAll v$VERSION - -use Test::More 0.88; -BEGIN { - if ( $] < 5.010 ) { - plan skip_all => 'This test requires Perl version 5.010'; - } -} -use Test::Code::TidyAll 0.24; - -tidyall_ok( - verbose => ( exists $ENV{TEST_TIDYALL_VERBOSE} ? $ENV{TEST_TIDYALL_VERBOSE} : 1 ), -); - -done_testing();