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.
Let repo create choose visibility, not an owner
d74e7e231de16fa00366dc8ccc392fc9c637b52d · Keenan Nemetz · 3d ago · parent 3455902a
Let repo create choose visibility, not an owner A repository has no owner: the argument only seeded one admin entry in the ACL store, and instance admins can already administer every repository. The create command therefore asked for a fact the repository does not keep. Replace --owner with --visibility private|public on `vole admin repo create`, the remote admin command, and the web form. The initial rule set is written once, inside the store, so a public repository is never briefly private. An admin who wants to hand a repository to someone grants a role with the acl commands, exactly as for any later access change. closes: 01M82CC7G9W46PRP89GQ5CNMDE
docs/cli.md +3−3
| @@ -148,21 +148,21 @@ See [Accounts and access](accounts-and-access.md). | |||
| 148 | 148 | ### admin repo | |
| 149 | 149 | ||
| 150 | 150 | ```sh | |
| 151 | vole admin repo create --owner <account> <name> [--description <text>] | ||
| 151 | vole admin repo create <name> [--description <text>] [--visibility private|public] | ||
| 152 | 152 | vole admin repo list | |
| 153 | 153 | vole admin repo show <name> | |
| 154 | 154 | vole admin repo rename <old> <new> | |
| 155 | 155 | vole admin repo delete <name> | |
| 156 | 156 | ``` | |
| 157 | 157 | ||
| 158 | New repositories are private. The owner becomes the first admin. | ||
| 158 | New repositories are private unless --visibility public is given. Access is granted afterwards with the acl commands; an instance admin can administer any repository. | ||
| 159 | 159 | ||
| 160 | 160 | `delete` — Deleting a repository removes its refs, its metadata branch, its LFS objects and its CI history. It is audited, and there is no undo. | |
| 161 | 161 | ||
| 162 | 162 | | Option | Used by | Meaning | | |
| 163 | 163 | |---|---|---| | |
| 164 | 164 | | `-c, --config <path>` | all | the vole.toml to read; default is ./vole.toml, then ~/.vole/vole.toml | | |
| 165 | | `-o, --owner <account>` | create | the account that owns the new repository and becomes its first admin | | ||
| 165 | | `--visibility <private\|public>` | create | who may read the new repository; private unless this is public | | ||
| 166 | 166 | | `-d, --description <text>` | create | one line shown beside the repository | | |
| 167 | 167 | ||
| 168 | 168 | See [Accounts and access](accounts-and-access.md). | |