From 0560dc5975ff29be6d63885925aa1942135f0043 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 2 Dec 2019 05:50:58 +1000 Subject: Add more report stuff. TIMEOUT, report inactive mirrors and why it's not active, add a * for things tested but not supported. --- apt-panopticon-report-email.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apt-panopticon-report-email.lua') diff --git a/apt-panopticon-report-email.lua b/apt-panopticon-report-email.lua index c102b81..53db16f 100755 --- a/apt-panopticon-report-email.lua +++ b/apt-panopticon-report-email.lua @@ -234,8 +234,10 @@ if nil == file then C("opening mirrors file - " .. e) else results = collate(k, i, results) end end + local ftp = "[skip]" local http = status(k, results, "http") local https = status(k, results, "https") + local rsync = "[skip]" local dns = "" local protocol = status(k, results, "Protocol") local sanity = "[skip]" @@ -275,8 +277,10 @@ if nil == file then C("opening mirrors file - " .. e) else dns = " DNS-RR: " .. dns end - file:write( " http: " .. http .. " https: " .. https .. dns .. "\n" .. - " Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. " Updated: " .. updated .. "\n") + file:write( " ftp: " .. ftp .. " http: " .. http .. " https: " .. https .." rsync: " .. rsync .. "\n" .. + " " .. dns .. "\n" .. + " Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. "\n" .. + " Updated: " .. updated .. "\n") end file:write( "\n==== faulty mirrors: ====\n" .. faulty) file:write( "\n---- END MIRROR-STATUS ----\n\n" .. -- cgit v1.1