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.

Publish release and run artifacts as file trees

5f2a0b0a7f84ec1bb43af5213e5c788039b72222 · Keenan Nemetz · 20d ago · parent 6d574bec

Publish release and run artifacts as file trees

Release pointers and run outputs are now slash-separated paths. A flat name is
a one-segment path, so every existing release, pointer, URL, and workflow that
uses dist/* keeps working.

- metadata validates artifact paths, lists and loads them recursively, and
  refuses a tag that would make the tag/path boundary ambiguous
- vole release attach keeps a directory's relative paths; a plain file keeps its
  base name
- a workflow match is published relative to the declaration's static root, so
  dist/* stays flat while dist/*/* keeps one directory level
- release and run download routes accept nested paths; Content-Disposition still
  saves the base name
- one internal rule is shared by the pointer writer, metadata validator, run
  record, CLI, and routes so they cannot disagree

Refs: 01M7BPH6RRPK2934FCHVJPQNGY

docs/cli.md +2−2

@@ -355,7 +355,7 @@ See [Change requests](change-requests.md).
355 355
356 356 ```sh
357 357 vole release create <tag> (-m <text> | -F <file|->)
358 vole release attach <tag> <file>... [--remote <name>]
358 vole release attach <tag> <file-or-directory>... [--remote <name>]
359 359 ```
360 360
361 361 A release is an annotated tag: its message is the release notes and its tree is
@@ -363,7 +363,7 @@ the source tarball, so both travel with any clone.
363 363
364 364 `create` — Writes the annotated tag in the current repository; push it with `git push --follow-tags`. A release is immutable once pushed, so a new version is a new tag.
365 365
366 `attach` — Uploads each file over SSH and records it as `releases/<tag>/<name>` on the metadata branch. Nothing is published until the pointer is pushed, so attach after `git push --follow-tags`, not before.
366 `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.
367 367
368 368 | Option | Used by | Meaning |
369 369 |---|---|---|