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

Support basic auth #32

Merged

Conversation

brandon-leapyear
Copy link
Contributor

@brandon-leapyear brandon-leapyear commented Mar 25, 2021

This is an old work account. Please reference @brandonchinn178 for all future communication


Fixes commercialhaskell/stack#5509

Tested that it works with our private hackage instance

@snoyberg
Copy link
Collaborator

I'm not on board with this approach, it's too easy to accidentally ignore the subtle differences between the local and upstream versions of the function. How about modifying HttpClient.hs to call more appropriate API functions? Honestly, even after reading the Stack issue and this PR, I'm not certain what exact bug you're trying to fix.

@brandon-leapyear
Copy link
Contributor Author

brandon-leapyear commented Mar 25, 2021 via email

@snoyberg
Copy link
Collaborator

LGTM. Can you add a version bump and changelog entry?

@brandon-leapyear
Copy link
Contributor Author

brandon-leapyear commented Mar 25, 2021

This is an old work account. Please reference @brandonchinn178 for all future communication


Done!

Copy link
Collaborator

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@snoyberg snoyberg merged commit c7923fc into commercialhaskell:master Mar 26, 2021
@brandon-leapyear brandon-leapyear deleted the chinn/support-basic-auth branch April 9, 2021 16:25
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 this pull request may close these issues.

Support basic auth in package-indices
2 participants