-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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. |
41b966c
to
00db6ff
Compare
@zeripath |
Ref: #11740 |
Co-authored-by: zeripath <[email protected]>
resolve #11740 (comment) too ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from some minor documentation flaws pretty good.
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.🚫 DEPRECATION 🚫
This PR deprecates the
[repository]
DISABLE_MIRRORS
setting - which is mapped to[mirror]
DISABLE_NEW_PULL
.