After overheat
This commit is contained in:
parent
ab457731f8
commit
c8bd333658
4 changed files with 34 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
cache.stor
|
||||
*.swp
|
||||
logs/*.log
|
||||
logs/*
|
||||
#*.stor
|
||||
|
|
16
disableapache.pl
Executable file
16
disableapache.pl
Executable 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';
|
BIN
everything.stor
BIN
everything.stor
Binary file not shown.
17
showdeps.pl
Executable file
17
showdeps.pl
Executable 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();
|
||||
}
|
Loading…
Add table
Reference in a new issue