summaryrefslogtreecommitdiffstats
path: root/templates/builds.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/builds.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/builds.html')
-rw-r--r--templates/builds.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/builds.html b/templates/builds.html
index 7f83239..745f0e9 100644
--- a/templates/builds.html
+++ b/templates/builds.html
@@ -16,7 +16,8 @@
</tr>{% endfor %}</table>{% endif %}
</div>
{% if !recent.is_empty() %}<h2>Recently finished</h2>
-<table><tr><th>id</th><th>pkgbase</th><th>state</th><th>error</th></tr>
+<table><tr><th>id</th><th>pkgbase</th><th>version</th><th>kind</th><th>state</th><th>error</th></tr>
{% for b in recent %}<tr><td><a href="/builds/{{ b.id }}">{{ b.id_short }}</a></td>
-<td>{{ b.pkgbase }}</td><td>{{ b.state }}</td><td class="risk-high">{{ b.error }}</td></tr>{% endfor %}</table>{% endif %}
+<td><a href="/packages/{{ b.pkgbase }}">{{ b.pkgbase }}</a></td>
+<td>{{ b.version }}</td><td>{{ b.kind }}</td><td>{{ b.state }}</td><td class="risk-high">{{ b.error }}</td></tr>{% endfor %}</table>{% endif %}
{% endblock %}