644864de28
Users may use the returned mirror list as-is without sorting it themselves. This may lead to the first mirror in the list being overloaded. Prevent this by not returning a sorted list. References: https://lists.archlinux.org/pipermail/arch-dev-public/2017-January/028681.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
15 lines
653 B
Plaintext
15 lines
653 B
Plaintext
{% load mirror_status %}{% comment %}
|
|
Yes, ugly templates are ugly, but in order to keep line breaks where we want
|
|
them, sacrifices have to be made. If editing this template, it is easiest to
|
|
forget about where line breaks are happening until you are done getting the
|
|
content right, and then go back later to fix it all up.
|
|
{% endcomment %}{% autoescape off %}##
|
|
## Arch Linux repository mirrorlist
|
|
## Filtered by mirror score from mirror status page
|
|
## Generated on {% now "Y-m-d" %}
|
|
##
|
|
{% for mirror_url in mirror_urls %}
|
|
## {{ mirror_url.country.name|default:'Worldwide' }}
|
|
#Server = {{ mirror_url.url}}$repo/os/$arch{% endfor %}
|
|
{% endautoescape %}
|