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

Proxy support #33

Open
benohara opened this issue May 10, 2021 · 1 comment
Open

Proxy support #33

benohara opened this issue May 10, 2021 · 1 comment

Comments

@benohara
Copy link

If ive got a machine setup with nuget and psgallery configured, i can use pspackage wit the install_options to pass a proxy which works.

However, on a new machine, i dont appear to be able to install nuget or configure the psgallery repo when behind a proxy.

Its possible to pass -Proxy to Install-PackageProvider and Set-PSRepository, but from a quick attept at hacking it into the code it appers the prxy info isnt returned in the get-packageprovider or get-psrepository and as such it changes each subsequent run.

Is it possible to do at east the initial nuget install via a proxy?

@benohara
Copy link
Author

also appears if no system wide proxy set get-psrepository shows the psgallery repo as missing if it cant connect (hence setting proxy when creating/updating would be helpful)

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

No branches or pull requests

1 participant