diff options
author | onefang | 2019-12-25 23:10:15 +1000 |
---|---|---|
committer | onefang | 2019-12-25 23:10:15 +1000 |
commit | 18dd54b8f0ba73abd84397977712926d3491f088 (patch) | |
tree | 549c82469bc0873f502d1e074ee709a8ae9c9d5c /apt-panopticon-report-email-web.lua | |
parent | Track, store, and report info from the hosts that get redirected to. (diff) | |
download | apt-panopticon-18dd54b8f0ba73abd84397977712926d3491f088.zip apt-panopticon-18dd54b8f0ba73abd84397977712926d3491f088.tar.gz apt-panopticon-18dd54b8f0ba73abd84397977712926d3491f088.tar.bz2 apt-panopticon-18dd54b8f0ba73abd84397977712926d3491f088.tar.xz |
Use proper time and date format, and check for the directory before tarballing it up.
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 23608d3..42fb19e 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua | |||
@@ -198,7 +198,7 @@ if nil == email then C("opening mirrors file - " .. e) else | |||
198 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. " .. | 198 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. " .. |
199 | "Refer to the logs on the web page for details.\n\n" .. | 199 | "Refer to the logs on the web page for details.\n\n" .. |
200 | "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. | 200 | "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. |
201 | "==== package mirror status " .. os.date("!%Y-%m-%d %H:%M") .. " GMT ====\n" .. | 201 | "==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====\n" .. |
202 | "[skip] means that the test hasn't been written yet.\n\n") | 202 | "[skip] means that the test hasn't been written yet.\n\n") |
203 | for k, v in APT.orderedPairs(APT.mirrors) do | 203 | for k, v in APT.orderedPairs(APT.mirrors) do |
204 | email:write(k .. "....\n") | 204 | email:write(k .. "....\n") |
@@ -345,7 +345,7 @@ if nil == web then C("opening mirrors file - " .. e) else | |||
345 | "<a href='https://pkgmaster.devuan.org/mirror_list.txt'>https://pkgmaster.devuan.org/mirror_list.txt</a></p>\n" .. | 345 | "<a href='https://pkgmaster.devuan.org/mirror_list.txt'>https://pkgmaster.devuan.org/mirror_list.txt</a></p>\n" .. |
346 | "<p>Due to the nature of the tests, some errors or warnings will be counted several times. " .. | 346 | "<p>Due to the nature of the tests, some errors or warnings will be counted several times. " .. |
347 | "The links in the table and DNS list go to the detailed testing logs.</p>\n\n" .. | 347 | "The links in the table and DNS list go to the detailed testing logs.</p>\n\n" .. |
348 | "<hr>\n<h2>==== package mirror status " .. os.date("!%Y-%m-%d %H:%M") .. " GMT ====</h2>\n" .. | 348 | "<hr>\n<h2>==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====</h2>\n" .. |
349 | 349 | ||
350 | "<p>[<font color='red'><b>FAILED</b></font>] or [<font color='lime'><b>OK</b></font>]" .. | 350 | "<p>[<font color='red'><b>FAILED</b></font>] or [<font color='lime'><b>OK</b></font>]" .. |
351 | " means the tested thing is supported for that mirror.</p>\n" .. | 351 | " means the tested thing is supported for that mirror.</p>\n" .. |