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.
Simplify release file management
fdd0b3e8373da4c684c73d88f997c3917966ac50 · Keenan Nemetz · 17d ago · parent c5187449
Simplify release file management Drop rename and move from the CLI and browser, outline the files table instead of wrapping it in a card, and label the release-page action Manage files.
server/routes.go +3−5
| @@ -213,13 +213,11 @@ func (s *Server) repoRoutes(mux *http.ServeMux) { | |||
| 213 | 213 | mux.HandleFunc("GET /{name}/releases/{tag}/archive.tar", w.ReleaseTar) | |
| 214 | 214 | mux.HandleFunc("GET /{name}/releases/{tag}/archive.tar.gz", w.ReleaseTarGz) | |
| 215 | 215 | mux.HandleFunc("GET /{name}/releases/{tag}/artifacts/{path...}", w.ReleaseArtifact) | |
| 216 | // File management is a set of release subpages, like the note and channel | ||
| 217 | // forms: the attach form is no longer embedded in the release page, and one | ||
| 218 | // attached file can be renamed, moved, or removed beside it. | ||
| 216 | // File management is a release subpage, like the note and channel forms: the | ||
| 217 | // attach form is no longer embedded in the release page, and one attached file | ||
| 218 | // can be removed from the list there or on the release page. | ||
| 219 | 219 | mux.HandleFunc("GET /{name}/releases/{tag}/attach", w.ReleaseAttachPage) | |
| 220 | 220 | mux.HandleFunc("POST /{name}/releases/{tag}/attach", w.AttachRelease) | |
| 221 | mux.HandleFunc("GET /{name}/releases/{tag}/files/edit", w.ReleaseFileEditPage) | ||
| 222 | mux.HandleFunc("POST /{name}/releases/{tag}/files/edit", w.MoveReleaseFile) | ||
| 223 | 221 | mux.HandleFunc("POST /{name}/releases/{tag}/files/delete", w.DeleteReleaseFile) | |
| 224 | 222 | ||
| 225 | 223 | // Channels. The channel name is one segment; the tree route takes the rest, | |