{% include "_header.html" %}

🗄️ Archives

Espace : {{ workspace.name if workspace else '—' }}. Deux sortes d'archives : locale (le projet disparaît des vues de cet espace, la forge n'est pas touchée, réversible en un clic) et sur la forge (propriété du dépôt, lecture seule là-bas). Les archives sortent des rituels et des instantanés, mais restent cherchables.

{% if msg %}

✅ {{ msg }}

{% endif %} {% if err %}

⚠️ {{ err }}

{% endif %} {% macro actions(row, kind) %} {% if can_write %} {% if kind == 'suggested' or kind == 'forge' or kind == 'other' %}
{% endif %} {% if kind == 'local' %}
{% endif %} {% if kind != 'forge' and not row.missing %}
{% endif %} {% if kind == 'forge' %}
{% endif %}
{% endif %} {% endmacro %} {% macro rowline(row, kind) %} {% if row.conn_kind == 'github' %}🐙{% else %}🍵{% endif %} {{ row.full_name }} {% if row.conn_slug %}{{ row.conn_slug }}{% endif %} {% if row.missing %}introuvable sur la forge{% endif %} {{ row.updated_at or '—' }}{% if row.idle_days is not none %} (il y a {{ row.idle_days }} j){% endif %} {% if row.open_issues %}⚠️ {{ row.open_issues }} ouverte(s){% else %}0{% endif %} {{ actions(row, kind) }} {% endmacro %}

💤 À archiver ? (inactifs depuis {{ suggest_days }} jours et plus)

{% if groups.suggested %}
{% for row in groups.suggested %} {% endfor %}
ProjetDernière activitéIssues ouvertesActions
{% if row.conn_kind == 'github' %}🐙{% else %}🍵{% endif %} {{ row.full_name }} {% if row.conn_slug %}{{ row.conn_slug }}{% endif %} {{ row.updated_at }} (il y a {{ row.idle_days }} j) {% if row.open_issues %}⚠️ {{ row.open_issues }} ouverte(s){% else %}0{% endif %} {{ actions(row, 'suggested') }}

{% else %}

Rien à proposer : aucun projet inactif au-delà du seuil (réglable : archive_suggest_days dans Administration → Paramètres).

{% endif %}

📥 Archives locales de cet espace ({{ groups.local|length }})

{% if groups.local %} {% for row in groups.local %}{{ rowline(row, 'local') }}{% endfor %}
ProjetDernière activitéIssues ouvertesActions
{% else %}

Aucune archive locale. « Archiver ici » masque un projet de cet espace sans toucher à la forge.

{% endif %}

🔒 Archivés sur la forge ({{ groups.forge|length }})

{% if groups.forge %} {% for row in groups.forge %}{{ rowline(row, 'forge') }}{% endfor %}
ProjetDernière activitéIssues ouvertesActions
{% else %}

Aucun dépôt archivé sur les forges de cet espace.

{% endif %}