summaryrefslogtreecommitdiffstats
path: root/check.php
diff options
context:
space:
mode:
Diffstat (limited to 'check.php')
-rwxr-xr-xcheck.php22
1 files changed, 12 insertions, 10 deletions
diff --git a/check.php b/check.php
index 7afa21c1..4abe3529 100755
--- a/check.php
+++ b/check.php
@@ -70,7 +70,6 @@ $mirrors = [
'https://remi.mirror.karneval.cz/',
'https://mirror.netsite.dk/remi/',
'http://mirror.team-cymru.com/remi/',
- 'http://mirrors.ukfast.co.uk/sites/remi/',
'https://mirror.netweaver.uk/remi/',
'http://ftp.riken.jp/Linux/remi/',
'https://mir01.syntis.net/remirepo/',
@@ -90,8 +89,6 @@ $mirrors = [
'https://mirror.docker.ru/remi/',
'https://repo.extreme-ix.org/remi/',
'https://mirror.mangohost.net/remi/',
- 'https://bd.mirror.vanehost.com/Remi/',
- 'https://repo1.vetta.net.nz/remi/',
'https://cdn.fjordos.no/remi/',
'https://mirror.fjordos.no/remi/',
'https://muug.ca/mirror/remi/',
@@ -102,15 +99,17 @@ $mirrors = [
'https://remi.mirror.wearetriple.com/', // 2025-01-10
'https://mirror.geo.yer.cloud/remi/', // 2025-01-07
'http://mirrors.bytes.ua/remi/', // 2025-01-13
+ 'https://remi.mivzakim.net/', // 2025-01-13
+ 'http://repo1.ash.innoscale.net/remi/', // 2025-01-13
+ 'https://bd.mirror.vanehost.com/Remi/', // 2025-01-17
];
$testing = [
- 'http://repo1.ash.innoscale.net/remi/',
- 'https://remi.mivzakim.net/', // 2024-04-03
+ 'http://mirrors.ukfast.co.uk/sites/remi/', // 2025-01-28
+ 'http://remi.conetix.com.au/', // 2025-01-22
+ 'https://mirror.usi.edu/pub/remi/', // 2024-04-03 / 2025-01-29
];
$disabled = [
- 'http://remi.conetix.com.au/', // 2025-01-06
- 'https://remi.mivzakim.net/', // 2024-04-03
- 'https://mirror.usi.edu/pub/remi/', // 2024-04-03
+ 'https://repo1.vetta.net.nz/remi/', // 2025-01-17 (too slow)
'http://mirror.xeonbd.com/remi/',
'https://mirror.telkomuniversity.ac.id/remi/',
'http://mirror.uta.edu.ec/remi/',
@@ -157,7 +156,7 @@ $deprecated = [
function getRepoTime($uri) {
$ctx = stream_context_create([
'http' => [
- 'timeout' => 4,
+ 'timeout' => 7,
]
]);
$txt = @file_get_contents($uri . '/repodata/repomd.xml', false, $ctx);
@@ -298,7 +297,10 @@ if ($ref) {
unset($pids[$pid]);
}
}
- if ($nb) printf("%3d mirrors checked,\n%3d are OK\n%3d are stalled\n%3d are KO.\n", $nb, $ok, $lack, $nb-$ok-$lack);
+ if ($nb) {
+ printf("%3d mirrors checked on %s,\n%3d are OK\t(%d%%)\n%3d are late\t(%d%%)\n%3d are KO.\n",
+ $nb, date("r"), $ok, $ok*100/$nb, $lack, $lack*100/$nb, $nb-$ok-$lack);
+ }
} else {
echo "</ul>\n";
}