-
Notifications
You must be signed in to change notification settings - Fork 900
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
Make choco get its proxy settings also from environment Variables #605
Comments
you mean use those if they are present? |
yes, exactly |
I second this. This is important for x-platform compatibility too. Linux folks would appreciate this. Just as a reference, here is my Update-CLIProxy that creates those variables from explorer settings. I have it in my $PROFILE so linux tools (gem, bundler, pip etc.) work. |
I'd like to request that it also respect proxy bypass: NO_PROXY=127.0.0.1,localhost,*.example.com |
This will be implemented in 0.10.4 |
If `http_proxy`/`https_proxy` are set in environment variables, use those for Chocolatey automatically. If `no_proxy` is set, then use it for the proxy bypass list.
* stable: (chocolateyGH-1134) Show download progress for packages (chocolateyGH-1134) Specify Package Downloader (chocolateyGH-1165) fix - bypass on local set (chocolateyGH-605) Use Proxy From Environment Vars (chocolateyGH-1167) Remove quotes before Process call (chocolateyGH-1166) Fix: Multiple Licensed Sources (chocolateyGH-1165) Bypass Proxy on Local (chocolateyGH-1165) Config - Proxy Bypass List (chocolateyGH-262) Sources Explicitly Bypass Proxy (chocolateyGH-262) NuGet.Core - explicit source proxy ignore
When proxy settings are determined from the environment, ensure they are available for use with all areas of Chocolatey and not just the PowerShell scripts.
* stable: (chocolateyGH-1111) Clean up messaging for licensed edition (chocolateyGH-262) Ensure explicit source proxy bypass (doc) update environment variables in readme (maint) update uninstall to core extension (chocolateyGH-262) source - proxy bypass logging (chocolateyGH-605) Ensure environment proxy settings available (maint) formatting (log) update checksum error message (maint) TabExpansion - new options for licensed (chocolateyGH-1173) Set proxy information at runtime (log) note when proxy settings became available (maint) add outputdirectory shorter option names
as referenced in the issue #553 you linked the manual for proxy setup https://github.com/chocolatey/choco/wiki/Proxy-Settings-for-Chocolatey
it would be very good, for a automation tool, to get the proxy settings from the environmental variables:
The text was updated successfully, but these errors were encountered: