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.

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.

docs/cli.md +1−4

@@ -387,7 +387,6 @@ 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 390 vole release remove <tag> <path>... [--remote <name>]
392 391 vole release channel set <name> <tag> (-m <text> | -F <file|->) [--remote <name>]
393 392 vole release channel list [--remote <name>]
@@ -401,8 +400,6 @@ the source tarball, so both travel with any clone.
401 400
402 401 `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.
403 402
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 403 `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 404
408 405 `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.
@@ -415,7 +412,7 @@ the source tarball, so both travel with any clone.
415 412 |---|---|---|
416 413 | `-m, --message <text>` | create, channel set | the release notes or channel description |
417 414 | `-F, --file <file\|->` | create, channel set | read the release notes or channel description from a file; - reads standard input |
418 | `--remote <name>` | attach, move, remove, channel set, channel list, channel clear | the remote naming the instance (default origin) |
415 | `--remote <name>` | attach, remove, channel set, channel list, channel clear | the remote naming the instance (default origin) |
419 416
420 417 See [Releases](releases.md).
421 418