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

Changing mirror as build in function? #1271

Closed
Losses opened this issue Jul 30, 2019 · 3 comments
Closed

Changing mirror as build in function? #1271

Losses opened this issue Jul 30, 2019 · 3 comments

Comments

@Losses
Copy link

Losses commented Jul 30, 2019

Accessing github is really painful in China because the reason everyone know, if the mirror could be changed as a build in function, life will be easier...

@KristofferC
Copy link
Member

KristofferC commented Jul 30, 2019

Yes, we are planning on adding functionality along these lines.

For now, one possible way to work around it could be to fork the registry and replace all URLs with the mirror and then use that registry. Not ideal, but might work in the short term.

@Losses
Copy link
Author

Losses commented Jul 30, 2019

@KristofferC Okay, thanks a lot :D~

@KristofferC
Copy link
Member

KristofferC commented Apr 7, 2020

This is implemented with the PKG_SERVER environment variable. It still needs some docs though but I think this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants