1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-06 04:23:43 -04:00
gitea/services
6543 63d7cbcef1
Make mirror feature more configurable (#16957)
Rename`[repository]` `DISABLE_MIRRORS` to `[mirror]` `DISABLE_NEW_PULL`  and add `ENABLED` and `DISABLE_NEW_PUSH` with the below meanings:

- `ENABLED`: **true**: Enables the mirror functionality. Set to **false** to disable all mirrors.
- `DISABLE_NEW_PULL`: **false**: Disable the creation of **new** mirrors. Pre-existing mirrors remain valid.
- `DISABLE_NEW_PUSH`: **false**: Disable the creation of **new** push mirrors. Pre-existing mirrors remain valid.


Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
2021-09-07 17:49:36 +02:00
..
agit
archiver
auth Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 2021-09-02 16:48:48 +01:00
comments
externalaccount
forms
gitdiff Prevent panic on diff generation (#16950) 2021-09-05 12:16:49 +02:00
issue
lfs
mailer
mirror Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
pull Add option to update pull request by rebase (#16125) 2021-08-31 16:03:45 +02:00
release
repository
webhook
wiki