summaryrefslogtreecommitdiffstats
path: root/templates/attention.html
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-18 08:23:14 +0000
committeraur-build <aur-build@localhost>2026-11-18 08:23:14 +0000
commiteefbefed9cbea6b2edef65900fbe6cb6da0b48e4 (patch)
tree1249788a49812fc15b644687af7c1384f94ba236 /templates/attention.html
parenta6b652985f40cf022d6c522415c36fad13bc663d (diff)
downloadaur-build-eefbefed9cbea6b2edef65900fbe6cb6da0b48e4.tar.gz
aur-build-eefbefed9cbea6b2edef65900fbe6cb6da0b48e4.zip
http: surfaces driven by live state — staleness, downgrades, deps, rebuild (I6)
Attention, the package page and the builds page now answer real questions instead of rendering empty tables: - Attention lists outdated dependencies derived from the recorded world snapshots, naming the dependency that moved, what the artifact was built against and what the index holds now; also missing dependencies and downgrades (AUR offering a lower version than we serve), which is an announcement for a human, not a build request. - The package page shows depends-on from the recipe we actually serve and needed-by from the packages whose recipes name it, plus staleness and the aur_commit timeline, each release linking into cgit at that exact commit. - Builds rows carry the version they are about, in both the live and the recently-finished table. - A manual rebuild reuses the approved source identity and mints no approval (I6); the test asserts the approval count is unchanged before and after the rebuild runs. - A paused subscription is not observed at all: detection returns Paused without polling, so pausing a broken package stops it opening reviews. - Staleness stays computed on read (§10.2). Nothing stores a stale flag, so nothing can serve a stale lie. Also: dep-client fixture added for dependency pairs.
Diffstat (limited to 'templates/attention.html')
-rw-r--r--templates/attention.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/attention.html b/templates/attention.html
index caa277f..ba8aacb 100644
--- a/templates/attention.html
+++ b/templates/attention.html
@@ -13,16 +13,17 @@
<button type="submit">acknowledge</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>built against</th><th>now in the index</th><th></th></tr>
+<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>
+<td><a href="/packages/{{ o.dependency }}">{{ o.dependency }}</a></td>
<td>{{ o.built_with }}</td><td class="ok">{{ o.now }}</td>
<td><form class="inline" method="post" action="/packages/{{ o.pkgbase }}/rebuild">
<input type="hidden" name="csrf" value="{{ page.csrf }}"><button type="submit">rebuild</button></form></td></tr>
{% endfor %}</table>{% endif %}
{% if !missing.is_empty() %}<h2>Missing: a dependency we no longer publish</h2>
-<table><tr><th>package</th><th>missing</th></tr>
-{% for m in missing %}<tr><td>{{ m.pkgbase }}</td><td class="risk-high">{{ m.now }}</td></tr>{% endfor %}</table>{% endif %}
+<table><tr><th>package</th><th>missing</th><th>was built against</th></tr>
+{% for m in missing %}<tr><td><a href="/packages/{{ m.pkgbase }}">{{ m.pkgbase }}</a></td><td class="risk-high">{{ m.dependency }}</td><td>{{ m.built_with }}</td></tr>{% endfor %}</table>{% endif %}
{% if !blocked.is_empty() %}<h2>Blocked builds</h2>
<table><tr><th>build</th><th>pkgbase</th><th>waiting on</th></tr>