{% extends "admin/layout.html" %} {% block admin %}

{{ repo.project }} {% if repo.paused %}paused{% else if repo.status == "active" %}active{% else %}{{ repo.status }}{% endif %}

All repositories
Remote{{ repo.remote }}
Branch{{ repo.branch }}
Project name{{ repo.project }}
Key{{ repo.key }}
Checkout path{% if let Some(path) = checkout_path %}{{ path }}{% else %}reported by the producer admin API only; unknown right now{% endif %}
Poll interval{{ repo.poll_interval_seconds }}s
Last indexed commit{{ repo.last_indexed }}
Last published{{ repo.last_published }} (generation {{ repo.generation }})

Credential

The producer's admin API sets and removes the fetch credential; it reports the label, type, and last four characters, and the secret itself is never stored here or shown.

{% if let Some(note) = credential_note %}

{{ note }}

{% endif %} {% if credentials_known && repo.credential.known %} {% if repo.credential.set %}

Current credential: {{ repo.credential.summary }} updated {{ repo.credential.updated_at|datetime }}

{% if repo.credential.unusable %}

The stored credential is unusable (its secret no longer unseals at the producer); set a new one below.

{% endif %} {% else %}

No credential is set; the repository fetches anonymously.

{% endif %} {% else if !credentials_known %}

The credential state is unknown until the producer admin API answers.

{% endif %} {% if producer_configured %}
{% if credentials_known && repo.credential.known && repo.credential.set %}
{% endif %} {% else %}

Credential management needs the producer admin API (OKF_PRODUCER_ADMIN_URL and OKF_PRODUCER_ADMIN_TOKEN together).

{% endif %}
{% endblock %}