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
resource: automatic determine mirrors for glibc-bootstrap
and PyPI resources
#13875
resource: automatic determine mirrors for glibc-bootstrap
and PyPI resources
#13875
Conversation
a9ef3ae
to
dc828bb
Compare
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.
I prefer this approach, nice work!
2a2b2a0
to
9b527a4
Compare
f207200
to
a371682
Compare
@@ -318,6 +318,10 @@ module EnvConfig | |||
"outdated.", | |||
boolean: true, | |||
}, | |||
HOMEBREW_PIP_INDEX_URL: { | |||
description: "If set, `brew install <formula>` will use this URL to download PyPI package resources.", | |||
default_text: "`https://pypi.org/simple`.", |
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.
This would be unset by default and will not be initialized from PIP_INDEX_URL
. The user need to set a new Homebrew-specific variable.
https://pypi.org/packages
and https://files.pythonhosted.org/packages
(this one is what we use in formulae) are mutually identical. We use https://pypi.org/simple
(suffix as simple
rather than package
) in the docs here because https://files.pythonhosted.org/simple
is private.
abed698
to
d3093cd
Compare
Thanks again @XuehaiPan! |
Head branch was pushed to by a user without write access
cea2166
to
46736c5
Compare
Thanks again @XuehaiPan! |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?Alternative to #13868.
Resolves Homebrew/glibc-bootstrap#6
Closes #13868