-
Notifications
You must be signed in to change notification settings - Fork 842
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
Add an option to specify build plan download address. #1794
Comments
Yeah, this would be good. Looks like the following URLs contain So I suppose the solution here would be to allow configuration of something other than Is github also affected? We also download things from github. |
Yes, github is also affected. |
I see. I suppose we could have something like: stack-urls:
snapshots: https://s3.amazonaws.com/haddock.stackage.org/snapshots.json
index: https://s3.amazonaws.com/hackage.fpcomplete.com/00-index.tar.gz"
# etc Alternatively, we could make it so that you can download some set of files and use those locally (see also #1594 ). |
I wonder whether package-indices and latest-snapshot-url is not for you...? I'm also very interested in this topic. |
@igrep |
To make it clear, it is rawGithubUrl that you want to make configurable, right? As long as I checked, it's actually used to download build plans |
@igrep Right. |
Currently, stack downloads stackage build plans from s3.amazonaws.com. Unfortunately, in many areas in China, this domain is blocked due to the Great Firewall (national network censoring system).
So I'm proposing that stack add an option to specify build plan download address. This allows us to set up a stackage mirror along existing hackage mirrors in China, and Chinese Haskellers won't have to endure Internet connection issues in their workflow. Thank you!
The text was updated successfully, but these errors were encountered: