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 files from the CLI and browser
c51874492382d08085b6388cea898d0d60ab9375 · Keenan Nemetz · 17d ago · parent 214e7ea6
Manage release files from the CLI and browser Move the attach form to its own page, add move/remove operations to the CLI and browser, and simplify the release detail page to notes, files, and source links.
docs/cli.md +7−1
| @@ -387,6 +387,8 @@ See [Change requests](change-requests.md). | |||
| 387 | 387 | ```sh | |
| 388 | 388 | vole release create <tag> (-m <text> | -F <file|->) | |
| 389 | 389 | vole release attach <tag> <file-or-directory>... [--remote <name>] | |
| 390 | vole release move <tag> <path> <new-path> [--remote <name>] | ||
| 391 | vole release remove <tag> <path>... [--remote <name>] | ||
| 390 | 392 | vole release channel set <name> <tag> (-m <text> | -F <file|->) [--remote <name>] | |
| 391 | 393 | vole release channel list [--remote <name>] | |
| 392 | 394 | vole release channel clear <name> [--remote <name>] | |
| @@ -399,6 +401,10 @@ the source tarball, so both travel with any clone. | |||
| 399 | 401 | ||
| 400 | 402 | `attach` — Uploads each file, or each regular file under a directory, over SSH and records it as a path under `releases/<tag>/` on the metadata branch. A directory keeps its relative paths, so a package layout survives. Nothing is published until the pointer is pushed, so attach after `git push --follow-tags`, not before. | |
| 401 | 403 | ||
| 404 | `move` — Renames or moves one attached file. Only the path under `releases/<tag>/` changes; the bytes stay in the shared object store. The destination must not already be attached, and a file cannot move under a path that is a file or over a path that is a directory. | ||
| 405 | |||
| 406 | `remove` — Removes attached files from a release by deleting their pointers on the metadata branch. The bytes become collectable after the garbage collector's grace period; the release notes and source are untouched. | ||
| 407 | |||
| 402 | 408 | `channel set` — Points a mutable channel at an annotated tag. The channel name stays; the release it names is frozen until the channel points at another one. | |
| 403 | 409 | ||
| 404 | 410 | `channel list` — Prints every channel and whether its target is still an annotated tag with the recorded object id. | |
| @@ -409,7 +415,7 @@ the source tarball, so both travel with any clone. | |||
| 409 | 415 | |---|---|---| | |
| 410 | 416 | | `-m, --message <text>` | create, channel set | the release notes or channel description | | |
| 411 | 417 | | `-F, --file <file\|->` | create, channel set | read the release notes or channel description from a file; - reads standard input | | |
| 412 | | `--remote <name>` | attach, channel set, channel list, channel clear | the remote naming the instance (default origin) | | ||
| 418 | | `--remote <name>` | attach, move, remove, channel set, channel list, channel clear | the remote naming the instance (default origin) | | ||
| 413 | 419 | ||
| 414 | 420 | See [Releases](releases.md). | |
| 415 | 421 | ||