diff options
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 2a13975..de63274 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua | |||
@@ -444,7 +444,9 @@ if nil == email then C("opening mirrors file - " .. e) else | |||
444 | "The full results of the mirror checking is available at the URLs:\n\n" .. | 444 | "The full results of the mirror checking is available at the URLs:\n\n" .. |
445 | " https://borta.devuan.dev/apt-panopticon/results/Report-web.html\n (updated once every hour)\n" .. | 445 | " https://borta.devuan.dev/apt-panopticon/results/Report-web.html\n (updated once every hour)\n" .. |
446 | " https://sledjhamr.org/apt-panopticon/results/Report-web.html\n (updated once every ten minutes)\n\n" .. | 446 | " https://sledjhamr.org/apt-panopticon/results/Report-web.html\n (updated once every ten minutes)\n\n" .. |
447 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. " .. | 447 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. There will be some duplication.\n\n" .. |
448 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. There will be some duplication.\n\n" .. | ||
449 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. There will be some duplication.\n\n" .. | ||
448 | "Refer to the logs on the web page for details.\n\n" .. | 450 | "Refer to the logs on the web page for details.\n\n" .. |
449 | "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. | 451 | "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. |
450 | "==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====\n" .. | 452 | "==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====\n" .. |
@@ -484,9 +486,9 @@ if nil == email then C("opening mirrors file - " .. e) else | |||
484 | "* This means that this protocol isn't actually supported, but the test was run ayway.\n\n" .. | 486 | "* This means that this protocol isn't actually supported, but the test was run ayway.\n\n" .. |
485 | "Thanks for your precious help in ensuring that Devuan GNU+Linux \nremains a universal, stable, dependable, free operating system.\n\n" .. | 487 | "Thanks for your precious help in ensuring that Devuan GNU+Linux \nremains a universal, stable, dependable, free operating system.\n\n" .. |
486 | "You can get the source code from https://sledjhamr.org/cgit/apt-panopticon/about/ (main repo)\n" .. | 488 | "You can get the source code from https://sledjhamr.org/cgit/apt-panopticon/about/ (main repo)\n" .. |
487 | "and from https://git.devuan.dev/onefang/apt-panopticon' (Devuan repo).\n" .. | 489 | "and from https://git.devuan.org/onefang/apt-panopticon' (Devuan repo).\n" .. |
488 | "You can get the cgp graphing source code from https://sledjhamr.org/cgit/apt-panopticon_cgp/about/ (main repo)\n" .. | 490 | "You can get the cgp graphing source code from https://sledjhamr.org/cgit/apt-panopticon_cgp/about/ (main repo)\n" .. |
489 | "and https://git.devuan.dev/onefang/apt-panopticon_cgp (Devuan repo)\n\n" .. | 491 | "and https://git.devuan.org/onefang/apt-panopticon_cgp (Devuan repo)\n\n" .. |
490 | "Love\n\n" .. | 492 | "Love\n\n" .. |
491 | "The Dev1Devs\n\n") | 493 | "The Dev1Devs\n\n") |
492 | email:close() | 494 | email:close() |
@@ -621,9 +623,9 @@ if nil == web then C("opening mirrors file - " .. e) else | |||
621 | web:write( "<hr>\n<hr>\n<p>The <a href='Report-email.txt'>email report</a>. " .. | 623 | web:write( "<hr>\n<hr>\n<p>The <a href='Report-email.txt'>email report</a>. " .. |
622 | "All <a href='../results'>the logs and other output</a>. " .. | 624 | "All <a href='../results'>the logs and other output</a>. " .. |
623 | "You can get the <a href='https://sledjhamr.org/cgit/apt-panopticon/about/'>source code here (main repo)</a>" .. | 625 | "You can get the <a href='https://sledjhamr.org/cgit/apt-panopticon/about/'>source code here (main repo)</a>" .. |
624 | "and <a href='https://git.devuan.dev/onefang/apt-panopticon'>here (Devuan repo)</a>. " .. | 626 | "and <a href='https://git.devuan.org/onefang/apt-panopticon'>here (Devuan repo)</a>. " .. |
625 | "You can get the cgp graphing <a href='https://sledjhamr.org/cgit/apt-panopticon_cgp/about/'>source code here (main repo)</a>" .. | 627 | "You can get the cgp graphing <a href='https://sledjhamr.org/cgit/apt-panopticon_cgp/about/'>source code here (main repo)</a>" .. |
626 | "and <a href='https://git.devuan.dev/onefang/apt-panopticon_cgp'>here (Devuan repo)</a>.</p>\n" | 628 | "and <a href='https://git.devuan.org/onefang/apt-panopticon_cgp'>here (Devuan repo)</a>.</p>\n" |
627 | ) | 629 | ) |
628 | local whn = APT.exe('TZ="GMT" ls -dl1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2) | 630 | local whn = APT.exe('TZ="GMT" ls -dl1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2) |
629 | web:write( "<p>This run took " .. (os.time() - tonumber("0" .. whn)) .. " seconds.     apt-panopticon version " .. APT.version .. " </p>" .. | 631 | web:write( "<p>This run took " .. (os.time() - tonumber("0" .. whn)) .. " seconds.     apt-panopticon version " .. APT.version .. " </p>" .. |