From 18dd54b8f0ba73abd84397977712926d3491f088 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 25 Dec 2019 23:10:15 +1000 Subject: Use proper time and date format, and check for the directory before tarballing it up. --- apt-panopticon-report-email-web.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 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 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 "Due to the nature of the tests, some errors or warnings will be \ncounted several times. " .. "Refer to the logs on the web page for details.\n\n" .. "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. - "==== package mirror status " .. os.date("!%Y-%m-%d %H:%M") .. " GMT ====\n" .. + "==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====\n" .. "[skip] means that the test hasn't been written yet.\n\n") for k, v in APT.orderedPairs(APT.mirrors) do email:write(k .. "....\n") @@ -345,7 +345,7 @@ if nil == web then C("opening mirrors file - " .. e) else "https://pkgmaster.devuan.org/mirror_list.txt

\n" .. "

Due to the nature of the tests, some errors or warnings will be counted several times.   " .. "The links in the table and DNS list go to the detailed testing logs.

\n\n" .. - "
\n

==== package mirror status " .. os.date("!%Y-%m-%d %H:%M") .. " GMT ====

\n" .. + "
\n

==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====

\n" .. "

[FAILED] or [OK]" .. " means the tested thing is supported for that mirror.

\n" .. -- cgit v1.1