Dist::Zilla::Plugin::ChangeStats::Git - add code churn statistics to the changelog
version 0.6.0
In the dist.ini: [ChangeStats::Git] group=STATISTICS skip_match=^meta
Adds a line to the changelog giving some stats about the code churn since the last release, which will look like:
- code churn: 6 files changed, 111 insertions(+), 1 deletions(-)
If given, the line is added to the specified group.
The master developing branch. Defaults to master.
If enabled, look in the guts of the Dist::Zilla::Plugin::Git::Tag plugin in order to find the previous release's tag. This will be then compared against the develop_branch. Defaults to false (0).
The branch recording the releases. Defaults to releases.
The text before git output. If it is a non-empty string, :<space> will be appended. Defaults to code churn.
:<space>
A complete path (from the distribution root) that should not be included in the statistics. Can be given multiple times.
A part of a regex used to match against complete paths. Paths that match are not included in the statistics. Can be given multiple times.
Yanick Champoux <yanick@cpan.org>
This software is copyright (c) 2012 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::ChangeStats::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::ChangeStats::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::ChangeStats::Git
For more information on module installation, please visit the detailed CPAN module installation guide.