diff options
| -rwxr-xr-x | apt-panopticon-report-web.lua | 11 |
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. " .. | 256 | "<p>Due to the nature of the tests, some errors or warnings will be counted several times. " .. |
| 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 .. " </td><td>https: " .. https .. " </td><td>" .. dns .. | 315 | file:write("<td>" .. http .. " </td><td>" .. https .. " </td><td>" .. dns .. |
| 315 | " </td><td>Protocol: " .. protocol .. " </td><td>URL-sanity: " .. sanity .. | 316 | " </td><td>" .. protocol .. " </td><td>" .. sanity .. |
| 316 | " </td><td>Integrity: " .. integrity .. " </td><td>Updated: " .. updated .. "</td></tr>\n") | 317 | " </td><td>" .. integrity .. " </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") |
