From 1fe6a3aa84ac036f20abe3d683cc6de29767aebb Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 27 Jul 2018 13:54:06 +0200 Subject: Improve connection issue message to include verification of content too Signed-off-by: Florian Pritz --- bin/generate-mirror-mail.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/generate-mirror-mail.pl b/bin/generate-mirror-mail.pl index 33c89e2..b7c3933 100755 --- a/bin/generate-mirror-mail.pl +++ b/bin/generate-mirror-mail.pl @@ -53,7 +53,7 @@ Thanks, 'subject' => '[{$mirror_name}] Arch Linux mirror not accessible{$OUT = ", ".join("/", @{$connection_failed{protocols}}) if @{$connection_failed{protocols}} > 0;}', 'template' => 'Hi, -We\'re having trouble connecting to your mirror{$OUT = " via ".join(", ", @{$connection_failed{protocols}}) if @{$connection_failed{protocols}} > 0;}. Could you +We\'re having trouble connecting to and/or verifying the content of your mirror{$OUT = " via ".join(", ", @{$connection_failed{protocols}}) if @{$connection_failed{protocols}} > 0;}. Could you please check what\'s going on? {$mirror_url} @@ -70,7 +70,7 @@ Thanks, We are seeing multiple issues with your Arch Linux mirror {$mirror_name} {$mirror_url} - - We are unable to reach your mirror{$OUT = " via ".join(", ", @{$connection_failed{protocols}}) if @{$connection_failed{protocols}} > 0;}: + - We are unable to reach and/or verify the content of your mirror{$OUT = " via ".join(", ", @{$connection_failed{protocols}}) if @{$connection_failed{protocols}} > 0;}: {$connection_failed{mirror_urls}} - Your mirror seems to be out of sync since {$out_of_sync{last_sync}}: -- cgit v1.2.3-24-g4f1b