-
Notifications
You must be signed in to change notification settings - Fork 17
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
Export proxy values #266
Export proxy values #266
Conversation
If not exported, these dont propagate to the pip3 or python3
@esajaa Make sense but do we need to do this also of relay-term (nodejs based project)? |
I would assume we need these in all relevant places. Anything where we fetch something - it should be there. For example here, too - I would assume at least. I don't think we have a proxy setup available for us to test this? Would it be all these files?
|
I would then assume, that all typical Yocto .bb files should have that same thing in those, by default. https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb However, for example that one does not. What makes our .bb file so special? |
I don't think so, at least I haven't heard any feedback that it doesn't work behind a proxy. I'm assuming it's because the recipe doesn't call npm directly, instead it uses npmsw fetcher, so it has some mechanism there to use the proxy variables |
The HTTP_PROXY and HTTPS_PROXY variables get applied properly to most of the places. This most likely happens because the native handlers handle the proxies correctly. Calling pip directly in the recipe may be the thing that differentiates this recipe from others. |
Ok, @esajaa explanation about the pip3 makes perfect sense. |
If not exported, these dont propagate to the pip3 or python3