trouble getting wine from git through a proxy

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
David Gerard

trouble getting wine from git through a proxy

Post by David Gerard »

How can I get wine from git through a proxy server?

I tried the usual clone command but substituting http:// for git://,
set $http_proxy (per git man page) to the name of my proxy server and
got:

$ git clone http://source.winehq.org/git/wine.git wine
Initialized empty Git repository in /cygdrive/d/wine/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Then I tried again with git-config --global http.proxy [name of
proxy], still didn't work.

Is the above command correct? Does git use some other way to set the
http proxy server? Is the wine git server not set up for http updates?


- d.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: trouble getting wine from git through a proxy

Post by vitamin »

David Gerard wrote:How can I get wine from git through a proxy server?

I tried the usual clone command but substituting http:// for git://,
set $http_proxy (per git man page) to the name of my proxy server and
got:

$ git clone http://source.winehq.org/git/wine.git wine
Initialized empty Git repository in /cygdrive/d/wine/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Then I tried again with git-config --global http.proxy [name of
proxy], still didn't work.

Is the above command correct? Does git use some other way to set the
http proxy server? Is the wine git server not set up for http updates?


- d.
Works fine here. Check that you properly configured proxy:
1). Set environment variable for proxy server:

# export http_proxy <proxyserver>:<port number>

Eg.
# export http_proxy myproxy.com:80
l_bratch
Newbie
Newbie
Posts: 4
Joined: Fri Feb 22, 2008 3:38 pm

Re: trouble getting wine from git through a proxy

Post by l_bratch »

David Gerard wrote:How can I get wine from git through a proxy server?

I tried the usual clone command but substituting http:// for git://,
set $http_proxy (per git man page) to the name of my proxy server
It works here OK.

The only thing to note is that it doesn't work with:

http_proxy=http://host:port git clone http://source.winehq.org/git/wine.git wine

It only works with:

export http_proxy=http://host:port
git clone http://source.winehq.org/git/wine.git wine
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: trouble getting wine from git through a proxy

Post by Usurp »

David Gerard wrote:How can I get wine from git through a proxy server?

I tried the usual clone command but substituting http:// for git://,
set $http_proxy (per git man page) to the name of my proxy server and
got:

$ git clone http://source.winehq.org/git/wine.git wine
Initialized empty Git repository in /cygdrive/d/wine/.git/
:shock: do you plan to to build wine on cygwin ??
David Gerard

trouble getting wine from git through a proxy

Post by David Gerard »

2008/6/4 Usurp <[email protected]>:
[Shocked] do you plan to to build wine on cygwin ??
Yes - I don't expect it to work, I was just curious as to how far it
would get :-)


- d.
David Gerard

trouble getting wine from git through a proxy

Post by David Gerard »

2008/6/4 David Gerard <[email protected]>:
2008/6/4 Usurp <[email protected]>:
[Shocked] do you plan to to build wine on cygwin ??
Yes - I don't expect it to work, I was just curious as to how far it
would get :-)
I must say, I found this warning quite amusing:

http://www.mail-archive.com/wine-devel@ ... 04375.html

"I got cygwin to compile wine to the point where wine-install tried to
run regedit on
winedefault.reg.
I should have been paying closer attention.
The good news is that the wine regedit.exe works like a charm. The
bad news is that
it overwrote my actual windows registry with the bunk values in winedefault.reg.
Not gonna be very easy to roll back.
So... WATCH OUT! That last step's a doozy."


- d.
John Drescher

trouble getting wine from git through a proxy

Post by John Drescher »

On Wed, Jun 4, 2008 at 5:05 AM, David Gerard <[email protected]> wrote:
2008/6/4 David Gerard <[email protected]>:
2008/6/4 Usurp <[email protected]>:
[Shocked] do you plan to to build wine on cygwin ??
Yes - I don't expect it to work, I was just curious as to how far it
would get :-)
I must say, I found this warning quite amusing:

http://www.mail-archive.com/wine-devel@ ... 04375.html

"I got cygwin to compile wine to the point where wine-install tried to
run regedit on
winedefault.reg.
I should have been paying closer attention.
The good news is that the wine regedit.exe works like a charm. The
bad news is that
it overwrote my actual windows registry with the bunk values in winedefault.reg.
Not gonna be very easy to roll back.
So... WATCH OUT! That last step's a doozy."
The good thing about this warning is you can make a system restore
point before this and possibly back yourself out of any registry mess.

John
David Gerard

trouble getting wine from git through a proxy

Post by David Gerard »

2008/6/4 John Drescher <[email protected]>:
On Wed, Jun 4, 2008 at 5:05 AM, David Gerard <[email protected]> wrote:
I must say, I found this warning quite amusing:
http://www.mail-archive.com/wine-devel@ ... 04375.html
The good news is that the wine regedit.exe works like a charm. The
bad news is that
it overwrote my actual windows registry with the bunk values in winedefault.reg.
Not gonna be very easy to roll back.
The good thing about this warning is you can make a system restore
point before this and possibly back yourself out of any registry mess.
Or compile and install it in Cygwin as a non-administrator user, of course!


- d.
Locked