Repository navigation
Use hackage security - #2940
Merged
Merged
Use hackage security#2940
Conversation
snoyberg
force-pushed
the
use-hackage-security
branch
2 times, most recently
from
January 20, 2017 10:27
73380ae to
38e750e
Compare
snoyberg
force-pushed
the
use-hackage-security
branch
from
January 23, 2017 14:11
38e750e to
40b8bef
Compare
Contributor
Author
|
I've been using this regularly for the past few days and haven't experienced any issues. Since I've been doing Stackage curation in that time, I've been very regularly running |
For discussion of bootstraping and the decision to embed Hackage Security keys in the executable, see: haskell/hackage-security#181
snoyberg
force-pushed
the
use-hackage-security
branch
from
January 25, 2017 12:23
bd5b2aa to
652c363
Compare
Cannot yet turn on "require hashes" by default due to missing hashes, see: haskell/hackage-security#183
snoyberg
force-pushed
the
use-hackage-security
branch
from
January 27, 2017 07:23
dc42af7 to
49b5381
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: Documentation fixes for https://docs.haskellstack.org/en/stable/ should target the "stable" branch, not master.
Please include the following checklist in your PR:
Normal usage of Stack will test this out plenty. I made this change because, once we switched from the Git index to HTTPS, updates became very slow, which I'm not happy with. As long as we're doing partial updates, may as well use hackage-security I suppose.
Since the hackage-security-http-client package isn't yet on Hackage, I inlined that module. Also, manually specified indices will be able to opt in or out of Hackage Security for downloads, so compatibility with existing non-HS indices will be retained.
I know the initial build will fail due to missing extra-deps. After that, I'm planning on using this myself a bit before merging. Review certainly welcome, this was far more complicated to get right than I would have ever expected.