From c76194033e49dc2897a8d50a4aa7c4688a7900af Mon Sep 17 00:00:00 2001
From: onefang
Date: Thu, 26 Dec 2019 15:47:41 +1000
Subject: New explanations.html page.
---
apt-panopticon-report-email-web.lua | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
(limited to 'apt-panopticon-report-email-web.lua')
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
email:close()
end
+local lnk = function(name, link)
+ if nil == link then link = name end
+ return name .."*"
+end
+
local colours =
{
@@ -365,8 +370,9 @@ if nil == web then C("opening mirrors file - " .. e) else
"The time in the Updated column is how often the mirror updates itself.
" ..
"Mirrors with a grey background are not active (though may be usable as part of the DNS-RR).
\n" ..
"[skip] means that the test hasn't been written yet.
\n" ..
- "
\n | FTP | HTTP | HTTPS | RSYNC | DNS round robin | " ..
- "Protocol | URL sanity | Integrity | Updated | Speed range |
\n"
+ "\n | " .. lnk('FTP') .. " | " .. lnk('HTTP') .. " | " .. lnk('HTTPS') .. " | " .. lnk('RSYNC') .. " | " ..
+ "" .. lnk('DNS round robin', 'DNS-RR') .. " | " .. lnk('Protocol') .. " | " .. lnk('URL sanity', 'URL-Sanity') .. " | " .. lnk('Integrity') .. " | " ..
+ "" .. lnk('Updated') .. " | " .. lnk('Speed range', 'Speed') .. " |
\n"
)
for k, v in APT.orderedPairs(APT.mirrors) do
local results = APT.collateAll(APT.mirrors, 'results', k)
@@ -484,8 +490,10 @@ if nil == web then C("opening mirrors file - " .. e) else
"NOTE - This is not fully probing the Debian mirrors, we just collect some data from any redirects to other servers. " ..
"So this isn't a full set of tests.   Basically we don't know the shape of the Debian mirror infrastructure.
\n" ..
"EXPERIMENTAL CODE - this is even more experimental than the rest.
\n" ..
- "\n | FTP | HTTP | HTTPS | RSYNC | DNS round robin | " ..
- "Protocol | URL sanity | Integrity | Updated | Speed range |
\n")
+
+ "\n | " .. lnk('FTP') .. " | " .. lnk('HTTP') .. " | " .. lnk('HTTPS') .. " | " .. lnk('RSYNC') .. " | " ..
+ "" .. lnk('DNS round robin', 'DNS-RR') .. " | " .. lnk('Protocol') .. " | " .. lnk('URL sanity', 'URL-Sanity') .. " | " .. lnk('Integrity') .. " | " ..
+ "" .. lnk('Updated') .. " | " .. lnk('Speed range', 'Speed') .. " |
\n")
for k, v in APT.orderedPairs(APT.debians) do
local results = APT.collateAll(APT.debians, 'results', k)
local active = ""
--
cgit v1.1