Skip to content

Windows support for proxy setting #53

@weshouman

Description

@weshouman

What happens

No possibility to disable global-agent from overwriting the HTTP_PROXY vars under Windows using Winows cmd/powershell while following this section and setting GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''

Reproduction

Install yo (which uses yo-doctor, which uses got, which depends on global-agent) behind a proxy on Windows.

Note: disabling the behavior of GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE requires setting the variable to an empty string, which is not possible by design under windows.

Reference issue

Suggested Solution

Provide another environment variable, for example GLOBAL_AGENT_ENVIRONMENT_VARIABLE_DISABLE='true' to have the same effect of GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions