Closed brunorubin closed 8 years ago
👍
Thank you for this @brunorubin! Can you please sign JFrog's CLA so that I can merge this PR?
@eyalbe4 Sure, it is already signed. Thanks.
@eyalbe4, could we get a new release of this please?
Sure @jishaal. We'll soon create a release and let you know when it is published.
@jishaal, version 2.0.6 has just been published.
Fantastic. Thanks heaps mate! @eyalbe4
Currently the
bower-art-resolver
is failing when it runs in a server behind a proxy and needs to resolve any dependency that the source is set toNO_PROXY
environment variable. As per investigation made by @monzonj in #9, removing the proxy entry from the request call let the request plugin to handle the environment variables to evaluateHTTP_PROXY
,HTTPS_PROXY
andNO_PROXY
.This change is a workaround to fix #9.
Scenario:
We want to use the
bower-art-resolver
to resolve some packages dependencies from our internal Artifactory registry. The server we are running is behind a HTTP proxy and our internal Artifactory shouldn't be routed via proxy so its address is set in theNO_PROXY
environment variable.Expected Result:
During the
bower install
command it is expected to have theNO_PROXY
environment variable evaluated and the requests to the custom registry should bypass the proxy.Actual Result:
During the
bower install
command theNO_PROXY
environment variable is not evaluated and every request is going though the proxy causing the following error when trying to reach the internal artifactory: