{% extends "base.html" %} {% from "_ui.html" import icon, card, when, cmd %} {% block title %}Changes{% endblock %} {% block section %}changes{% endblock %} {% block content %} {% macro here(k=kind, p=1, r=(chosen.id if chosen else none)) %}/changes?{{ {'run': r or '', 'kind': k, 'page': p if p > 1 else ''}|qs }}{% endmacro %}

Changes

What the last sigharvest update added, changed upstream or removed. To refresh, run sigharvest update in a terminal.

{% if chosen and (counts.new or counts.changed) %}
{{ icon('search') }}Search these {{ icon('export') }}Export these
{% endif %}
{% if not chosen %}

No update report yet

sigharvest update writes a report each time it runs; this page shows it.

{{ cmd('c-upd', 'sigharvest update') }}
{% else %}
{% for k, label in [('new', 'New'), ('changed', 'Changed'), ('removed', 'Removed')] %}{{ label }} ({{ counts[k]|num }}){% endfor %}
{% if first %}
{{ icon('changes') }}

This was the first update of this index, so every rule is new. The next sigharvest update will show what changed upstream.

{% endif %} {% for line in incomplete %}
{{ icon('changes') }}

{{ line }}. sigharvest runs show {{ chosen.id }} has the full counts.

{% endfor %} {% if per_source and not first %}

{% for name, v in per_source %}{{ name }}: {{ v.new }} new, {{ v.changed }} changed, {{ v.removed }} removed{% if v.error %} failed{% endif %}{{ ' ยท ' if not loop.last }}{% endfor %}

{% endif %} {% if rows %} {% if pages > 1 %}{% endif %} {% else %}

No {{ kind }} rules in this update

Pick another kind above, or another update.

{% endif %} {% endif %} {% endblock %}