Dist::Zilla::Role::Git::Remote::Update(3)

NAME
Dist::Zilla::Role::Git::Remote::Update - Update tracking data for a remote repository

VERSION
version 0.1.2

PARAMETERS

  "do_update"
Boolean: Specify whether or not the "do_update" method does anything.

Defaults to 1 ( true ), and setting it to a false value will disable updating.

METHODS

  "do_update"
Boolean: Returns whether the consuming plugin should perform updates.

Normally returns 1 ( true ) unless specified otherwise.

  "remote_update"
Calls "git remote update $remote" when triggered, if "do_update" is true.

REQUIRED METHODS

  "git"
Must return a Git::Wrapper or compatible instance.

Available from:

•   Dist::Zilla::Role::Git::LocalRepository

  "remote"
Must return a String value representing a remote name ( as displayed in "git remote" ).

Available from:

•   Dist::Zilla::Role::Git::Remote

  "log"
Expected to take parameters as follows:

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

Available from:

•   Dist::Zilla::Role::Plugin

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.