Sys-OsPackage
view release on metacpan or search on metacpan
[MAJOR]
[MINOR]
- add --without-recommends and --without-suggests to cpanm calls to
improve performance and reduce noise
[REVISION]
[SECURITY]
0.3.1 2022-11-02T22:14:21-07:00 America/Los_Angeles
[BUG FIXES]
- Back off 010_fetch_reqs.t until it works from both desktop CLI and
container environment. (GH-1)
- new share/sys-ospkg-test directory with container test tool used to
investigate CPAN Testers' breakage report
0.3.0 2022-10-30T20:08:27-07:00 America/Los_Angeles
[DOCS]
- add docs for CLI options: --debug --quiet --notest --sudo
[MINOR]
- add --sudo flag (like cpanm) to use sudo for root access during module
t/010_fetch_reqs.t view on Meta::CPAN
use Readonly;
use Config;
use File::Temp;
use File::Path qw(make_path);
use File::Basename qw(basename);
use File::Slurp qw(slurp);
use Cwd qw(abs_path);
# Initial attempt at these tests in 0.3.0 didn't go over well with CPAN Testers. Container tests
# confirmed their problems but so far haven't found settings that work to capture CPAN build
# outputs both on a desktop CLI and in the the container environment. Re-enable when working...
use Test::More skip_all => 'deactivate these tests until multi-platform issues are fixed';
# configuration & constants
Readonly::Scalar my $script_name => "bin/fetch-reqs.pl";
Readonly::Scalar my $debug_mode => ( exists $ENV{SYS_OSPACKAGE_DEBUG} and $ENV{SYS_OSPACKAGE_DEBUG} ) ? 1 : 0;
Readonly::Array my @inc_configs => qw(installarchlib installprivlib installvendorlib installsitelib);
Readonly::Scalar my $input_dir => "t/test-inputs/" . basename( $0, ".t" );
Readonly::Scalar my $tmpdir_template => "Sys-OsPackage-XXXXXXXXXX";
Readonly::Scalar my $new_dir_perms => oct('770');
Readonly::Scalar my $new_file_perms => oct('660');
( run in 0.631 second using v1.01-cache-2.11-cpan-299005ec8e3 )