CPAN::Reporter::Smoker::SaferTurnkey smoking of installed distros | |
Download |
CPAN::Reporter::Smoker::Safer Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- David Westbrook
- Publisher web site:
- http://search.cpan.org/~davidrw/
CPAN::Reporter::Smoker::Safer Tags
CPAN::Reporter::Smoker::Safer Description
Turnkey smoking of installed distros CPAN::Reporter::Smoker::Safer is a Perl subclass of CPAN::Reporter::Smoker that will limit the set of tested distributions to ones that are "trusted". This means that the distribution is already installed on the system, and that the new version it has been on CPAN for a certain amount of time, and has already received a certain number of test reporters. The assumption is that is it is safe (as in "safer") to install distributions (and their dependencies) that meet that criteria.This can be used to run partial smoke testing on a box that normally wouldn't be desired for full smoke testing (i.e. isn't a dedicated/isolated environment). Another potential use is to vet everything before upgrading.SYNOPSIS # Default usage perl -MCPAN::Reporter::Smoker::Safer -e start # Control the 'trust' params for the default filter perl -MCPAN::Reporter::Smoker::Safer -e 'start( safer=>{min_reports=>0, min_days_old=>2} )' # Smoke all installed modules from a specific namespace perl -MCPAN::Reporter::Smoker::Safer -e 'start( safer=>{min_reports=>0, min_days_old=>0, mask=>"/MyFoo::/"} )' # Custom filter (in this case, specific authorid) perl -MCPAN::Reporter::Smoker::Safer -e 'start( safer=>{filter=>sub{$_->pretty_id =~ m#/DAVIDRW/#}} )' # Preview mode - display distros found perl -MCPAN::Reporter::Smoker::Safer -MData::Dumper -e 'print Dumper start(safer=>{preview=>1})' Requirements: · Perl
CPAN::Reporter::Smoker::Safer Related Software