NAME

Dist::Zilla::Plugin::ChangeStats::Dependencies::Git - Add dependency changes to the changelog

Requires Perl 5.10+ Travis status Distribution kwalitee CPAN Testers result coverage 20.5%

VERSION

Version 0.0200, released 2016-09-20.

SYNOPSIS

    ; in dist.ini
    [ChangeStats::Dependencies::Git]
    group = Dependency Changes

DESCRIPTION

This plugin adds detailed information about changes in requirements to the changelog, possibly in a group. The synopsis might add this:

     [Dependency Changes]
     - (run req) + Moose (any)
     - (run req) - No::Longer::Used
     - (test sug) + Something::Useful 0.82
     - (dev req) ~ List::Util 1.40 --> 1.42

For this to work the following must be true:

  • The changelog must conform to CPAN::Changes::Spec.

  • There must be a META.json in both the working directory and in the tags.

  • Git tag names must be identical to (or a superset of) the version numbers in the changelog.

  • This plugin should come before [NextRelease] or similar in dist.ini.

ATTRIBUTES

change_file

Default: Changes

The name of the changelog file.

group

Default: No group

The group (if any) under which to add the dependency changes. If the group already exists these changes will be appended to that group.

format_tag

Default: %s

Use this if the Git tags are formatted differently to the versions in the changelog. %s gets replaced with the version.

SEE ALSO

SOURCE

https://github.com/Csson/p5-Dist-Zilla-Plugin-ChangeStats-Dependencies-Git

HOMEPAGE

https://metacpan.org/release/Dist-Zilla-Plugin-ChangeStats-Dependencies-Git

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Erik Carlsson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.