commit:     669222d922cb05bf5179506da398a7049011450e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 27 22:50:03 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 27 22:50:03 2026 +0000
URL:        https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=669222d9

main: hack around missing GLEP 75 support for --deep

Make the --deep filename default to 'f2/mirrorselect-test' which matches
the GLEP 75 hash of the file.

As noted in bug #969461, this is especially important because otherwise
--deep use is only going to return pretty stale mirrors before we turned
off the symlinks to finalise the GLEP 75 migration.

Bug: https://bugs.gentoo.org/921759
Bug: https://bugs.gentoo.org/969461
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mirrorselect/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mirrorselect/main.py b/mirrorselect/main.py
index 8180143..f1c8dc1 100755
--- a/mirrorselect/main.py
+++ b/mirrorselect/main.py
@@ -266,7 +266,7 @@ class MirrorSelect:
             "-f",
             "--file",
             action="store",
-            default="mirrorselect-test",
+            default="f2/mirrorselect-test",
             help="An alternate file to download for deep testing. "
             "Please choose the file carefully as to not abuse the system "
             "by selecting an overly large size file.  You must also "

Reply via email to