1SYNCTREE(1) User Contributed Perl Documentation SYNCTREE(1)
2
3
4
6 synctree.pl - Cleanup and sync the perl-current source-tree
7
9 $ ./synctree.pl -t rsync -d ../perl-current [--help | more options]
10
11 or
12
13 $ ./synctree.pl -c [smokecurrent_config]
14
16 Options depend on the type option, exept for some.
17
18 · Configuration file
19
20 -c | --config <configfile> Use the settings from the configfile
21
22 synctree.pl can use the configuration file created by
23 configsmoke.pl. Other options can override the settings from the
24 configuration file.
25
26 · General options
27
28 -d | --ddir <directory> Set the directory for the source-tree
29 -t | --type <type> 'rsync', 'snapshot', 'copy', 'ftp' [mandatory]
30
31 -v | --verbose <0..2> Set verbose level
32 -h | --help Show help message (needs Pod::Usage)
33 --man Show the perldoc (needs Pod::Usage)
34
35 · options for -t rsync
36
37 --source <rsync-src> (public.activestate.com::perl-current)
38 --rsync <path/to/rsync> (rsync)
39 --opts <rsync-opts> (-az --delete)
40
41 · options for -t snapshot
42
43 --server <ftp-server> (public.activestate.com)
44 --sdir <directory> (/pub/apc/perl-current-snap)
45 --sfile <file> ('')
46 --snapext <ext> (tgz)
47 --tar <un-tar-gz> (gzip -dc %s | tar -xf -)
48
49 --patchup patch a snapshot [needs the patch program]
50 --pserver <ftp-server> (public.activestate.com)
51 --pdir <directory> (/pub/apc/perl-current-diffs)
52 --unzip <command> (gzip -dc)
53 --patch <command> (patch)
54 --cleanup <level> (0) none; (1) snapshot; (2) diffs; (3) both
55
56 · options for -t copy
57
58 --cdir <directory> Source directory for copy_from_MANIFEST()
59
60 · options for -t hardlink
61
62 --hdir <directory> Source directory to hardlink from
63
64 · options for -t ftp
65
66 --ftphost Host with sources (public.activestate.com)
67 --ftpsdir Sourcedir to mirror (/pub/apc/perl-current)
68 --ftpcdir Diffs dir to get change (/pub/apc/perl-current-diffs)
69
70 · options for -t forest
71
72 --fsync <synctype> Master sync-type (One of the above)
73 --mdir <directory> Master directory for primary sync
74 --fdir <directory> Intermediate directory (pass to mktest.pl)
75 All options that are needed for the master sync-type
76
78 This is a small front-end for Test::Smoke::Syncer.
79
81 "Keeping in sync" in perlhack, Test::Smoke::Syncer
82
84 (c) 2002-2003, All rights reserved.
85
86 * Abe Timmerman <abeltje@cpan.org>
87
88 This library is free software; you can redistribute it and/or modify it
89 under the same terms as Perl itself.
90
91 See:
92
93 · <http://www.perl.com/perl/misc/Artistic.html>
94
95 · <http://www.gnu.org/copyleft/gpl.html>
96
97 This program is distributed in the hope that it will be useful, but
98 WITHOUT ANY WARRANTY; without even the implied warranty of
99 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
100
101
102
103perl v5.28.0 2017-05-22 SYNCTREE(1)