{% extends "base.html" %} {% block content %} {# Push mirrors management. Expects: project, project_enc, project_url, mirrors, can_manage. #}

{{ project }} / push mirrors

Outbound remotes that receive a push after this project finishes a receive (push_finished). Passwords are stored encrypted and are never shown again after save.

Configured mirrors

{% if can_manage %}{% endif %} {% for mirror in mirrors %} {% if can_manage %} {% endif %} {% else %} {% endfor %}
Id URL Username Mode Enabled Password
{{ mirror.id | e }} {{ mirror.url | e }} {% if mirror.username %}{{ mirror.username | e }}{% else %}—{% endif %} {{ mirror.mode | e }} {% if mirror.enabled %} Yes {% else %} No {% endif %} {% if mirror.has_password %} Set {% else %} None {% endif %}
No push mirrors configured.
{% if can_manage %}

Add mirror

Remote URL and options only — set the HTTP basic password in the panel below after the mirror exists.

Letters, digits, ._-; unique in this project.

HTTP basic password

Set or rotate the password for an existing mirror. The value is encrypted at rest and never returned by the API.

{% for mirror in mirrors %} {% endfor %}
{% else %}

Managing mirrors requires pgw.mirrors.{{ project | e }}.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}