diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-24 23:22:22 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-06-24 23:22:22 -0400 |
commit | dfed2ec7e5405afc3f7ca877a20939ab2733c44e (patch) | |
tree | b485f90c464d1162dcbd91255262388059fb6ac2 | |
parent | 9b3f1717ed84c11d5df27c9594b76acd444a0e13 (diff) | |
download | sbostuff-dfed2ec7e5405afc3f7ca877a20939ab2733c44e.tar.gz |
sbosrcarch: add by-md5 stats to check/status
-rwxr-xr-x | sbosrcarch | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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; |