openSUSE / openSUSE/MirrorCache

do not fill `/?mirrorlist` reply with mirrors outside region

Open
#599 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
50
Forks
23
PR merge metrics
No merged PRs in 30d

Description

The /?mirrorlist feature interacts very badly with the CDN. The issue is that it hands out mirrors that are very far away, which makes zypper use them rather than falling back to the origin host (which would be cdn and hence fast and problemfree).

I suggest to change the logic to not ever include mirrors outside country and region.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /?mirrorlist entry point and trace how mirror responses are selected and filtered by country and region. Check the existing test coverage around mirror selection before changing behavior. Done means the response never includes mirrors outside the requested country and region, while the CDN origin remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.