Skip to content
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

Respect HEX_MIRROR environment variable #2748

Merged
merged 1 commit into from
Oct 2, 2022

Conversation

dmitrivereshchagin
Copy link
Contributor

Mix and Hex don't use HEX_CDN for a long time. Mix can run Rebar3 to compile dependencies. To complete this Rebar3 may need to fetch plugins. It would be nice to specify Hex mirror for both Mix/Hex and Rebar3 using one variable.

Can we deprecate HEX_CDN in favor of HEX_MIRROR? If so, I can update PR.

Mix and Hex don't use HEX_CDN for a long time.  Mix can run Rebar3
to compile dependencies.  To complete this Rebar3 may need to fetch
plugins.  It would be nice to specify Hex mirror for both Mix/Hex
and Rebar3 using one variable.
@ferd
Copy link
Collaborator

ferd commented Oct 2, 2022

We're unlikely do deprecate the variable if it's just to rename it to something else that's fully equivalent. The current PR seems like a good fix for that.

@ferd ferd merged commit feb4a91 into erlang:main Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants