From dfed2ec7e5405afc3f7ca877a20939ab2733c44e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 24 Jun 2018 23:22:22 -0400 Subject: sbosrcarch: add by-md5 stats to check/status --- sbosrcarch | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sbosrcarch') diff --git a/sbosrcarch b/sbosrcarch index 72c3cdb..1e2c794 100755 --- a/sbosrcarch +++ b/sbosrcarch @@ -1706,6 +1706,7 @@ sub check_mode { print "* Parsing .info files...\n"; find({wanted => \&check_info_wanted, no_chdir => 1}, "."); + die "allmd5sums is " . keys(%allmd5sums) . " elements"; chdir($archivedir) or die "$archivedir: $!"; @@ -1752,15 +1753,17 @@ Archive size: $filemegs Missing files: $missingfiles Extraneous files: $extraneous_byname File coverage: $filecoverage% ---- by-md5 summary: -Total source files: $md5_totalfiles -Missing files: $md5_missingfiles -File coverage: $md5_filecoverage% ---- + +--- SlackBuild summary (based on by-name) Total SlackBuilds: $totalbuildcount SlackBuilds with all files present: $completebuildcount SlackBuilds missing at least one file: $missingbuildcount SlackBuild coverage: $coverage% + +--- by-md5 summary: +Total source files: $md5_totalfiles +Missing files: $md5_missingfiles +File coverage: $md5_filecoverage% EOF exit 0; -- cgit v1.2.3