git-clone error with mobin.org/repos while using rsync server

Bug #242796 reported by Dennis.Yxun
2
Affects Status Importance Assigned to Milestone
Moblin (other)
Fix Committed
Undecided
Dennis.Yxun

Bug Description

i've been trying so hard to clone down the moblin git tree (kernel-mid-2.6.24, and others)
but with no luck, the clone process was always been interrupted.
I was first use http method, this was easily fail due to my poor network.
So, i switch to sync protocol, still the same.

here is my command and error output:

git clone rsync://moblin.org/repos/projects/ume-config-common.git

fd/39afd92a8362dfabeb4812d0c4683007c6a169
pack/pack-c743908a139b0ac8c1269f07bf5c090cfb384e93.idx
pack/pack-c743908a139b0ac8c1269f07bf5c090cfb384e93.pack

sent 3962 bytes received 91046 bytes 21112.89 bytes/sec
total size is 70431 speedup is 0.74
rsync: link_stat "projects/ume-config-common.git/packed-refs" (in repos) failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(1538) [receiver=3.0.0pre10]
fatal: Could not run rsync to get refs

git clone rsync://moblin.org/repos/projects/kernel-mid-2.6.24.git

pack/pack-7b5b94d42b82101501b8ef8310500e5e28c43102.idx
pack/pack-7b5b94d42b82101501b8ef8310500e5e28c43102.pack
pack/pack-82921bbfef2596e0b4bace37c11441db7f5260b6.idx
pack/pack-82921bbfef2596e0b4bace37c11441db7f5260b6.pack

sent 270762 bytes received 146558668 bytes 12403.75 bytes/sec
total size is 145284797 speedup is 0.99
rsync: link_stat "projects/kernel-mid-2.6.24.git/packed-refs" (in repos) failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(1538) [receiver=3.0.0pre10]
fatal: Could not run rsync to get refs

Revision history for this message
Dennis.Yxun (dennis-yxun) wrote :

since git use rsync as backend,
and it's safe to ignore the packed-refs
so the quick fix would be as below:

rsync -av --ignore-existing --exclude info --exclude packed-refs \
  rsync://moblin.org/repos/projects/kernel-mid-2.6.24.git kernel-mid-2.6.24/.git

Revision history for this message
Dennis.Yxun (dennis-yxun) wrote :

i may close the bug, it's not due to moblin, but the git is not smart enough

Changed in moblin-other:
assignee: nobody → dennis-yxun
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.