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

Any plan to support cli option for http/https proxy? #108

Closed
atztogo opened this issue Sep 22, 2021 · 2 comments
Closed

Any plan to support cli option for http/https proxy? #108

atztogo opened this issue Sep 22, 2021 · 2 comments

Comments

@atztogo
Copy link

atztogo commented Sep 22, 2021

I am looking for a way to install SSSP behind http/https proxy, and I could not find it. So I hard-coded http-proxy and it seems working. For other people in my institute, I want to have a cli option to provide http/https proxy information. Do you already have such a plan?

@sphuber
Copy link
Contributor

sphuber commented Sep 22, 2021

Hi @atztogo we have been working on this in #94 . At least I think that should fix the problem you are describing. I think we almost arrived at the ideal solution, both in terms of flexibility/ease of use/ but while keeping things consistent. The idea is to add the option --download-only to the aiida-pseudo install sssp/pseudo-dojo commands. This will produce a single file on disk (containing all the files it downloaded). The commands than also get the option --from-download that can consume such an archive. So you can download the archive on a non-blocked computer, get it to the computer behind a proxy and then use --from-download to install from file instead of downloading it.

Would this work, or are you describing a different issue? And if so, could you share your solution perhaps?

@atztogo
Copy link
Author

atztogo commented Sep 22, 2021

Yes, it solves the problem. Thanks @sphuber!

@atztogo atztogo closed this as completed Sep 22, 2021
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

2 participants