git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* getting git from kernel.org is failing
@ 2013-07-23 19:41 Stefan Beller
  2013-07-23 20:06 ` Fredrik Gustafsson
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Beller @ 2013-07-23 19:41 UTC (permalink / raw)
  To: GIT Mailing-list

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: getting git from kernel.org is failing
  2013-07-23 19:41 getting git from kernel.org is failing Stefan Beller
@ 2013-07-23 20:06 ` Fredrik Gustafsson
  2013-07-23 20:21   ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Fredrik Gustafsson @ 2013-07-23 20:06 UTC (permalink / raw)
  To: Stefan Beller; +Cc: GIT Mailing-list

On Tue, Jul 23, 2013 at 09:41:44PM +0200, Stefan Beller wrote:
> 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
> 

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$ 


-- 
Med vänliga hälsningar
Fredrik Gustafsson

tel: 0733-608274
e-post: iveqy@iveqy.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: getting git from kernel.org is failing
  2013-07-23 20:06 ` Fredrik Gustafsson
@ 2013-07-23 20:21   ` Jeff King
  2013-07-23 20:40     ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff King @ 2013-07-23 20:21 UTC (permalink / raw)
  To: Fredrik Gustafsson; +Cc: Stefan Beller, GIT Mailing-list

On Tue, Jul 23, 2013 at 10:06:05PM +0200, Fredrik Gustafsson wrote:

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: getting git from kernel.org is failing
  2013-07-23 20:21   ` Jeff King
@ 2013-07-23 20:40     ` Jonathan Nieder
  2013-07-23 21:06       ` John Keeping
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2013-07-23 20:40 UTC (permalink / raw)
  To: Jeff King; +Cc: Fredrik Gustafsson, Stefan Beller, GIT Mailing-list

Jeff King wrote:

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: getting git from kernel.org is failing
  2013-07-23 20:40     ` Jonathan Nieder
@ 2013-07-23 21:06       ` John Keeping
  0 siblings, 0 replies; 5+ messages in thread
From: John Keeping @ 2013-07-23 21:06 UTC (permalink / raw)
  To: Jonathan Nieder
  Cc: Jeff King, Fredrik Gustafsson, Stefan Beller, GIT Mailing-list

On Tue, Jul 23, 2013 at 01:40:05PM -0700, Jonathan Nieder wrote:
> Jeff King wrote:
> 
> > 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-23 21:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 19:41 getting git from kernel.org is failing Stefan Beller
2013-07-23 20:06 ` Fredrik Gustafsson
2013-07-23 20:21   ` Jeff King
2013-07-23 20:40     ` Jonathan Nieder
2013-07-23 21:06       ` John Keeping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).