Skip to contentSkip to conversation

problem with git.kernel.org

DISCUSSION [email protected] 4 participants 5 messages Dec 15, 2008 – Dec 16, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines
Quoted 7 lines · [email protected] wrote:

IŽm trying to download a btrfs snapshot via http ( http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git;a=snapshot;h=HEAD
) to be able to try btrfs with current kernel, but i get no tar.gz but just see "Generating....." for a long time and then getting a timeout.

this seems to apply to all git repositories hosted on kernel.org.

For comparison, this one behaves as expected:
http://gitweb.opencompositing.org/?p=fusion/decorators/emerald;a=snapshot;h=HEAD

The kernel repo is more than 100 times as big as this emerald repo, 400 times as big perhaps.

yes, but http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git is a small repository, just containing the btrfs driver. even if kernel repo is 100 times bigger, i dont see the point why this should not work. if it puts too much load on the server and/or doesnt work anyway, then it`s better to disable that instead of letting stupid users like me waste their time with that ;)

Quoted 1 line

Try to download with git.

i did, but it didnt work either. im behind a http proxy. that`s why i chose the gitweb option.

Quoted 3 lines
Quoted 1 line

As there is no adress how to contact, can someone confirm and/or please forward this mail to the gitweb admin ?

www.kernel.org lists a contact address.

ok, i assume you mean ftpadmin and webmaster then....

regards
roland

____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123

#1 lore raw

[email protected] wrote:
[I wrote]

Quoted 5 lines
Quoted 2 lines

The kernel repo is more than 100 times as big as this emerald repo, 400 times as big perhaps.

yes, but http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git
is a small repository, just containing the btrfs driver.

Right, I missed that.

...

Quoted 3 lines
Quoted 1 line

Try to download with git.

i did, but it didnt work either. im behind a http proxy.

Right again,

$ git clone \
http://www.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
fails here after a few objects with
Cannot obtain needed blob ca442d313d86dc67e0a2e5d584b465bd382cbf5c
while processing commit 96dd95de14c77309abd2521d06c4825162b85e0a.
fatal: Fetch failed.

Chris, you should enable fetching over http by

$ cd /pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
$ cp -p hooks/post-update.sample hooks/post-update
Also run git-update-server-info unless you are pushing something soon
again anyway.

Cloning a full kernel repo over http may be too unreliable, but cloning a smaller repo like the btrfs standalone repo should work acceptably over http.

Signature · 3 lines
Stefan Richter
-=====-==--- ==-- -====
http://arcgraph.de/sr/
#2 lore raw
Quoted 3 lines · Stefan Richter

Chris, you should enable fetching over http by

$ cd /pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
$ cp -p hooks/post-update.sample hooks/post-update

I notice that the .git/hooks/post-update still calls it "git-update-server-info". Shouldn't that be "git update-server-info"?

[my git is 1.6.0.2, but even on a checked out though not compiled-and-installed 1.6.0.4 it is the same]

Quoted 3 lines

Cloning a full kernel repo over http may be too unreliable, but cloning a smaller repo like the btrfs standalone repo should work acceptably over http.

Maybe git bundle can help. Perhaps there can be some documented way of creating a HTTP-downloadable bundle from the current "master" in any web-accessible git to make things really easy for first time downloaders, maybe updated only once in a month or so. Anyone having trouble doing a clone would get this, fetch it in, set up remote/origin, and then do a normal pull...

#3 lore raw
Quoted 9 lines · Sitaram Chamarty
Quoted 3 lines · Stefan Richter

Chris, you should enable fetching over http by

$ cd /pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
$ cp -p hooks/post-update.sample hooks/post-update

I notice that the .git/hooks/post-update still calls it "git-update-server-info". Shouldn't that be "git update-server-info"?

Well, OK, it needs to be "git foo" in manual invocation. The .git/hooks/ may continue to call "git-foo" because they have the necessary directory in their $PATH.

Signature · 3 lines
Stefan Richter
-=====-==--- ==-- =----
http://arcgraph.de/sr/
#4 lore raw
In reply to Stefan Richter
Quoted 23 lines · Stefan Richter

[email protected] wrote:
[I wrote]

Quoted 5 lines
Quoted 2 lines

The kernel repo is more than 100 times as big as this emerald repo, 400 times as big perhaps.

yes, but http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git
is a small repository, just containing the btrfs driver.

Right, I missed that.

...

Quoted 3 lines
Quoted 1 line

Try to download with git.

i did, but it didnt work either. im behind a http proxy.

Right again,

$ git clone \
http://www.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
fails here after a few objects with
Cannot obtain needed blob ca442d313d86dc67e0a2e5d584b465bd382cbf5c
while processing commit 96dd95de14c77309abd2521d06c4825162b85e0a.
fatal: Fetch failed.
Quoted 6 lines

Chris, you should enable fetching over http by

$ cd /pub/scm/linux/kernel/git/mason/btrfs-unstable-standalone.git
$ cp -p hooks/post-update.sample hooks/post-update
Also run git-update-server-info unless you are pushing something soon
again anyway.

Thanks for the hint.

I fixed the missing commit, but in this case the stand alone tree is actually generated from the full kernel tree and has an alternates entry pointing to the full kernel tree. The end result was not at all good for http clones.

So I've redone the stand alone tree a bit and it is now a clone of the clone of the second child of the 3rd son of the original unstable tree. Hopefully it'll work better, at least http clones work for me now.

-chris