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

Add support for https proxy #54

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Add support for https proxy #54

merged 4 commits into from
Aug 30, 2023

Conversation

victor-diez-sonarsource

Implemented in #43. Cherry-picked their commit

README.md Outdated
@@ -159,16 +159,27 @@ or alternatively set variable in `.npmrc`

## Download behind proxy

In order to be able to download binaries when you're behind a proxy it will be enough to set http_proxy environment variable.
In order to be able to download binaries when you're behind a proxy it will be enough to set the `http_proxy` environment
variable. The `https_proxy` environment variable is supported as well, should the mirror be using the HTTPS protocol.

Choose a reason for hiding this comment

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

isn't it the proxy server that's using HTTPS, and not the mirror?

Choose a reason for hiding this comment

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

I guess both, right? It would be weird do proxy a HTTP mirror with HTTPS

Choose a reason for hiding this comment

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

weird but not impossible

Choose a reason for hiding this comment

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

ok, it's the download helper who will handle the proper proxy to use. it will all depend on the URL you download from. so I think it makes sense the way it's phrased here

Copy link

@ilia-kebets-sonarsource ilia-kebets-sonarsource left a comment

Choose a reason for hiding this comment

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

a few changes. We can discuss it.

Copy link

@ilia-kebets-sonarsource ilia-kebets-sonarsource left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Aug 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@victor-diez-sonarsource victor-diez-sonarsource merged commit 14b6cb7 into master Aug 30, 2023
6 checks passed
@victor-diez-sonarsource victor-diez-sonarsource deleted the https-proxy branch August 30, 2023 12: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.

None yet

4 participants