diff options
author | onefang | 2019-12-02 05:50:58 +1000 |
---|---|---|
committer | onefang | 2019-12-02 05:50:58 +1000 |
commit | 0560dc5975ff29be6d63885925aa1942135f0043 (patch) | |
tree | a9ba04aadcba1f91f3b53ce860825c70fb8a61a6 /apt-panopticon-report-email.lua | |
parent | Explain the Updated time. (diff) | |
download | apt-panopticon-0560dc5975ff29be6d63885925aa1942135f0043.zip apt-panopticon-0560dc5975ff29be6d63885925aa1942135f0043.tar.gz apt-panopticon-0560dc5975ff29be6d63885925aa1942135f0043.tar.bz2 apt-panopticon-0560dc5975ff29be6d63885925aa1942135f0043.tar.xz |
Add more report stuff.
TIMEOUT, report inactive mirrors and why it's not active, add a * for
things tested but not supported.
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-report-email.lua | 8 |
1 files changed, 6 insertions, 2 deletions
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 | |||
234 | results = collate(k, i, results) | 234 | results = collate(k, i, results) |
235 | end | 235 | end |
236 | end | 236 | end |
237 | local ftp = "[skip]" | ||
237 | local http = status(k, results, "http") | 238 | local http = status(k, results, "http") |
238 | local https = status(k, results, "https") | 239 | local https = status(k, results, "https") |
240 | local rsync = "[skip]" | ||
239 | local dns = "" | 241 | local dns = "" |
240 | local protocol = status(k, results, "Protocol") | 242 | local protocol = status(k, results, "Protocol") |
241 | local sanity = "[skip]" | 243 | local sanity = "[skip]" |
@@ -275,8 +277,10 @@ if nil == file then C("opening mirrors file - " .. e) else | |||
275 | dns = " DNS-RR: " .. dns | 277 | dns = " DNS-RR: " .. dns |
276 | end | 278 | end |
277 | 279 | ||
278 | file:write( " http: " .. http .. " https: " .. https .. dns .. "\n" .. | 280 | file:write( " ftp: " .. ftp .. " http: " .. http .. " https: " .. https .." rsync: " .. rsync .. "\n" .. |
279 | " Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. " Updated: " .. updated .. "\n") | 281 | " " .. dns .. "\n" .. |
282 | " Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. "\n" .. | ||
283 | " Updated: " .. updated .. "\n") | ||
280 | end | 284 | end |
281 | file:write( "\n==== faulty mirrors: ====\n" .. faulty) | 285 | file:write( "\n==== faulty mirrors: ====\n" .. faulty) |
282 | file:write( "\n---- END MIRROR-STATUS ----\n\n" .. | 286 | file:write( "\n---- END MIRROR-STATUS ----\n\n" .. |