aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-24 23:22:22 -0400
committerB. Watson <yalhcru@gmail.com>2018-06-24 23:22:22 -0400
commitdfed2ec7e5405afc3f7ca877a20939ab2733c44e (patch)
treeb485f90c464d1162dcbd91255262388059fb6ac2
parent9b3f1717ed84c11d5df27c9594b76acd444a0e13 (diff)
downloadsbostuff-dfed2ec7e5405afc3f7ca877a20939ab2733c44e.tar.gz
sbosrcarch: add by-md5 stats to check/status
-rwxr-xr-xsbosrcarch13
1 files changed, 8 insertions, 5 deletions
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;