NAME

Dist::Zilla::Role::Git::Remote - Git Remote specification and validation for plugins.

VERSION

version 0.1.2

PARAMETERS

remote_name

String.

The name of the git remote you want to refer to.

Defaults to origin

METHODS

remote

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.

REQUIRED METHODS

git

Must return a Git::Wrapper or compatible instance.

Available from:

log_fatal

Expected to take parameters as follows:

->log_fatal( [ 'FormatString %s' , $formatargs ] )

Expected to halt execution ( throw an exception ) when called.

Available from:

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 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.