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

Use https:// protocol instead of git:// when a proxy is set #731

Closed
satazor opened this issue Aug 6, 2013 · 2 comments
Closed

Use https:// protocol instead of git:// when a proxy is set #731

satazor opened this issue Aug 6, 2013 · 2 comments

Comments

@satazor
Copy link
Member

satazor commented Aug 6, 2013

People behind proxies simply set the environment variables so that bower sees the proxy. While this works for normal requests, it is not enough for git://. Users have also to configure git to use https.insteadOf.git.

We can do this for github endpoints since they support https. For others we can't do this since https is not supported but we can error out with an appropriate message telling the possible cause for the issue and how to solve it.

http://stackoverflow.com/questions/15669091/bower-install-using-only-https

@pixelheresy
Copy link
Contributor

Went ahead and put together a fix for this. Put in the change early enough in the resolver lifecycle as to not mess with what is going on inside. Check it out.

@satazor
Copy link
Member Author

satazor commented Aug 8, 2013

Fixed by #732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants