diff options
author | singuliere <35190819+singuliere@users.noreply.github.com> | 2022-05-31 00:47:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 00:47:55 +0200 |
commit | fdc784dbf482a790baaa1dd1f9dde5a8b8e4dadb (patch) | |
tree | 59e754773cc004e80a63c0ddcd242d0ba60ec58d /custom/conf | |
parent | fe4c846ccb70868f1b1f167e16d488080bcb1b51 (diff) | |
download | gitea-fdc784dbf482a790baaa1dd1f9dde5a8b8e4dadb.tar.gz gitea-fdc784dbf482a790baaa1dd1f9dde5a8b8e4dadb.zip |
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 <dev.lh@web.de>
Diffstat (limited to 'custom/conf')
-rw-r--r-- | custom/conf/app.example.ini | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 8362f22812..03bdf45350 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -813,7 +813,8 @@ PATH = ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;[repository] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Root path for storing all repository data. It must be an absolute path. By default, it is stored in a sub-directory of `APP_DATA_PATH`. +;; Root path for storing all repository data. By default, it is set to %(APP_DATA_PATH)/gitea-repositories. +;; A relative path is interpreted as %(GITEA_WORK_DIR)/%(ROOT) ;ROOT = ;; ;; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available. |