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   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to