Why not adopt me?
NAME
Dist::Zilla::Role::Git::RemoteName - Git Remote specification and validation for plugins.
VERSION
version 0.2.0
PARAMETERS
remote_name
String.
The name of the git remote
you want to refer to.
Defaults to origin
METHODS
remote_name
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.
COMPOSITION
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";
REQUIRED METHODS
log_fatal
Expected to take parameters as follows:
->log_fatal( [ 'FormatString %s' , $formatargs ] )
Expected to halt execution ( throw an exception ) when called.
Available from:
get_valid_remote_name
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
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.