1Test::Smoke::Syncer::GiUts(e3r)Contributed Perl DocumentTaetsito:n:Smoke::Syncer::Git(3)
2
3
4

Test::Smoke::Syncer::Git

6       This handles syncing with git repositories.
7
8   Test::Smoke::Syncer::Git->new( %args )
9       Keys for %args:
10
11           * gitorigin
12           * gitdir
13           * gitbin
14           * gitbranchfile
15           * gitdfbranch
16
17   $syncer->sync()
18       Do the actual syncing.
19
20       There are 2 repositories, they both need to be updated:
21
22       The first (proxy) repository has the perl5.git.perl.org repository as
23       its (origin) remote. The second repository is used to run the smoker
24       from.
25
26       For the proxy-repository we do:
27
28           git fetch --all
29           git remote prune origin
30           git reset --hard origin/$gitbranch
31
32       For the working-repository we do:
33
34           git clean -dfx
35           git fetch --all
36           git reset --hard origin/$gitbranch
37
38   $git->get_git_branch()
39       Reads the first line of the file set in gitbranchfile and returns its
40       value.
41
43       (c) 2002-2013, All rights reserved.
44
45         * Abe Timmerman <abeltje@cpan.org>
46
47       This library is free software; you can redistribute it and/or modify it
48       under the same terms as Perl itself.
49
50       See:
51
52         * <http://www.perl.com/perl/misc/Artistic.html>,
53         * <http://www.gnu.org/copyleft/gpl.html>
54
55       This program is distributed in the hope that it will be useful, but
56       WITHOUT ANY WARRANTY; without even the implied warranty of
57       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
58
59
60
61perl v5.28.1                      2018-03-04       Test::Smoke::Syncer::Git(3)
Impressum