This handles syncing with git repositories.
Keys for %args:
%args
* gitorigin * gitdir * gitbin * gitbranchfile * gitdfbranch
Do the actual syncing.
There are 2 repositories, they both need to be updated:
The first (proxy) repository has the github.com/Perl repository as its (origin) remote. The second repository is used to run the smoker from.
For the proxy-repository we do:
git fetch --all git remote prune origin git reset --hard origin/$gitbranch
For the working-repository we do:
git clean -dfx git fetch --all git reset --hard origin/$gitbranch
Reads the first line of the file set in gitbranchfile and returns its value.
(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.
To install Test::Smoke, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Smoke
CPAN shell
perl -MCPAN -e shell install Test::Smoke
For more information on module installation, please visit the detailed CPAN module installation guide.