openSUSE / openSUSE/MirrorCache
do not fill `/?mirrorlist` reply with mirrors outside region
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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