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.

Name role capabilities consistently

cc5123a549d8d0991e74a88fff8208b5071d1192 · Keenan Nemetz · 1d ago · parent 648cd81b

forge/config/validate_test.go +3−3

@@ -141,7 +141,7 @@ func TestValidationRefusesUnsafeCombinations(t *testing.T) {
141 141 {
142 142 name: "self-registration granting admin",
143 143 tweak: func(c *Config) { c.OpenRegistrationRole = "admin" },
144 want: "none, read or contribute",
144 want: "none, reader or contributor",
145 145 },
146 146 {
147 147 name: "an unknown self-registration role",
@@ -151,12 +151,12 @@ func TestValidationRefusesUnsafeCombinations(t *testing.T) {
151 151 {
152 152 name: "self-registration granting runner",
153 153 tweak: func(c *Config) { c.OpenRegistrationRole = "runner" },
154 want: "none, read or contribute",
154 want: "none, reader or contributor",
155 155 },
156 156 {
157 157 name: "self-registration granting maintain",
158 158 tweak: func(c *Config) { c.OpenRegistrationRole = "maintain" },
159 want: "none, read or contribute",
159 want: "none, reader or contributor",
160 160 },
161 161 {
162 162 name: "public_url with a path",