[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cloning gnulib from behind a firewall
From: |
Eric Blake |
Subject: |
Re: cloning gnulib from behind a firewall |
Date: |
Wed, 08 Sep 2010 20:02:10 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2 |
On 09/08/2010 01:00 PM, Ben Abbott wrote:
I'd like to clone gnulib from behind my company's firewall.
The ports for git and cvs are closed, so I tried http, and obtained the error
below.
export http_proxy=...
git clone http://git.savannah.gnu.org/gnulib.git
Cloning into gnulib...
fatal: http://git.savannah.gnu.org/gnulib.git/info/refs not found: did
you run git update-server-info on the server?
I'm a novice regarding git, but this looks to me like my problem requires a
solution on the savannah end, correct?
Yes, savannah would have to set up an http server. But have no fear -
the people at repo.or.cz have already set up a clone that mirrors the
savannah repository (browse it at http://repo.or.cz/w/gnulib.git), and
that mirror provides http service that is usually less than an hour or
two behind savannah. So you can instead clone from:
git clone http://repo.or.cz/r/gnulib.git
In fact, I've set up several mirrors on repo.or.cz precisely because I
used to work at a job where I was behind a firewall that allowed only
http access. And I found it helpful to do something like:
git config --global url.http://repo.or.cz/r/.insteadof \
git://git.sv.gnu.org:/srv/git/
such that cloning other projects like coreutils.git and running
bootstrap would then automatically rewrite the submodule URLs to
likewise pull from the same location.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org