Dist::Zilla::Role::Git::RemoteName - Git Remote specification and validation for plugins.
version 0.2.0
remote_name
String.
The name of the git remote you want to refer to.
git remote
Defaults to origin
origin
If a consuming package specifies a valid value via remote_name, this method will validate the existence of that remote in the current Git repository.
If specified remote does not exist, a fatal log event is triggered.
Recommended application order if using this role:
with "Dist::Zilla::Role::Plugin"; with "Dist::Zilla::Role::Git::LocalRepository"; with "Dist::Zilla::Role::Git::RemoteNames"; with "Dist::Zilla::Role::Git::RemoteName";
log_fatal
Expected to take parameters as follows:
->log_fatal( [ 'FormatString %s' , $formatargs ] )
Expected to halt execution ( throw an exception ) when called.
Available from:
Dist::Zilla::Role::Plugin
get_valid_remote_name
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
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::Git::Remote::Check, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Git::Remote::Check
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Git::Remote::Check
For more information on module installation, please visit the detailed CPAN module installation guide.