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.

Resolve change references on the server, not only in the clone

1eac85526b68e855bbef356cfd8deffb44643481 · Keenan Nemetz · 3d ago · parent d74e7e23

Resolve change references on the server, not only in the clone

 is the one change verb that lands on the server, so it
was also the one that passed the typed argument straight to landing.Prepare.
Prepare reads a ULID, and the shared #number alias was refused with
"requests: no request 2".

Resolve the reference where the landing happens: the server reads the
metadata branch it owns, finds the request, and passes the canonical ULID to
the plan, the merge-when-ready arm and the record. The status verb takes the
same path, so both server-side change verbs accept what the help promises:
a ULID, a prefix, or a number with or without #.

Fixes 01M7B8J64AM5BC75Y9335107ZV.

server/ssh/status.go +1−1

@@ -45,7 +45,7 @@ func (s *Server) serveChangeStatus(ch Session, argv []string, user, remote strin
45 45 fmt.Fprintf(ch, "vole: %s may not read change requests in %s\n", user, name)
46 46 return 1
47 47 }
48 req, err := metadata.GetRequest(m.Git(), id)
48 req, err := metadata.FindRequest(m.Git(), id)
49 49 if err != nil {
50 50 fmt.Fprintf(ch, "vole: %v\n", err)
51 51 return 1