aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon-report-email-web.lua
diff options
context:
space:
mode:
authoronefang2019-12-26 15:47:41 +1000
committeronefang2019-12-26 15:47:41 +1000
commitc76194033e49dc2897a8d50a4aa7c4688a7900af (patch)
tree5971bcb09018bd67868703337f658b930f39b787 /apt-panopticon-report-email-web.lua
parentProtocol change is an ERROR for the round robin, not a WARNING. (diff)
downloadapt-panopticon-c76194033e49dc2897a8d50a4aa7c4688a7900af.zip
apt-panopticon-c76194033e49dc2897a8d50a4aa7c4688a7900af.tar.gz
apt-panopticon-c76194033e49dc2897a8d50a4aa7c4688a7900af.tar.bz2
apt-panopticon-c76194033e49dc2897a8d50a4aa7c4688a7900af.tar.xz
New explanations.html page.
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
-rwxr-xr-xapt-panopticon-report-email-web.lua16
1 files changed, 12 insertions, 4 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua
index 62cb8a5..3703972 100755
--- a/apt-panopticon-report-email-web.lua
+++ b/apt-panopticon-report-email-web.lua
@@ -264,6 +264,11 @@ if nil == email then C("opening mirrors file - " .. e) else
264 email:close() 264 email:close()
265end 265end
266 266
267local lnk = function(name, link)
268 if nil == link then link = name end
269 return name .."<a href='explanations.html#" .. link .. "'>*"
270end
271
267 272
268local colours = 273local colours =
269{ 274{
@@ -365,8 +370,9 @@ if nil == web then C("opening mirrors file - " .. e) else
365 "<p>The time in the Updated column is how often the mirror updates itself.</p>" .. 370 "<p>The time in the Updated column is how often the mirror updates itself.</p>" ..
366 "<p>Mirrors with a <font style='background-color:dimgrey'>grey background</font> are not active (though may be usable as part of the DNS-RR).</p>\n" .. 371 "<p>Mirrors with a <font style='background-color:dimgrey'>grey background</font> are not active (though may be usable as part of the DNS-RR).</p>\n" ..
367 "<p>[<font color='grey'><b>skip</b></font>] means that the test hasn't been written yet.</p>\n" .. 372 "<p>[<font color='grey'><b>skip</b></font>] means that the test hasn't been written yet.</p>\n" ..
368 "<table>\n<tr><th></th><th>FTP</th><th>HTTP</th><th>HTTPS</th><th>RSYNC</th><th>DNS round robin</th>" .. 373 "<table>\n<tr><th></th><th>" .. lnk('FTP') .. "</a></th><th>" .. lnk('HTTP') .. "</th><th>" .. lnk('HTTPS') .. "</th><th>" .. lnk('RSYNC') .. "</th>" ..
369 "<th>Protocol</th><th>URL sanity</th><th>Integrity</th><th>Updated</th><th colspan='2'>Speed range</th></tr>\n" 374 "<th>" .. lnk('DNS round robin', 'DNS-RR') .. "</th><th>" .. lnk('Protocol') .. "</th><th>" .. lnk('URL sanity', 'URL-Sanity') .. "</th><th>" .. lnk('Integrity') .. "</th>" ..
375 "<th>" .. lnk('Updated') .. "</th><th colspan='2'>" .. lnk('Speed range', 'Speed') .. "</th></tr>\n"
370 ) 376 )
371 for k, v in APT.orderedPairs(APT.mirrors) do 377 for k, v in APT.orderedPairs(APT.mirrors) do
372 local results = APT.collateAll(APT.mirrors, 'results', k) 378 local results = APT.collateAll(APT.mirrors, 'results', k)
@@ -484,8 +490,10 @@ if nil == web then C("opening mirrors file - " .. e) else
484 "<p>NOTE - This is not fully probing the Debian mirrors, we just collect some data from any redirects to other servers. &nbsp; " .. 490 "<p>NOTE - This is not fully probing the Debian mirrors, we just collect some data from any redirects to other servers. &nbsp; " ..
485 "So this isn't a full set of tests. &nbsp Basically we don't know the shape of the Debian mirror infrastructure.</p>\n" .. 491 "So this isn't a full set of tests. &nbsp Basically we don't know the shape of the Debian mirror infrastructure.</p>\n" ..
486 "<p><font style='background-color:red; color:black'>EXPERIMENTAL CODE - this is even more experimental than the rest.</font></p>\n" .. 492 "<p><font style='background-color:red; color:black'>EXPERIMENTAL CODE - this is even more experimental than the rest.</font></p>\n" ..
487 "<table>\n<tr><th></th><th>FTP</th><th>HTTP</th><th>HTTPS</th><th>RSYNC</th><th>DNS round robin</th>" .. 493
488 "<th>Protocol</th><th>URL sanity</th><th>Integrity</th><th>Updated</th><th colspan='2'>Speed range</th></tr>\n") 494 "<table>\n<tr><th></th><th>" .. lnk('FTP') .. "</a></th><th>" .. lnk('HTTP') .. "</th><th>" .. lnk('HTTPS') .. "</th><th>" .. lnk('RSYNC') .. "</th>" ..
495 "<th>" .. lnk('DNS round robin', 'DNS-RR') .. "</th><th>" .. lnk('Protocol') .. "</th><th>" .. lnk('URL sanity', 'URL-Sanity') .. "</th><th>" .. lnk('Integrity') .. "</th>" ..
496 "<th>" .. lnk('Updated') .. "</th><th colspan='2'>" .. lnk('Speed range', 'Speed') .. "</th></tr>\n")
489 for k, v in APT.orderedPairs(APT.debians) do 497 for k, v in APT.orderedPairs(APT.debians) do
490 local results = APT.collateAll(APT.debians, 'results', k) 498 local results = APT.collateAll(APT.debians, 'results', k)
491 local active = "" 499 local active = ""