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.
Blocks Tails -
#5 Updated by intrigeri 2016-04-07 02:53:53
- Category set to Infrastructure
- Assignee deleted (
- % 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 commit:23afbcf;
wiki/src/contribute/how/testing.mdwn=> I’ve fixed it in commit: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!