Re: [opensuse-buildservice] Profile picture is not shown properly with http proxy
Thanks for your new path.
It works with small modification.
-+ proxy_user, proxy_pass = proxy.userinfo.split(/:/) if
proxyuri.userinfo
++ proxy_user, proxy_pass = proxy.userinfo.split(/:/) if proxy.userinfo
And I think HTTP_PROXY would be http_proxy.
We usually use http_proxy in non-capical for environment variable.
And also all config options in config/option.yml are non-capital.
Many thanks.
2012/10/24 Adrian Schröter
Am Mittwoch, 24. Oktober 2012, 20:41:17 schrieb UkJung Kim:
Thanks for you patch. But it doesn't seems to work. apache server doesn't have any HTTP_PROXY environment variable since my shell has.
It works if I change your patch directly to use proxy.
Hm, I have no better idea right now then to allow als HTTP_PROXY as config option in config/options.yml .
The attached (updated patch) should work then. Again, untested.
2012/10/24 Adrian Schröter
: Am Mittwoch, 24. Oktober 2012, 09:42:02 schrieb UkJung Kim:
Hi,
Profile picture is not shown properly with OBS 2.3.6.
Our OBS server is behind firewall and we have to use http proxy for web connection. It seems it has problem with getting profile picture from Gravatar. And I guess it doesn't use http proxy to connect to Gravatar.
I have not tested it, but theoretically the attached patch is fixing this.
Patch is against git master though.
Would be great if you could test it.
thanks adrian
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Donnerstag, 25. Oktober 2012, 09:50:36 schrieb UkJung Kim:
Thanks for your new path. It works with small modification.
-+ proxy_user, proxy_pass = proxy.userinfo.split(/:/) if proxyuri.userinfo ++ proxy_user, proxy_pass = proxy.userinfo.split(/:/) if proxy.userinfo
And I think HTTP_PROXY would be http_proxy. We usually use http_proxy in non-capical for environment variable. And also all config options in config/option.yml are non-capital.
Thanks for that. I have adapted that now in git master branch as you suggested. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
UkJung Kim