New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make mirror feature more configurable #16957
Conversation
Codecov Report
@@ Coverage Diff @@
## main #16957 +/- ##
=======================================
Coverage ? 45.14%
=======================================
Files ? 764
Lines ? 86282
Branches ? 0
=======================================
Hits ? 38956
Misses ? 41020
Partials ? 6306
Continue to review full report at Codecov.
|
Please put better explanations as to what the PR is supposed to be doing in the first comment of the PR. |
minor nits only. |
@zeripath |
Ref: #11740 |
Co-authored-by: zeripath <[email protected]>
resolve #11740 (comment) too ... |
Rename
[repository]
DISABLE_MIRRORS
to[mirror]
DISABLE_NEW_PULL
and addENABLED
andDISABLE_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.This PR deprecates the
[repository]
DISABLE_MIRRORS
setting - which is mapped to[mirror]
DISABLE_NEW_PULL
.The text was updated successfully, but these errors were encountered: