-
-
14 Apr 2017 16:45:58 UTC
- Distribution: Dist-Zilla-Plugin-ChangeStats-Git
- Module version: v0.6.0
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2)
- Testers (833 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (18.67KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- CPAN::Changes
- Dist::Zilla::Role::AfterRelease
- Dist::Zilla::Role::FileMunger
- Dist::Zilla::Role::Plugin
- Git::Repository
- List::Util
- Module::Load
- Moose
- Moose::Role
- Moose::Util
- MooseX::Role::Parameterized
- Path::Tiny
- Perl::Version
- Try::Tiny
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Dist::Zilla::Plugin::ChangeStats::Git - add code churn statistics to the changelog
VERSION
version 0.6.0
SYNOPSIS
In the dist.ini: [ChangeStats::Git] group=STATISTICS skip_match=^meta
DESCRIPTION
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(-)
ARGUMENTS
group
If given, the line is added to the specified group.
develop_branch
The master developing branch. Defaults to master.
auto_previous_tag
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).
release_branch
The branch recording the releases. Defaults to releases.
text
The text before git output. If it is a non-empty string,
:<space>
will be appended. Defaults to code churn.skip_file
A complete path (from the distribution root) that should not be included in the statistics. Can be given multiple times.
skip_match
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.
AUTHOR
Yanick Champoux <yanick@cpan.org>
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install Dist::Zilla::Plugin::ChangeStats::Git, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::Plugin::ChangeStats::Git
perl -MCPAN -e shell install Dist::Zilla::Plugin::ChangeStats::Git
For more information on module installation, please visit the detailed CPAN module installation guide.