Layman, Git, ... and Http-Proxies
On Thursday 20 May 2010 23:24:24 Petric Frank wrote:
> Hello,
>
> i tried to use layman (current stable version). The problem ist that i sit
> behind a proxy server which covers the http(s) protocol only. All other
> ports are closed.
>
> In the config file of layman (/etc/layman/...) i entered the proxy server
> and the listening port. Then layman was able to get the list of overlays.
>
> But if i want to get an overlay (here: x11 overlay) it starts git to get
> it. After a while git aborts with a timeout. It seems that git does not
> take the proxy info layman has into account.
>
> Tried also to export the proxy:
> export http_proxy="<proxy-server>:<proxy-port>"
> or
> export http_proxy="http://<proxy-server>:<proxy-port>"
>
> before executing
> layman -a x11
>
> but this didn't help.
>
> How to overcome the problem ?
>
> Does layman pass the proxy info to the executed sub-programs (i.e. cvs,
> subversion, git, ...) ?
> (it not that may be an enchancement)
>
> regards
> Petric
>
Hi Petric,
I am not certain about git, but for subversion I had to set it in the
subversion config.
On my system:
*****
host ~ # cat ~/.subversion/servers | grep proxy
http-proxy-host = proxy.mydomain.com
http-proxy-port = 8080
*****
I am guessing that a similar setting is required for git and others.
--
Joost
|