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

Move back to FP Complete Hackage mirror? #4473

Closed
snoyberg opened this issue Dec 28, 2018 · 5 comments · Fixed by #4474
Closed

Move back to FP Complete Hackage mirror? #4473

snoyberg opened this issue Dec 28, 2018 · 5 comments · Fixed by #4474

Comments

@snoyberg
Copy link
Contributor

Due to increased reliability of Hackage itself and its CDN providing nice guarantees, I moved Stack to point to Hackage instead of the FP Complete mirror (located on S3) by default. I just saw some discussions of breaking integration tests due to Hackage being down. Should we move Stack back to pointing at the historically more reliable S3 mirror?

@snoyberg snoyberg added this to the P0: Blocking release milestone Dec 28, 2018
snoyberg added a commit that referenced this issue Dec 28, 2018
@phadej
Copy link
Collaborator

phadej commented Dec 28, 2018

Can't stack simply support multiple mirrors and try them in turn if some of them fails? Isn't that the point of mirrors? hackage-security supports mirrors, so it shouldn't be too difficult to do.

https://www.stackage.org/haddock/lts-13.0/hackage-security-0.5.3.0/Hackage-Security-Client-Repository.html#v:repWithMirror

EDIT: this is not a new idea: #2509

@phadej
Copy link
Collaborator

phadej commented Dec 28, 2018

Also, Hackage is back up.

@DanBurton
Copy link
Contributor

Can't stack simply support multiple mirrors and try them in turn if some of them fails? Isn't that the point of mirrors? hackage-security supports mirrors, so it shouldn't be too difficult to do.

+1 to stack trying backup mirrors

However... doesn't the design of pantry basically require its own separate hosting? (Unless there are plans for hackage to support the hash-based api pantry wants to use.)

@DanBurton
Copy link
Contributor

Also, I'd say if the easy temporary fix for avoiding any penalties from unexpected hackage downtime is to switch back to the fpco mirror, then that should be fine for now.

@snoyberg
Copy link
Contributor Author

@phadej I don't know why the mirror logic doesn't work already. This should be a feature of hackage-security, not Stack.

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 a pull request may close this issue.

3 participants