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

NAME

Test::BrewBuild::Git - Git repository manager for the Test::BrewBuild test platform system.

SYNOPSIS

    use Test::BrewBuild::Git;

    my $git = Test::BrewBuild::Git->new;

    my $repo_link = $git->link;

    my $repo_name = $git->name($link);

    $git->clone($repo_link);

    $git->pull;

DESCRIPTION

Manages Git repositories, including gathering names, cloning, pulling etc.

METHODS

new

Returns a new Test::BrewBuild::Git object.

git

Returns the git command for the local platform.

Fetches and returns the full link to the master repository from your current working directory. This is the link you used to originally clone the repo.

name($link)

Extracts the repo name from the full link path.

clone($repo)

Clones the repo into the current working directory.

pull

While in a repository directory, pull down any updates.

AUTHOR

Steve Bertrand, <steveb at cpan.org>

CONTRIBUTING

Any and all feedback and help is appreciated. A Pull Request is the preferred method of receiving changes (https://github.com/stevieb9/p5-test-brewbuild), but regular patches through the bug tracker, or even just email discussions are welcomed.

BUGS

https://github.com/stevieb9/p5-test-brewbuild/issues

LICENSE AND COPYRIGHT

Copyright 2016 Steve Bertrand.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.