{% extends "base.html" %} {% block title %}{% if editing_mirror %}Edit Mirror{% else %}Add Git Mirror{% endif %} — {{ project.name }} — Fossilrepo{% endblock %} {% block content %}

{{ project.name }}

{% include "fossil/_project_nav.html" %}

{% if editing_mirror %}Edit Git Mirror{% else %}Add Git Mirror{% endif %}

← Back to Sync
{# ── OAuth quick-connect (only shown when adding) ──────────────── #} {% if not editing_mirror %}

Quick Connect

{% if request.session.github_oauth_token %}

GitHub connected as {{ request.session.github_oauth_user }}. Token will be used for new mirrors.

{% endif %} {% if request.session.gitlab_oauth_token %}

GitLab connected. Token will be used for new mirrors.

{% endif %}
{% endif %} {# ── Mirror form (add or edit) ─────────────────────────────────── #}
{% csrf_token %}

{% if editing_mirror %}Leave blank to keep the existing credential.{% else %}For token auth: GitHub Personal Access Token or GitLab Access Token.{% endif %}

Default: every 15 minutes

{# Sync content options #}
Sync Content

Code is always synced. Optionally sync tickets and wiki.

Cancel
{% endblock %}