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

Test::Smoke::Syncer::Git

This handles syncing with git repositories.

Test::Smoke::Syncer::Git->new( %args )

Keys for %args:

    * gitorigin
    * gitdir
    * gitbin
    * gitbranchfile
    * gitdfbranch

$syncer->sync()

Do the actual syncing.

New clone git clone <gitorigin> <gitdir> git clone <gitdir> --reference <gitdir> <ddir>
Existing clone cd <ddir> git pull

$git->get_git_branch()

Reads the first line of the file set in gitbranchfile and returns its value.

COPYRIGHT

(c) 2002-2013, All rights reserved.

  * Abe Timmerman <abeltje@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See:

  * <http://www.perl.com/perl/misc/Artistic.html>,
  * <http://www.gnu.org/copyleft/gpl.html>

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.