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/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

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

Create accounts with a key and find the instance config

c36d507302c0f7fb24af6eba390c4121d67318c3 · Keenan Nemetz · 16d ago · parent 3abbe749

Create accounts with a key and find the instance config

An account is now written with its first key in one transaction, so a name cannot be claimed without a credential. add-key remains for additional keys, and remote user create forwards the key on stdin.

Local commands now resolve the config from --config, VOLE_CONFIG, ./vole.toml, or ~/.vole/vole.toml before falling back to defaults. init prints --config in its next steps when the instance will not be discovered automatically.

server/hook/names_test.go +2−1

@@ -18,7 +18,8 @@ func TestOpenNamesResolves(t *testing.T) {
18 18 t.Fatal(err)
19 19 }
20 20 defer s.Close()
21 a, err := s.Create("keenan", "test")
21 _, pub := writeKey(t, filepath.Join(t.TempDir(), "key"))
22 a, err := s.Create("keenan", pub, "test")
22 23 if err != nil {
23 24 t.Fatal(err)
24 25 }