On Wed, Jan 22, 2014 at 08:32:07AM -0500, Omer Frenkel wrote:
----- Original Message -----
> From: "David Caro Estevez" <dcaroest(a)redhat.com>
> To: "Omer Frenkel" <ofrenkel(a)redhat.com>
> Cc: "infra" <infra(a)ovirt.org>
> Sent: Wednesday, January 22, 2014 3:16:54 PM
> Subject: Re: fetching from gerrit is extremely slow
>
> Most common cause for this issue is TLV rehdat office out bandwidth. Are you
> tring to connect from TLV RedHat office?
>
yes :(
Not that I have any idea how RH TLV is setup, but I wonder if a local
mirror could be set up. It wouldn't solve the push speed, but at least
fetching could be sped up.
Personally I have the following in my ~/.gitconfig:
[url "git://gerrit.ovirt.org/"]
insteadOf = "ovirt:"
[url "ssh://USERNAME@gerrit.ovirt.org:29418/"]
pushInsteadOf = "ovirt:"
Then I clone my repos as:
git clone ovirt:vdsm -o gerrit
This results in the following:
$ git remote -v
gerrit
git://gerrit.ovirt.org/vdsm (fetch)
gerrit ssh://USERNAME@gerrit.ovirt.org:29418/vdsm (push)
RH TLV users could then change their fetch URL to the local mirror.
Given RH TLV should set this up, I'm mostly looking at Itamar to see if
this is an acceptable solution.