kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

Git recursive module clone: Server does not allow request for unadvertised object #1274

Closed twobombs closed 5 years ago

twobombs commented 5 years ago

Pulling all the submodules in the kimchi project gives an error at the gingerbase submodule clone.

Screenshot 2019-07-09 at 11 30 56

Something with rights, no ?

twobombs commented 5 years ago

I see that the kimchi module pull comes up with a similar error

Screenshot 2019-07-09 at 12 16 25

alinefm commented 5 years ago

Thank you for reporting it @twobombs

I've just pushed a fix for that (commit 8586ca) and it is working now for me:

alinefm@alinefm-UX430UAR:~/test-clone$ ls -lha
total 8.0K
drwxr-xr-x  2 alinefm alinefm 4.0K Jul 10 14:29 .
drwxr-xr-x 73 alinefm alinefm 4.0K Jul 10 14:26 ..

alinefm@alinefm-UX430UAR:~/test-clone$ git clone --recursive git@github.com:kimchi-project/wok.git
Cloning into 'wok'...
remote: Enumerating objects: 146, done.
remote: Counting objects: 100% (146/146), done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 23548 (delta 55), reused 101 (delta 41), pack-reused 23402
Receiving objects: 100% (23548/23548), 12.90 MiB | 23.67 MiB/s, done.
Resolving deltas: 100% (17652/17652), done.
Submodule 'src/wok/plugins/ginger' (https://github.com/kimchi-project/ginger.git) registered for path 'src/wok/plugins/ginger'
Submodule 'src/wok/plugins/gingerbase' (https://github.com/kimchi-project/gingerbase) registered for path 'src/wok/plugins/gingerbase'
Submodule 'src/wok/plugins/kimchi' (https://github.com/kimchi-project/kimchi.git) registered for path 'src/wok/plugins/kimchi'
Cloning into '/home/alinefm/test-clone/wok/src/wok/plugins/ginger'...
remote: Enumerating objects: 7372, done.        
remote: Total 7372 (delta 0), reused 0 (delta 0), pack-reused 7372        
Receiving objects: 100% (7372/7372), 9.36 MiB | 21.99 MiB/s, done.
Resolving deltas: 100% (5348/5348), done.
Cloning into '/home/alinefm/test-clone/wok/src/wok/plugins/gingerbase'...
remote: Enumerating objects: 21296, done.        
remote: Total 21296 (delta 0), reused 0 (delta 0), pack-reused 21296        
Receiving objects: 100% (21296/21296), 17.84 MiB | 16.01 MiB/s, done.
Resolving deltas: 100% (15659/15659), done.
Cloning into '/home/alinefm/test-clone/wok/src/wok/plugins/kimchi'...
remote: Enumerating objects: 55, done.        
remote: Counting objects: 100% (55/55), done.        
remote: Compressing objects: 100% (47/47), done.        
remote: Total 26091 (delta 14), reused 20 (delta 6), pack-reused 26036        
Receiving objects: 100% (26091/26091), 87.91 MiB | 5.72 MiB/s, done.
Resolving deltas: 100% (18842/18842), done.
Submodule path 'src/wok/plugins/ginger': checked out '8121ef5b8489c253a8ceec04a0751b26af0d3fbb'
Submodule path 'src/wok/plugins/gingerbase': checked out 'd1c0b7b9a36a3e071e62d812b8bd1d7c21d199f4'
Submodule path 'src/wok/plugins/kimchi': checked out '4f848586df3063cba3d7a0a4d8350590ee59e9ad'