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

Set proxy settings from envars #377

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

grumo35
Copy link

@grumo35 grumo35 commented Jan 31, 2022

Added basic proxy support from environment variables, need to add this option in parameter of patchman cli.

Added basic proxy support from environment variables, need to add this option in parameter of patchman cli.
@grumo35 grumo35 changed the title Update __init__.py Set proxy settings from envars Feb 2, 2022
@@ -33,6 +34,11 @@
from progressbar import Bar, ETA, Percentage, ProgressBar
from patchman.signals import error_message

http_proxy=getenv('http_proxy')
proxies = {
Copy link
Owner

Choose a reason for hiding this comment

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

Should https_proxy not come from the https_proxy env var?

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

2 participants