mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-19 12:38:51 +00:00
docs: update the ROOT documentation and error messages (#19832)
* docs: update the ROOT documentation and error messages * The documentation now reflects what happens in the setting/repository.go::newRepository function: filepath.Join(AppWorkPath, RepoRootPath) was missing. * The error message displayed when RepoRootPath is not found now displays the value of RepoRootPath. Given the complexity of the construction of this value, only referring to it in the abstract is likely to be misleading to the Gitea admin trying to interpret the message. Co-authored-by: delvh <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
delvh
parent
b23cb29c4e
commit
a8d06bcd22
@@ -64,8 +64,9 @@ https://github.com/loganinak/MigrateGitlabToGogs
|
||||
- Unix: Environment variable `HOME`
|
||||
- Windows: Environment variable `USERPROFILE`, else environment variables `HOMEDRIVE`+`HOMEPATH`
|
||||
- RepoRootPath
|
||||
- `ROOT` in `app.ini`
|
||||
- Else `%(AppDataPath)/gitea-repositories`
|
||||
- `ROOT` in the \[repository] section of `app.ini` if absolute
|
||||
- Else `%(AppWorkPath)/ROOT` if `ROOT` in the \[repository] section of `app.ini` if relative
|
||||
- Default `%(AppDataPath)/gitea-repositories`
|
||||
- INI (config file)
|
||||
- `-c` flag
|
||||
- Else `%(CustomPath)/conf/app.ini`
|
||||
|
||||
Reference in New Issue
Block a user