1Test::Smoke::Syncer::GiUts(e3r)Contributed Perl DocumentTaetsito:n:Smoke::Syncer::Git(3)
2
3
4
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 github.com/Perl repository as its
23 (origin) remote. The second repository is used to run the smoker from.
24
25 For the proxy-repository we do:
26
27 git fetch --all
28 git remote prune origin
29 git reset --hard origin/$gitbranch
30
31 For the working-repository we do:
32
33 git clean -dfx
34 git fetch --all
35 git reset --hard origin/$gitbranch
36
37 $git->get_git_branch()
38 Reads the first line of the file set in gitbranchfile and returns its
39 value.
40
42 (c) 2002-2013, All rights reserved.
43
44 * Abe Timmerman <abeltje@cpan.org>
45
46 This library is free software; you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49 See:
50
51 * <http://www.perl.com/perl/misc/Artistic.html>,
52 * <http://www.gnu.org/copyleft/gpl.html>
53
54 This program is distributed in the hope that it will be useful, but
55 WITHOUT ANY WARRANTY; without even the implied warranty of
56 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
57
58
59
60perl v5.32.0 2020-07-28 Test::Smoke::Syncer::Git(3)