Dist::Zilla::Plugin::Config::Git - Plugin configuration containing settings for a Git repo
[Config::Git / Git::main] remote = origin local_branch = master remote_branch = master allow_dirty = dist.ini allow_dirty = README allow_dirty = qr{\w+\.ini} changelog = Changes [Git::CheckFor::CorrectBranch] git_config = Git::main [@Git] git_config = Git::main ; etc.
This is a configuration plugin for Git repo/branch information. A configuration plugin is sort of like a Stash, but is better suited for intra-plugin data sharing, using distro (not user) data.
Why use this? To provide a standard set of information to other Git plugins easily, especially if the repo data is non-standard, or if you need more than one set of data.
Name of the remote repo, in standard Git repo format (refspec or git URL).
Default is origin.
origin
Name of the local branch name.
Default is master.
master
Name of the remote branch name.
Filenames of files in the local repo that are allowed to have modifications prior to a write action, such as a commit. Multiple lines are allowed. Any strings in standard qr notation are interpreted as regular expressions.
qr
Default is dist.ini and whatever changelog is set to.
dist.ini
Name of your change log.
Default is Changes.
Changes
Kent Fredric and Karen Etheridge for implementation discussion. Graham Knop for continuous code reviews.
The project homepage is https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/Dist::Zilla::Plugin::Config::Git/.
You can get live help by using IRC ( Internet Relay Chat ). If you don't know what IRC is, please read this excellent guide: http://en.wikipedia.org/wiki/Internet_Relay_Chat. Please be courteous and patient when talking to us, as we might be busy or sleeping! You can join those networks/channels and get help:
irc.perl.org
You can connect to the server at 'irc.perl.org' and talk to this person for help: SineSwiper.
Please report any bugs or feature requests via https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git/issues.
Brendan Byrd <BBYRD@CPAN.org>
Graham Knop <haarg@haarg.org>
This software is Copyright (c) 2013 by Brendan Byrd.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Dist::Zilla::Plugin::Config::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Config::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Config::Git
For more information on module installation, please visit the detailed CPAN module installation guide.