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.

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.

docs/cli.md +4−4

@@ -11,7 +11,7 @@ with code `129`, just like Git.
11 11
12 12 | Option | Used by | Meaning |
13 13 |---|---|---|
14 | `--config <path>` | Local server management | Use a different `vole.toml` (default `vole.toml`) |
14 | `--config <path>` | Local server management | Use a different `vole.toml` (default: `./vole.toml`, then `~/.vole/vole.toml`; `VOLE_CONFIG` overrides both) |
15 15 | `--remote <name\|url>` | `admin`, issue, release, and pages commands | Git remote or instance SSH URL to talk to |
16 16 | `--json` | `admin --remote` | Print the server's JSON response |
17 17 | `--no-push` | `issue`, `request` | Commit locally without pushing |
@@ -40,8 +40,8 @@ Without `--remote`, it changes the instance named by the local `vole.toml`. With
40 40 admin.
41 41
42 42 ```sh
43 vole admin user create alice
44 vole admin --remote origin user create bob
43 vole admin user create alice --key ~/.ssh/id_ed25519.pub
44 vole admin --remote origin user create bob --key bob.pub
45 45 vole admin --remote ssh://git@forge.example.com:2222 user list
46 46 ```
47 47
@@ -50,7 +50,7 @@ See [Users and access](users-and-access.md#remote-administration).
50 50 ### Users
51 51
52 52 ```sh
53 vole admin user create <name>
53 vole admin user create --key <file|-> <name>
54 54 vole admin user add-key --key <file|-> <name|id>
55 55 vole admin user rm-key <name|id> <fingerprint>
56 56 vole admin user rename <name|id> <new-name>