1Test::Smoke::Syncer::BaUssee(r3)Contributed Perl DocumenTteastti:o:nSmoke::Syncer::Base(3)
2
3
4

NAME

6       Test;:Smoke::Syncer::Base - Base class for all the syncers.
7

DESCRIPTION

9   Test::Smoke::Syncer::Baase->new(%arguments)
10       Return a new instance.
11
12   $syncer->verbose
13       Get/Set verbosity.
14
15   $syncer->sync()
16       Abstract method.
17
18   $syncer->_clear_souce_tree( [$tree_dir] )
19       [ Method | private-ish ]
20
21       "_clear_source_tree()" removes all files in the source-tree using
22       File::Path::rmtree(). (See File::Path for caveats.)
23
24       If $tree_dir is not specified, "$self->{ddir}" is used.
25
26   $syncer->_relocate_tree( $source_dir )
27       [ Method | Private-ish ]
28
29       "_relocate_tree()" uses File::Copy::move() to move the source-tree from
30       $source_dir to its destination ("$self->{ddir}").
31
32   $syncer->check_dot_patch( )
33       [ Method | Public ]
34
35       "check_dot_patch()" checks if there is a '.patch' file in the source-
36       tree.  It will try to create one if it is not there (this is the case
37       for snapshots).
38
39       It returns the patchlevel found or "undef".
40
41   version_from_patchlevel_h( $ddir )
42       "version_from_patchlevel_h()" returns a "dotted" version as derived
43       from the patchlevel.h file in the distribution.
44
45   is_git_dir()
46       Checks, in a git way, if we are in a real git repository directory.
47
48   make_dot_patch
49       If this is a git repo, run the "Porting/make_dot_patch.pl" to generate
50       the .patch file
51
52   $syncer->clean_from_directory( $source_dir[, @leave_these] )
53       "clean_from_directory()" uses File::Find to get the contents of
54       $source_dir and compare these to {ddir} and remove all other files.
55
56       The contents of @leave_these should be in "MANIFEST-format" (See
57       Test::Smoke::SourceTree).
58
59   $syncer->pre_sync
60       "pre_sync()" should be called by the "sync()" methods to setup the sync
61       environment. Currently only useful on OpenVMS.
62
63   $syncer->post_sync
64       "post_sync()" should be called by the "sync()" methods to unset the
65       sync environment. Currently only useful on OpenVMS.
66
68       (c) 2002-2013, All rights reserved.
69
70         * Abe Timmerman <abeltje@cpan.org>
71
72       This library is free software; you can redistribute it and/or modify it
73       under the same terms as Perl itself.
74
75       See:
76
77         * <http://www.perl.com/perl/misc/Artistic.html>,
78         * <http://www.gnu.org/copyleft/gpl.html>
79
80       This program is distributed in the hope that it will be useful, but
81       WITHOUT ANY WARRANTY; without even the implied warranty of
82       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
83
84
85
86perl v5.28.0                      2017-05-17      Test::Smoke::Syncer::Base(3)
Impressum