getting git from kernel.org is failing
git clone https://git.kernel.org/cgit/git/git.git
Cloning into 'git'...
error: Unable to get pack index https://git.kernel.org/cgit/git/git.git/objects/pack/pack-1e2bca8b5127039cff42b1cd3d47767fb577cd4f.idx
error: Unable to get pack file https://git.kernel.org/cgit/git/git.git/objects/pack/pack-6bfd3af75af71d7bf66a80d6374ac09245ad3ce5.pack
The requested URL returned error: 404 Not found
error: Unable to find bce6db96a333c2d47b07580c5a9207cf10935378 under https://git.kernel.org/cgit/git/git.git
Cannot obtain needed blob bce6db96a333c2d47b07580c5a9207cf10935378
while processing commit 5addd1c7531cc644787cd562a3c22a3b714c7d77.
error: Fetch failed.
as reported by ivegy on freenode/#git-devel
Stefan
Quoted 10 lines · Stefan Beller
git clone https://git.kernel.org/cgit/git/git.git
Cloning into 'git'...
error: Unable to get pack index https://git.kernel.org/cgit/git/git.git/objects/pack/pack-1e2bca8b5127039cff42b1cd3d47767fb577cd4f.idx
error: Unable to get pack file https://git.kernel.org/cgit/git/git.git/objects/pack/pack-6bfd3af75af71d7bf66a80d6374ac09245ad3ce5.pack
The requested URL returned error: 404 Not found
error: Unable to findbce6db96a333c2d47b07580c5a9207cf10935378under https://git.kernel.org/cgit/git/git.git
Cannot obtain needed blobbce6db96a333c2d47b07580c5a9207cf10935378
while processing commit5addd1c7531cc644787cd562a3c22a3b714c7d77.
error: Fetch failed.
Quoted 4 lines
as reported by ivegy on freenode/#git-devel
Stefan
Confirmed (tested both with and without trailing /, IIRC there was some configuration change recently that effect that):
iveqy@kolya:~/slask/git$ git clone https://git.kernel.org/cgit/git/git.git/ Klonar till "git"... error: Unable to get pack index https://git.kernel.org/cgit/git/git.git/objects/pack/pack-1e2bca8b5127039cff42b1cd3d47767fb577cd4f.idx ^C iveqy@kolya:~/slask/git$ git clone https://git.kernel.org/cgit/git/git.git Klonar till "git"... error: Unable to get pack index https://git.kernel.org/cgit/git/git.git/objects/pack/pack-1e2bca8b5127039cff42b1cd3d47767fb577cd4f.idx error: Unable to find d6b65e204c6009e5c30f358810198319b70eda25 under https://git.kernel.org/cgit/git/git.git Cannot obtain needed blob d6b65e204c6009e5c30f358810198319b70eda25 while processing commit 5addd1c7531cc644787cd562a3c22a3b714c7d77. error: Fetch failed. fatal: Reading from helper 'git-remote-https' failed iveqy@kolya:~/slask/git$
Signature · 5 lines
Med vänliga hälsningar Fredrik Gustafsson tel: 0733-608274 e-post: [email protected]
Quoted 7 lines · Fredrik Gustafsson
Confirmed (tested both with and without trailing /, IIRC there was some configuration change recently that effect that):
iveqy@kolya:~/slask/git$ git clone https://git.kernel.org/cgit/git/git.git/ Klonar till "git"... error: Unable to get pack index https://git.kernel.org/cgit/git/git.git/objects/pack/pack-1e2bca8b5127039cff42b1cd3d47767fb577cd4f.idx
That's weird. We shouldn't be fetching an index at all unless dumb http is in use. When I try to clone from the URL above, I also get shunted to dumb-http (and the repo on the server appears to be poorly packed).
But if I go to:
https://git.kernel.org/pub/scm/git/git.git
then smart HTTP works fine. I wonder if there is a problem in the cgit setup on kernel.org (or if it was even intended that you could fetch from the cgit URL at all; the cgit page shows the clone URLs in /pub/scm/git).
-Peff
Quoted 4 lines · Jeff King
then smart HTTP works fine. I wonder if there is a problem in the cgit setup on kernel.org (or if it was even intended that you could fetch from the cgit URL at all; the cgit page shows the clone URLs in /pub/scm/git).
I didn't think cgit URLs were meant to be clonable, but since ls-remote works on them, it seems I thought wrong. :) Odd.
Thanks,
Jonathan
Quoted 9 lines · Jonathan Nieder
Quoted 4 lines · Jeff King
then smart HTTP works fine. I wonder if there is a problem in the cgit setup on kernel.org (or if it was even intended that you could fetch from the cgit URL at all; the cgit page shows the clone URLs in /pub/scm/git).
I didn't think cgit URLs were meant to be clonable, but since ls-remote works on them, it seems I thought wrong. :) Odd.
CGit has a config option "enable-http-clone" which causes it to act as an endpoint for the dumb HTTP protocol. That option defaults to "on", so I suspect that kernel.org has just left it at the default.