{#- Rendered on its own (also at index time), so it imports what it needs and gets only its arguments. -#} {% from "_ui.html" import icon, lic, when %}

Sources {{ configured_count|num }}

The repositories your rules come from, with their licence and what each adds that no other source has.

{% if health_counts %}

{{ (health_counts.synced + health_counts.stale)|num }} up to date{% if health_counts.stale %} ({{ health_counts.stale|num }} not synced for 30 days){% endif %}{% if health_counts.failing %} · {{ health_counts.failing|num }} skipped in the last update{% endif %}{% if health_counts.idle %} · {{ health_counts.idle|num }} not synced yet or disabled{% endif %}

{% endif %}
{% if needs_index %}
{{ icon('about') }}

Run sigharvest index to compute what each repository contributes and how they overlap.

{% endif %}
{% if rows %}
{% for key, label, num in [('name', 'Source', false), ('logic', 'Rules', true), ('only', 'Unique', true)] %} {% endfor %} {% for r in rows %} {% endfor %}
{{ label }}{% if sort == key %} {{ '▴' if key == 'name' else '▾' }}{% endif %}LicenceLast syncHealth
{{ r.name }} {% if r.url.startswith('https://') %}{{ r.url.removeprefix('https://').removesuffix('.git') }}{% endif %} {% if r.health and r.health.state == 'failing' and r.health.error %}Skipped: {{ r.health.error[:120] }}{% endif %} {% if r.overlaps and r.overlaps[0].pct %}{{ r.overlaps[0].pct }}% also in {{ r.overlaps[0].name }}{% endif %} {{ r.logic|num }}{{ r.docs|num }} files {{ r.only|num }} {{ lic(r.lic) }} {{ when(r.last_sync) }}{% if r.commit %}{{ r.commit[:7] }}{% endif %} {% if r.health %}{{ r.health.label }}{% elif r.status != 'active' %}{{ r.status }}{% endif %} {% if r.status not in ('active',) and r.health %}{{ r.status }}{% endif %}
{% else %}
{% if filters.name or filters.status or filters.health %}

No sources match these filters

Clear the filters to see all sources.

{% else %}

No sources configured

Add repositories to sources.yaml (or run sigharvest init --preset curated), then sigharvest update.

{% endif %}
{% endif %}
Unique = rules whose detection logic is found in no other source. A skipped source keeps the rules from its last good sync.