summaryrefslogtreecommitdiff
path: root/templates/mirrors/mirrorlist_generate.html
blob: 7501a9af4e910bb56201e3e4fdab533a6eec8488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{% extends "base.html" %}
{% load package_extras %}
{% load wiki %}
{% block title %}{{ BRANDING_DISTRONAME }} - Pacman Mirrorlist Generator{% endblock %}

{% block content %}
<div id="mirrorlist-gen" class="box">

    <h2>Pacman Mirrorlist Generator</h2>

    <p>This page generates the most up-to-date mirrorlist possible for {{ BRANDING_DISTRONAME }}.
    The data used here comes straight from the developers' internal
    mirror database used to track mirror availability and tiering. There are
    two main options: get a mirrorlist with every available mirror, or get a
    mirrorlist tailored to your geography.</p>

    <h3>Mirrorlist with all available mirrors</h3>

    <p>An up-to-date mirrorlist is available containing all currently active
    mirrors, optionally filtering by protocol. These URLs requires no GET or
    POST parameters so they can be fetched from the command line if desired.<p>

    <ul>
        <li><a href="all/">All mirrors</a></li>
        <li><a href="all/http/">All mirrors, HTTP only</a></li>
        <li><a href="all/https/">All mirrors, HTTPS only</a></li>
    </ul>

    <h3>Customized by country mirrorlist</h3>

    <p>The following form can generate a custom up-to-date
    <a href="{% wiki_url 'Pacman' %}"
        title="{{ BRANDING_WIKINAME }}: Pacman">pacman</a> mirrorlist based on geography and
    desired protocol(s).  Simply replace the contents of
    <code>/etc/pacman.d/mirrorlist</code> with your generated list.
    Additionally, the mirror status data can be incorporated into the generated
    mirror list and used to pre-order the mirrors.</p>

    <form id="list-generator" method="get">
        {{ mirrorlist_form.as_div }}
        <p><label></label> <input type="submit" value="Generate List" /></p>
    </form>
</div>
{% endblock %}