Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Store changes under changes/<ulid>/change.md

b492b557f5cc5633b3dcb21fdbb5e2ad98d0bc16 · Keenan Nemetz · 3d ago · parent 9bce3723

Store changes under changes/<ulid>/change.md

The web, the CLI, and the docs call these items changes; only the metadata
tree still said requests. Rename the directory and the record file so the
format and the product use one word.

The tree is a contract, so this is a format change rather than a display
change: the top-level layout stays closed, and a request path no longer
validates. An existing repository is migrated by rewriting its vole branch,
which is an audited admin force-push; the index rebuilds from the new tip
and the #N aliases keep their ULIDs because the rewrite preserves commit
order.

Refs #202 (01M6S3JC3Y2KA6EFJK6APX7A1T).

server/hook/scope.go +2−2

@@ -29,10 +29,10 @@ import (
29 29 // credential reads as absent: the row is swept later, and the refusal it produces is
30 30 // the same one an unknown key gives.
31 31 // isRequestFile reports whether a path is a change request's own file. It is spelled
32 // out here rather than assumed from a prefix so a future file beside request.md is
32 // out here rather than assumed from a prefix so a future file beside change.md is
33 33 // not silently treated as one.
34 34 func isRequestFile(path string) bool {
35 return strings.HasPrefix(path, metadata.RequestsDir+"/") && strings.HasSuffix(path, "/request.md")
35 return strings.HasPrefix(path, metadata.ChangesDir+"/") && strings.HasSuffix(path, "/change.md")
36 36 }
37 37
38 38 func lookupRunCredential(cfg Config, fingerprint string) (*runs.RunCredential, error) {