Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 974
    • Issues 974
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #15755
Closed
Open
Issue created Jul 29, 2018 by sajolida@sajolidaMaintainer

Test the mirror before mirror-pool-dispatcher selects it for downloading upgrades

For example, the client JS could check that the trace (https://mirrors.edge.kernel.org/tails/project/trace) can be retrieved without error before replacing the mirror URL on the page.

I think it should be a simple matter of programming™. Possible issues:

  • This code is also run from Tails Upgrader so care will need to be taken not to break that (e.g. the Upgrader will need to ensure the JS code uses Tor to check the mirror).
  • Semantics will change a bit but the current design does not seem totally adverse to that.

Code base: https://gitlab.tails.boum.org/tails/mirror-pool-dispatcher (getRandomMirrorUrlPrefix function).

Design doc: https://tails.boum.org/contribute/design/mirrors/

Context: https://gitlab.tails.boum.org/tails/blueprints/-/wikis/HTTP_mirror_pool

Edited Aug 29, 2021 by intrigeri
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking