mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d6dd6d641b
Follow up #22405 Fix #20703 This PR rewrites storage configuration read sequences with some breaks and tests. It becomes more strict than before and also fixed some inherit problems. - Move storage's MinioConfig struct into setting, so after the configuration loading, the values will be stored into the struct but not still on some section. - All storages configurations should be stored on one section, configuration items cannot be overrided by multiple sections. The prioioty of configuration is `[attachment]` > `[storage.attachments]` | `[storage.customized]` > `[storage]` > `default` - For extra override configuration items, currently are `SERVE_DIRECT`, `MINIO_BASE_PATH`, `MINIO_BUCKET`, which could be configured in another section. The prioioty of the override configuration is `[attachment]` > `[storage.attachments]` > `default`. - Add more tests for storages configurations. - Update the storage documentations. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
actions | 2 years ago | |
agit | 2 years ago | |
asymkey | 2 years ago | |
attachment | 2 years ago | |
auth | 2 years ago | |
automerge | 2 years ago | |
context | 2 years ago | |
convert | 2 years ago | |
cron | 2 years ago | |
externalaccount | 2 years ago | |
forms | 2 years ago | |
gitdiff | 2 years ago | |
issue | 2 years ago | |
lfs | 2 years ago | |
mailer | 2 years ago | |
markup | 2 years ago | |
migrations | 2 years ago | |
mirror | 2 years ago | |
org | 2 years ago | |
packages | 2 years ago | |
pull | 2 years ago | |
release | 2 years ago | |
repository | 2 years ago | |
task | 2 years ago | |
user | 2 years ago | |
webhook | 2 years ago | |
wiki | 2 years ago |