After overheat

This commit is contained in:
Your Name 2017-04-04 21:51:11 -04:00
parent ab457731f8
commit c8bd333658
4 changed files with 34 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
cache.stor
*.swp
logs/*.log
logs/*
#*.stor

16
disableapache.pl Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env perl
use 5.24.0;
use Data::Dumper;
use Storable;
my $data = retrieve $ARGV[0];
for my $mod ($data->{modules}->@*) {
if ($mod =~ /Apache/ && !$data->{jobstatus}{$mod}{tested}) {
$data->{jobstatus}{$mod}={tested => 3, status => "apache failure"};
}
}
store $data, $ARGV[0].'.new';

Binary file not shown.

17
showdeps.pl Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env perl
use 5.24.0;
use Data::Dumper;
use Storable;
use lib './lib';
use Dist;
use Module;
my $cache =retrieve "modcache.stor";
my $dist = $Dist::mod_to_dist{$ARGV[0]} || $ARGV[0];
if (my $mod = $cache->{$dist}) {
$mod->print_deps();
}