Bug #7161: Support more than 24 HTTP mirrors
Mark all links on the website which should use the mirror pool
All links to the ISO image and signatures, as well as other files which should be downloaded from a mirror, would need to use the CSS class "use-mirror-pool", so their URL prefix will be randomly modified.
download.inline step: mark the direct link to the ISO as needing to use the mirror pool.
I have no clue if that link is ever displayed in any real-world scenario,
or if some combination of CSS and JS always hides it in practice,
but let's try to play it safe, in case that link is ever used :)
Don't mark links that use our mirror pool as external, for consistency with how we deal with dl.amnesia.boum.org currently.
#5 Updated by intrigeri almost 4 years ago
- Category set to Infrastructure
- Assignee changed from intrigeri to u
- % Done changed from 0 to 60
git grep 'dl\.amnesia\.boum\.org' -- wiki/src and looked at occurrences that could have been overlooked. Let's check each of those:
wiki/src/inc/stable_i386_iso_url.htmlhas the ISO's URL, and is used by:
wiki/src/install/expert/usb.mdwn, for the wget command; it's not a link so it's non-trivial to tweak using JS, and that's a corner case so I say no big deal if it uses the fallback DNS pool;
wiki/src/install/inc/steps/download.inline.html, that is itself used in a number of pages => I have no clue if that link is ever displayed in any real-world scenario, but to play it safe I added the class in 23afbcf;
wiki/src/contribute/how/testing.mdwn=> I've fixed it in fd0c7aa;
wiki/src/local.css: look for "dl.amnesia.boum.org" => in practice, if I got it right, we won't match this anymore, and it means that we're now going to mark links to our ISO image as "external", since they won't be on the list of exceptions we treat as internal links, right? I guess it's no big deal, I just want to make sure we decide consciously, and based on a good understanding of the consequences :)
=> Please review my additional commits and sanity check my proposals. Then I'll merge!