++ed by:
ILUX

1 PAUSE user
2 non-PAUSE users.

Author image Abe Timmerman

NAME

synctree.pl - Cleanup and sync the perl-current source-tree

SYNOPSIS

    $ ./synctree.pl -t rsync -d ../perl-current [--help | more options]

or

   $ ./synctree.pl -c smokeperl_config

OPTIONS

Options depend on the type option, exept for some.

  • Configuration file

        -c | --config <configfile> Use the settings from the configfile

    synctree.pl can use the configuration file created by configsmoke.pl. Other options can override the settings from the configuration file.

  • General options

        -d | --ddir <directory>  Set the directory for the source-tree
        -v | --verbose           Be verbose
    
        -t | --type <type>       'rsync', 'snapshot', 'copy' [mandatory]
  • options for -t rsync

        --source <rsync-src>     (ftp.linux.activestate.com::perl-current)
        --rsync <path/to/rsync>  (rsync)
        --opts <rsync-opts>      (-az --delete)
  • options for -t snapshot

        --server <ftp-server>    (ftp.funet.fi)
        --sdir <directory>       (/pub/languages/perl/snap)
        --snapext <ext>          (tgz)
        --tar <un-tar-gz>        (gzip -dc %s | tar -xf -)
    
        --patchup                patch a snapshot [needs the patch program]
        --pserver <ftp-server>   (ftp2.activestate.com)
        --pdir <directory>       (/pub/staff/gsar/APC/perl-current-diffs)
        --unzip <command>        (gzip -dc)
        --patch <command>        (patch)
        --cleanup <level>        (0) none; (1) snapshot; (2) diffs; (3) both
  • options for -t copy

        --cdir <directory>       Source directory for copy_from_MANIFEST()
  • options for -t hardlink

        --hdir <directory>       Source directory to hardlink from
  • options for -t forest

        --fsync <synctype>       Master sync-type (One of the above)
        --mdir <directory>       Master directory for primary sync
        --fdir <directory>       Intermediate directory (pass to mktest.pl)
        All options that are needed for the master sync-type

SEE ALSO

"Keeping in sync" in perlhack, Test::Smoke::Syncer

COPYRIGHT

(c) 2002-2003, 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.