diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/attention.html | 13 | ||||
| -rw-r--r-- | templates/package.html | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/templates/attention.html b/templates/attention.html index ba8aacb..7e50a27 100644 --- a/templates/attention.html +++ b/templates/attention.html @@ -12,6 +12,19 @@ <input type="hidden" name="csrf" value="{{ page.csrf }}"><input type="hidden" name="id" value="{{ n.id }}"> <button type="submit">acknowledge</button></form></td></tr>{% endfor %}</table>{% endif %} +{% if !unbuilt.is_empty() %}<h2>Approved but unbuilt</h2> +<p class="mut">A human approved these and the build failed. The index was not touched, so +consumers are still getting the older version — which is safe, but it is not what the +approval was for, and it will not fix itself.</p> +<table><tr><th>package</th><th>approved</th><th>index</th><th>why</th><th></th></tr> +{% for u in unbuilt %}<tr><td><a href="/packages/{{ u.pkgbase }}">{{ u.pkgbase }}</a></td> +<td class="risk-high">{{ u.approved }} build failed</td> +<td><b>still serving {{ u.serving }}</b>{% if u.serving == "" %}<i>nothing published</i>{% endif %}</td> +<td class="mut">{{ u.error }}</td> +<td><a href="/builds/{{ u.build_id }}">log</a> <form class="inline" method="post" action="/builds/{{ u.build_id }}/requeue"> +<input type="hidden" name="csrf" value="{{ page.csrf }}"><button type="submit">retry</button></form></td></tr> +{% endfor %}</table>{% endif %} + {% if !outdated.is_empty() %}<h2>Outdated: a dependency we publish has a newer version</h2> <table><tr><th>package</th><th>dependency</th><th>built against</th><th>now in the index</th><th></th></tr> {% for o in outdated %}<tr><td><a href="/packages/{{ o.pkgbase }}">{{ o.pkgbase }}</a></td> diff --git a/templates/package.html b/templates/package.html index ded5e1c..0bb7a0a 100644 --- a/templates/package.html +++ b/templates/package.html @@ -12,6 +12,10 @@ <input type="hidden" name="csrf" value="{{ page.csrf }}"> <button type="submit">Withdraw from index</button></form>{% endif %} </div> +{% if !unbuilt.is_empty() %}<div class="card first">{% for u in unbuilt %} +<b>{{ u.approved }} approved, build failed, index still serving {{ u.serving }}</b> +<p class="mut">{{ u.error }}</p> +<p><a href="/builds/{{ u.build_id }}">build log</a> · retrying is an explicit decision, recorded in the ops log.</p>{% endfor %}</div>{% endif %} {% if !stale.is_empty() %}<div class="card"><b>Stale</b><ul> {% for s in stale %}<li>{{ s }}</li>{% endfor %}</ul></div>{% endif %} {% if !deps_in.is_empty() || !deps_out.is_empty() %}<div class="card"> |
