Skip to contentSkip to conversation

Git clone using http or rsync broken

U-Boot Guillaume Gardet 2 participants 3 messages Feb 20, 2015 – Feb 23, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

git clone using http or rsync protocols does not work whereas it is given here:
http://www.denx.de/wiki/view/DULG/UBootVersions

"git clone http://git.denx.de/u-boot.git" just hangs with:
Cloning into 'u-boot'...

And "git clone rsync://git.denx.de/u-boot.git" returns:
Cloning into 'u-boot'...
@ERROR: Unknown module 'u-boot.git'
rsync error: error starting client-server protocol (code 5) at main.c(1647) [Receiver=3.1.0]
fatal: Could not run rsync to get refs

Any idea what is wrong?

Guillaume

#1 lore raw

Hi!

Rsync isn't mentioned here: http://git.denx.de/u-boot.git/ , this fact makes me think that rsync support isn't present.

2.

Quoted 2 lines

"git clone http://git.denx.de/u-boot.git" just hangs with:
Cloning into 'u-boot'...

U-Boot repo is very large, so it takes a lot of time and traffic to clone it. Are you sure that git clone hangs? It you enable enough verbosity, you'll see that git is doing something:

$ git clone -vvvvvv http://git.denx.de/u-boot.git
Cloning into 'u-boot'...
Getting alternates list for http://git.denx.de/u-boot.git
Getting pack list for http://git.denx.de/u-boot.git
Getting index for pack 09e0accc51ea3a5c8d84fdf7fe7193bf7c7b51ff
...
You can also use some network activity monitor to see that git is
silently downloading a lot of information.

Btw, git:// protocol works fine, do you have any reasons to avoid using it?

#2 lore raw

Le 21/02/2015 13:19, Nable a ?crit :

Quoted 4 lines

Hi!

Rsync isn't mentioned here: http://git.denx.de/u-boot.git/ , this fact makes me think that rsync support isn't present.

Ok.

Quoted 7 lines

2.

Quoted 2 lines

"git clone http://git.denx.de/u-boot.git" just hangs with:
Cloning into 'u-boot'...

U-Boot repo is very large, so it takes a lot of time and traffic to clone it. Are you sure that git clone hangs? It you enable enough verbosity, you'll see that git is doing something:

Quoted 8 lines
$ git clone -vvvvvv http://git.denx.de/u-boot.git
Cloning into 'u-boot'...
Getting alternates list for http://git.denx.de/u-boot.git
Getting pack list for http://git.denx.de/u-boot.git
Getting index for pack 09e0accc51ea3a5c8d84fdf7fe7193bf7c7b51ff
...
You can also use some network activity monitor to see that git is
silently downloading a lot of information.

Testing again right now and it seems to work fine.

Quoted 3 lines

Btw, git:// protocol works fine, do you have any reasons to avoid using it?

Here, GIT protocol works fine but on some of my client networks, GIT is unreachable (probably due to proxy or firewall) and thus HTTP must be used instead.

Guillaume