Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Manage release channels from the releases page

de72893e35f2fe73bb1741b88dcbabdfb238c8b0 · Keenan Nemetz · 17d ago · parent 529a8457

Manage release channels from the releases page

Channels no longer have a separate listing page. Releases shows the
channel list, a badge on each target release, and a maintainer form
that creates, moves, and clears channels with the same validation and
audit record as the CLI.

server/web/templates/channels.html −44

@@ -1,44 +0,0 @@
1 {{define "channels"}}
2 {{template "header" .}}
3 {{template "repohead" (nav .Page "releases")}}
4
5 <div class="page-head">
6 <div class="page-head-main">
7 <h1>Channels</h1>
8 <p class="page-sub">A channel is a stable name for the release it currently points at.</p>
9 </div>
10 </div>
11
12 {{if .Channels}}
13 <div class="panel">
14 <table>
15 <tr><th>Channel</th><th>Release</th><th>Updated</th><th>Description</th></tr>
16 {{range .Channels}}
17 <tr>
18 <td><a href="/{{$.Name}}/channels/{{.Name}}">{{.Name}}</a></td>
19 <td>
20 {{if .Dangling}}<span class="label">dangling</span> <span class="muted">{{.Release}}</span>
21 {{else}}<a href="/{{$.Name}}/releases/{{esc .Target}}">{{.Target}}</a>{{end}}
22 </td>
23 <td class="muted">{{if .UpdatedBy}}{{.UpdatedBy}} · {{end}}{{since .UpdatedAt.Unix}}</td>
24 <td class="md">{{.Body}}</td>
25 </tr>
26 {{end}}
27 </table>
28 </div>
29 {{else}}
30 <div class="empty-state">
31 <p>No channels yet. A channel is a mutable pointer to one annotated tag.</p>
32 <pre>vole release channel set stable v1.0.0</pre>
33 </div>
34 {{end}}
35
36 <div class="card">
37 <h2>Package trees</h2>
38 <p>A channel serves the target release's attached files under its own path:</p>
39 <pre>https://your-forge/{{.Name}}/channels/stable/apt/Packages</pre>
40 <p class="muted">The forge does not know about apt or yum; a package layout is a directory in the release tree.</p>
41 </div>
42
43 {{template "footer" .}}
44 {{end}}