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/routes.go +4−2

@@ -212,8 +212,10 @@ func (s *Server) repoRoutes(mux *http.ServeMux) {
212 212 mux.HandleFunc("GET /{name}/releases/{tag}/artifacts/{path...}", w.ReleaseArtifact)
213 213
214 214 // Channels. The channel name is one segment; the tree route takes the rest,
215 // so apt/ or yum/ are just directories in the target release.
216 mux.HandleFunc("GET /{name}/channels", w.Channels)
215 // so apt/ or yum/ are just directories in the target release. The list and its
216 // write form live on the releases page, so there is no listing route.
217 mux.HandleFunc("POST /{name}/channels", w.SetChannel)
218 mux.HandleFunc("POST /{name}/channels/{channel}/clear", w.ClearChannel)
217 219 mux.HandleFunc("GET /{name}/channels/{channel}", w.ChannelView)
218 220 mux.HandleFunc("GET /{name}/channels/{channel}/{path...}", w.ChannelFile)
219 221