loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(config): set default value of UseCompatSSHURI to true (#6820)

The default value was supposed to be set to `true` in https://codeberg.org/forgejo/forgejo/pulls/3285 for v8. However, the implementation was incomplete, because the value is being overridden to `false`:

https://codeberg.org/forgejo/forgejo/src/commit/1f24f35fe9cd91aba5a9b2678e4306aa016b9e77/modules/setting/repository.go#L292

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6820
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>

authored by

0ko
0ko
and committed by
Gusted
2645c082 7f01f3cb

+1 -1
+1 -1
modules/setting/repository.go
··· 289 289 // Determine and create root git repository path. 290 290 sec := rootCfg.Section("repository") 291 291 Repository.DisableHTTPGit = sec.Key("DISABLE_HTTP_GIT").MustBool() 292 - Repository.UseCompatSSHURI = sec.Key("USE_COMPAT_SSH_URI").MustBool() 292 + Repository.UseCompatSSHURI = sec.Key("USE_COMPAT_SSH_URI").MustBool(true) 293 293 Repository.GoGetCloneURLProtocol = sec.Key("GO_GET_CLONE_URL_PROTOCOL").MustString("https") 294 294 Repository.MaxCreationLimit = sec.Key("MAX_CREATION_LIMIT").MustInt(-1) 295 295 Repository.DefaultBranch = sec.Key("DEFAULT_BRANCH").MustString(Repository.DefaultBranch)