blob: e61482be155be9ee4727bd3e62f545c782d03e1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{% extends "base.html" %}
{% block content %}
<h1>{{ c.pkgbase }} → {{ c.version }}</h1>
<p class="mut">
base: {% if has_base %}{{ base_version }}{% else %}<b>nothing accepted yet</b>{% endif %}
· aur_commit <span class="tag">{{ c.aur_commit_short }}</span>
<a href="https://aur.archlinux.org/cgit/aur.git/tree/?h={{ c.pkgbase }}&id={{ c.aur_commit }}">cgit</a>
· kind {{ c.kind }}
· revision {{ c.revision }} · risk <span class="risk-{{ c.risk }}">{{ c.risk }}</span>
</p>
{% if c.is_first %}<div class="card first">
<b>First build of this package here.</b>
<p class="mut">There is no accepted version to diff against, so the whole recipe is shown below
and the maintainer and age of the package are the only trust signals available. This is the
most consequential approval this pkgbase will ever get: it establishes the base every later
diff is measured against.</p>
</div>{% endif %}
{% if !c.signals.is_empty() %}<div class="card"><b>Risk signals</b><br>
{% for s in c.signals %}<span class="tag risk-high">{{ s }}</span> {% endfor %}</div>{% endif %}
{% if !c.dependents.is_empty() %}<div class="card"><b>This will mark {{ c.dependents.len() }} package(s) stale</b>
<p class="mut">These are ours and their recipes name this one, so publishing changes what they were
built against. Nothing rebuilds automatically (§10) — they will appear on Attention until you
rebuild them.</p>
<p>{% for d in c.dependents %}<a class="tag" href="/packages/{{ d }}">{{ d }}</a> {% endfor %}</p></div>{% endif %}
{% if !c.missing_deps.is_empty() %}<div class="card"><b>Missing dependencies</b>
<p>The build will block until these are published: {% for d in c.missing_deps %}<span class="tag">{{ d }}</span> {% endfor %}</p></div>{% endif %}
{% if c.is_first %}
<h2>Recipe</h2>
<div class="card"><b>PKGBUILD</b><pre>{{ recipe }}</pre></div>
{% if has_srcinfo %}<div class="card"><b>.SRCINFO</b><pre>{{ srcinfo }}</pre></div>{% endif %}
<div class="card"><b>Sources, as resolved</b><pre>{{ sources_resolved }}</pre></div>
<div class="card"><b>Dependencies</b><pre>{{ deps_resolved }}</pre></div>
{% endif %}
{% for panel in panels %}
<h2>{{ panel.title }}</h2>
{% if panel.empty %}<p class="mut">{{ panel.empty_note }}</p>{% else %}<pre>{{ panel.body }}</pre>{% endif %}
{% endfor %}
<div class="card">
<form method="post" action="/reviews/{{ c.id }}/approve">
<input type="hidden" name="csrf" value="{{ page.csrf }}">
<input type="hidden" name="identity_hash" value="{{ c.identity_hash }}">
<input type="hidden" name="diff_digest" value="{{ c.diff_digest }}">
<p><label>Note (optional) <input name="note" size="60"></label></p>
<button type="submit">Approve and build</button>
<span class="mut">Approving builds exactly what is displayed above; if it changed while you
were reading, this is refused with a 409 and re-rendered.</span>
</form>
<form method="post" action="/reviews/{{ c.id }}/reject" style="margin-top:.6rem">
<input type="hidden" name="csrf" value="{{ page.csrf }}">
<label>Reject with reason <input name="note" size="60" required></label>
<button type="submit">Reject</button>
</form>
</div>
{% endblock %}
|