-
Notifications
You must be signed in to change notification settings - Fork 696
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
Resolve #6369 and #6393: Allow cabal v2-install pkgname:exename or http://example.com/package.tar.gz(#sha256=abcde...) #6576
Merged
phadej
merged 3 commits into
haskell:master
from
phadej:issue-6369-install-pkgname-exename
Mar 12, 2020
Merged
Resolve #6369 and #6393: Allow cabal v2-install pkgname:exename or http://example.com/package.tar.gz(#sha256=abcde...) #6576
phadej
merged 3 commits into
haskell:master
from
phadej:issue-6369-install-pkgname-exename
Mar 12, 2020
Conversation
This file contains 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
phadej
force-pushed
the
issue-6369-install-pkgname-exename
branch
from
March 11, 2020 21:56
65ca180
to
f4ecbf1
Compare
phadej
changed the title
Resolve #6369: Allow cabal v2-install pkgname:exename
Resolve #6369 and #6393: Allow cabal v2-install pkgname:exename or http://example.com/package.tar.gz
Mar 11, 2020
We can write URIs with a fragment like https://hackage.haskell.org/package/cabal-fmt-0.1.2/cabal-fmt-0.1.2.tar.gz#sha256=aae556efbcaddfd65c6a1c1811b122b0d8c8d00624c8c2e36aabb5e9f9ea9840 and downloadURI will check the hash after download before continuing. The hash check supersedes ETag
Also added sha256 checking to Maybe that functionality should be in As a side-effect demo: incorrect hash
demo: correct hash
|
phadej
force-pushed
the
issue-6369-install-pkgname-exename
branch
from
March 11, 2020 22:59
ffc9154
to
c5f777c
Compare
phadej
changed the title
Resolve #6369 and #6393: Allow cabal v2-install pkgname:exename or http://example.com/package.tar.gz
Resolve #6369 and #6393: Allow cabal v2-install pkgname:exename or http://example.com/package.tar.gz(#sha256=abcde...)
Mar 11, 2020
Merged
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.
No description provided.