-
-
30 Mar 2022 09:25:47 UTC
- Distribution: Test-Smoke
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (24)
- Testers (220 / 5 / 0)
- Kwalitee
Bus factor: 2- 65.73% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (358.2KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- CGI::Util
- Capture::Tiny
- File::Spec
- HTTP::Tiny
- JSON::XS
- POSIX
- System::Info
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Test::Smoke::Syncer::FTP
This handles syncing by getting the source-tree from ActiveState's APC repository. It uses the
Test::Smoke::FTPClient
that implements a mirror function.Test::Smoke::Syncer::FTP->new( %args )
Known args for this class:
* ftphost (public.activestate.com) * ftpusr (anonymous) * ftppwd (smokers@perl.org) * ftpsdir (/pub/apc/perl-????) * ftpcdir (/pub/apc/perl-????-diffs) * ftype (undef|binary|ascii) * ddir * v
$syncer->sync()
This does the actual syncing:
* Check {ftpcdir} for the latest changenumber * Mirror
$syncer->create_dot_patch
This needs to go to the *-diffs directory on APC and find the patch whith the highest number, that should be our current patchlevel.
COPYRIGHT
(c) 2002-2013, 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.
Module Install Instructions
To install Test::Smoke, copy and paste the appropriate command in to your terminal.
cpanm Test::Smoke
perl -MCPAN -e shell install Test::Smoke
For more information on module installation, please visit the detailed CPAN module installation guide.