Skip to contentSkip to conversation

Someone please turn on the http protocol on git.kernel.org!

DISCUSSION Mike Accetta 5 participants 7 messages Mar 2, 2007 – Mar 4, 2007 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · H. Peter Anvin
Quoted 8 lines · Timur Tabi

I see we now have a dedicate machine for the git server. That's great. How about turning on the http protocol so that those of use behind a firewall can clone trees?

I get this:

$ git-clone http://git.kernel.org/pub/scm/git.git
Initialized empty Git repository in /temp/git/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Don't use the git server for that, please. Use http://www.kernel.org/pub/scm/... instead.

Another unfortunate stuck behind a firewall here. When I try this it chugs along for a while seeming to work but eventually aborts:

% git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linus
...
walk 0964ce24d091a1d3dc7f667e1b107ab77d4325e6
walk c264852726dde251a0c09ec22f61a9be8b0db68b
walk 69903d6500c73af8329a5fba7153b0d50748981c
walk b59a9504cb93db7fae31e60760725d48652a1fc3
error: Couldn't get http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11 for tags/v2.6.11 The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull

Signature · 4 lines
Mike Accetta

ECI Telecom Ltd.
Data Networking Division (previously Laurel Networks)
#3 lore raw
Quoted 3 lines · Mike Accetta

error: Couldn't get http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11 for tags/v2.6.11 The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull

I just tried it and got the same error, so it looks like something is wrong on the server.

Isn't 2.6.11 around the time that Linus moved to git? Maybe the server can't find tag for the initial check-in of the code.

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale
#4 lore raw
Quoted 8 lines · Timur Tabi
Quoted 5 lines · Mike Accetta

error: Couldn't get
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11
for tags/v2.6.11
The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull

Quoted 5 lines

I just tried it and got the same error, so it looks like something is wrong on the server.

Isn't 2.6.11 around the time that Linus moved to git? Maybe the server can't find tag for the initial check-in of the code.

Aren't the older commits in another git tree? Like maybe

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/old-2.6-bkcvs.git

Steve.

#6 lore raw
In reply to Timur Tabi
Quoted 2 lines · Timur Tabi

Isn't 2.6.11 around the time that Linus moved to git? Maybe the server can't find tag for the initial check-in of the code.

v2.6.12-rc2, in fact. If you want to look at v2.6.11 in git you'll need to look at the bkcvs tree.

Signature · 1 line
The universe hates you, but don't worry - it's nothing personal.
#8 lore raw
In reply to Mike Accetta
Quoted 19 lines · Mike Accetta
Quoted 7 lines · H. Peter Anvin
Quoted 6 lines · Timur Tabi

I see we now have a dedicate machine for the git server. That's great. How about turning on the http protocol so that those of use behind a firewall can clone trees?

I get this:

Quoted 7 lines
Quoted 4 lines
$ git-clone http://git.kernel.org/pub/scm/git.git
Initialized empty Git repository in /temp/git/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Don't use the git server for that, please. Use
http://www.kernel.org/pub/scm/... instead.

Another unfortunate stuck behind a firewall here. When I try this it chugs along for a while seeming to work but eventually aborts:

Quoted 12 lines

% git clone
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linus
...
walk 0964ce24d091a1d3dc7f667e1b107ab77d4325e6
walk c264852726dde251a0c09ec22f61a9be8b0db68b
walk 69903d6500c73af8329a5fba7153b0d50748981c
walk b59a9504cb93db7fae31e60760725d48652a1fc3
error: Couldn't get
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/tags/v2.6.11
for tags/v2.6.11
The requested URL returned error: 404
error: Could not interpret tags/v2.6.11 as something to pull

I see these from time to time too, when pulling through http. Using the `other' www.kernel.org (try www1.kernel.org vs. www2.kernel.org) usually fixes the problem. I guess the mirroring is not perfect.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE) [email protected] ------- The Corporate Village, Da Vincilaan 7-D1 Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium