{% include '_header.html' %} {% macro command_box(id, text) -%}
{{ text }}
{%- endmacro %} {% macro yes(flag) -%}{{ "yes" if flag else "" }}{%- endmacro %}
{% if not page.available %}

← Syncs

Org sync run

This database is from before org sync history was recorded. Back it up, then run:

{{ command_box("upgrade-command", "kospex upgrade-db -apply") }}
{% else %} {% set run = page.run %} {% set c = page.counts %}

← Syncs

{{ run.org_key }}

Org sync run {{ run.run_id }}. This page only shows: copy a command and run it yourself.

{% if page.private %}

This run includes {{ page.private }} private repo{{ "s" if page.private != 1 }} out of {{ page.listed }}.

{% endif %}
Owner
{{ page.owner }} ({{ run.owner_type or "org" }})
State
{{ "finished" if run.finished_at else "in progress" }}
Listed
{{ run.listed }} repos, {{ page.listed_at }}
Started
{{ run.started_at }}
Finished
{{ run.finished_at or "—" }}

{{ c.synced }} synced · {{ c.pending + c.in_progress }} pending · {{ c.skipped }} skipped · {{ c.failed }} failed · {{ c.gone }} gone

{% if page.continue_command %}

Continue:

{{ command_box("continue-command", page.continue_command) }} {% endif %}

Repos in this run

{# The filter searches the status column for one of these fixed names, chosen by the button's position: nothing read from the page. #} {% set filter_statuses = [""] %}
{% for status, n in page.filters %} {% set _ = filter_statuses.append(status) %} {% endfor %}
{% for h in ["Repo", "Status", "Detail", "Fork parent", "Archived", "Private", "Pushed", "In kospex"] %} {% endfor %} {% for item in page.rows %} {% endfor %}
{{ h }}
{{ item._repo_id }}{% if item.private %} private{% endif %} {{ item.status }}{% if item.gone %}
not in current listing
{% endif %}
{{ item.detail or "" }} {{ item.fork_parent or "" }}{% if item.fork_source_shown %}
source: {{ item.fork_source_shown }}
{% endif %}
{{ yes(item.archived) }} {{ yes(item.private) }} {{ item.pushed_date }} {% if item.in_kospex %}yes{% else %}no{% endif %}

In kospex, not in this listing

Repos kospex has under {{ run.org_key }} that this run's listing doesn't include: deleted, renamed, transferred, or not visible to the token that listed them.

{% if page.drift %}
{% for repo_id in page.drift %} {% endfor %}
Repo ({{ page.drift | length }})
{{ repo_id }}
{% else %}

None: every repo kospex has under this org is in the listing.

{% endif %} {% endif %}
{% include '_footer_scripts.html' %} {% include '_datatable_scripts.html' %}