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 | |
---|---|---|
.. | ||
blob.go | 2 years ago | |
branch.go | 2 years ago | |
collaborators.go | 2 years ago | |
commits.go | 2 years ago | |
file.go | 2 years ago | |
fork.go | 2 years ago | |
git_hook.go | 2 years ago | |
git_ref.go | 2 years ago | |
hook.go | 2 years ago | |
hook_test.go | 2 years ago | |
issue.go | 2 years ago | |
issue_attachment.go | 2 years ago | |
issue_comment.go | 2 years ago | |
issue_comment_attachment.go | 2 years ago | |
issue_dependency.go | 2 years ago | |
issue_label.go | 2 years ago | |
issue_pin.go | 2 years ago | |
issue_reaction.go | 2 years ago | |
issue_stopwatch.go | 2 years ago | |
issue_subscription.go | 2 years ago | |
issue_tracked_time.go | 2 years ago | |
key.go | 2 years ago | |
label.go | 2 years ago | |
language.go | 2 years ago | |
main_test.go | 2 years ago | |
migrate.go | 2 years ago | |
milestone.go | 2 years ago | |
mirror.go | 2 years ago | |
notes.go | 2 years ago | |
patch.go | 2 years ago | |
pull.go | 2 years ago | |
pull_review.go | 2 years ago | |
release.go | 2 years ago | |
release_attachment.go | 2 years ago | |
release_tags.go | 2 years ago | |
repo.go | 2 years ago | |
repo_test.go | 2 years ago | |
star.go | 2 years ago | |
status.go | 2 years ago | |
subscriber.go | 2 years ago | |
tag.go | 2 years ago | |
teams.go | 2 years ago | |
topic.go | 2 years ago | |
transfer.go | 2 years ago | |
tree.go | 2 years ago | |
wiki.go | 2 years ago |