|
Bugzilla – Full Text Bug Listing |
| Summary: | Select mirrors by speed instead of latency | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Forgotten User eOA_NEd069 <forgotten_eOA_NEd069> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | astieger |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User eOA_NEd069
2017-10-20 14:19:10 UTC
Are you sure about the latency thing? I do not think that zypper/libzypp does much in terms of mirror selection, because it pretty much follows HTTP redirects from download.opensuse.org which runs mirrorbrain. Mirrorbrain, in turn, only sees the client IP address and can redirect based on network proximity to the mirror, country and continent. This is IMO not about mirror selection in libzypp at runtime. Scripts like 'rankmirrors' AFAIK just create a static mirrorlist file which is then used to access the repo rather than following redirects/metalink-files we get from download.suse.de. In the .repo file you'd set the 'mirrorlist=' rather than a 'baseurl=' then: > [openSUSE:repo-oss] > name=repo-oss (42.3) > #baseurl=http://download.opensuse.org/distribution/leap/42.3/repo/oss > mirrorlist=dir:/tmp/mirrorlist-repo-oss But libzypp itself won't offer/maintain such a script. If something like this is desired, one should raise the issue on the openSUSE mailing list (or check https://mirrors.opensuse.org/). Maybe scripts like this already exist. |