aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon-report-web.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/apt-panopticon-report-web.lua b/apt-panopticon-report-web.lua
index 7ebf2d3..42a08ee 100755
--- a/apt-panopticon-report-web.lua
+++ b/apt-panopticon-report-web.lua
@@ -256,7 +256,8 @@ if nil == file then C("opening mirrors file - " .. e) else
256 "<p>Due to the nature of the tests, some errors or warnings will be counted several times. &nbsp; " .. 256 "<p>Due to the nature of the tests, some errors or warnings will be counted several times. &nbsp; " ..
257 "Refer to the logs below for details.</p>\n\n" .. 257 "Refer to the logs below for details.</p>\n\n" ..
258 "<p>Please see below the current status of the Devuan Package Mirror network:</p>\n" .. 258 "<p>Please see below the current status of the Devuan Package Mirror network:</p>\n" ..
259 "<h2>==== mirror status: ====</h2>\n<table>\n" 259 "<h2>==== mirror status: ====</h2>\n<table>\n" ..
260 "<tr><th></th><th>http</th><th>https</th><th>DNS-RR</th><th>Protocol</th><th>URL-Sanity</th><th>Integrity</th><th>Updated</th></tr>\n"
260 ) 261 )
261 for k, v in orderedPairs(mirrors) do 262 for k, v in orderedPairs(mirrors) do
262 local results = loadfile("results/" .. k .. ".lua")() 263 local results = loadfile("results/" .. k .. ".lua")()
@@ -308,12 +309,12 @@ if nil == file then C("opening mirrors file - " .. e) else
308 end 309 end
309 end 310 end
310 end 311 end
311 if "" == dns then dns = "DNS-RR: [<font color='gray'><b>no</b></font>]" else dns = "DNS-RR:" .. dns end 312 if "" == dns then dns = "[<font color='gray'><b>no</b></font>]" end
312 end 313 end
313 314
314 file:write("<td>http: " .. http .. "&nbsp;</td><td>https: " .. https .. "&nbsp;</td><td>" .. dns .. 315 file:write("<td>" .. http .. "&nbsp;</td><td>" .. https .. "&nbsp;</td><td>" .. dns ..
315 "&nbsp;</td><td>Protocol: " .. protocol .. "&nbsp;</td><td>URL-sanity: " .. sanity .. 316 "&nbsp;</td><td>" .. protocol .. "&nbsp;</td><td>" .. sanity ..
316 "&nbsp;</td><td>Integrity: " .. integrity .. "&nbsp;</td><td>Updated: " .. updated .. "</td></tr>\n") 317 "&nbsp;</td><td>" .. integrity .. "&nbsp;</td><td>" .. updated .. "</td></tr>\n")
317 end 318 end
318 file:write( "</table>\n<br>\n<h2>==== faulty mirrors: ====</h2>\n" .. faulty) 319 file:write( "</table>\n<br>\n<h2>==== faulty mirrors: ====</h2>\n" .. faulty)
319 file:write( "<br>\n<br>\n<h2>==== DNS and logs: ====</h2>\n") 320 file:write( "<br>\n<br>\n<h2>==== DNS and logs: ====</h2>\n")