The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.2.0

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.

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";
    with "Dist::Zilla::Role::Git::Remote::Update";

REQUIRED METHODS

log

log_debug

git

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.