From 9a464504d2451f2d9125842eab6ecd4dd52a09a2 Mon Sep 17 00:00:00 2001 From: Andreas Koenig Date: Sat, 18 Nov 2017 23:15:08 +0100 Subject: [PATCH] Just notes about our plans --- bin/analysis-oldreports-extinction-program.pl | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/bin/analysis-oldreports-extinction-program.pl b/bin/analysis-oldreports-extinction-program.pl index 7c7751b6..da7975cd 100755 --- a/bin/analysis-oldreports-extinction-program.pl +++ b/bin/analysis-oldreports-extinction-program.pl @@ -221,7 +221,27 @@ LOOP: while ($bavail < $Opt{untildf}) { my @triple_age = sort { $a <=> $b } map { -M $_ } @triple; warn "triple_age [@triple_age]"; # There must be a rule to say we remove the - # dir or not (because somebody works with it) + # dir or not (because somebody works with it). + # We know that the directory timestamp can be + # very old because nobody updates it. So + # usually the youngest timestamp is from a + # downloaded file or the tarball. But removing + # the directory is dangerous, no matter how + # old it is +# Shall I delete /home/andreas/data/cpantesters/reports/L/Log-Agent-1.000.tar +# (Mtime=718.514236111111111) and related workdir files? (y/n/q) +# [default y] +# Deleting /home/andreas/data/cpantesters/reports/L/Log-Agent-1.000.tar +# Deleting /home/andreas/data/cnntp-solver-2009/workdir/solved/Log-Agent-1.000.slv.LCK +# Deleting /home/andreas/data/cnntp-solver-2009/workdir/solved/Log-Agent-1.000.yml +# Deleting /home/andreas/data/cnntp-solver-2009/workdir/solved/Log-Agent-1.000.slvdv.gz +# Deleting /home/andreas/data/cnntp-solver-2009/workdir/solved/Log-Agent-1.000.slv +# zrem-redis: redis-cli zrem analysis:distv:calctimestamp Log-Agent-1.000 +# Done. +# Done. +# df bavail: 26508336 + + # the solution is probably in the LCK file. next INNER; } else { $want_treat_dir = 1; -- 2.11.4.GIT