git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem cloning packed-and-pruned http repository
@ 2006-10-06 21:26 Panagiotis Issaris
  2006-10-06 22:05 ` Panagiotis Issaris
  0 siblings, 1 reply; 19+ messages in thread
From: Panagiotis Issaris @ 2006-10-06 21:26 UTC (permalink / raw)
  To: git

Hi

I've been having trouble setting up a public repository using GIT. After
I have pushed my repository to a directory within ~/public_html, I can
clone it. But the repository is _big_ (261M).

So, I use "git-repack" on it and a "git-prune-packed". This makes it
nicely fit in 14MiB. If I try to clone this pruned/packed repository
again both cg-clone hangs on it (as does git-clone).

Here's two outputs demonstrating this. One repository was a "cp -lr"
clone [1] of the other, and one was packed/pruned, the other wasn't:
takis@poseidon:/tmp$ cg-clone http://lumumba.uhasselt.be/takis/git/ffmpeg-h264.git
defaulting to local storage area
Fetching head...
Fetching objects...
progress: 38 objects, 159434 bytes
cg-clone: interrupted
takis@poseidon:/tmp$ cg-clone http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git
defaulting to local storage area
Fetching head...
Fetching objects...
Getting alternates list for http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git/
Getting pack list for http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git/
progress: 0 objects, 0 bytes
cg-clone: interrupted

So, I tried tracing it, to see what was going on:
takis@poseidon:/tmp/a$ ps x|grep git
18386 pts/9    S+     0:00 /bin/sh /home/takis/bin/git-clone http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git
18400 pts/9    S+     0:00 git-http-fetch -v -a -w heads/master heads/master http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git/
18416 pts/10   S+     0:00 grep git

takis@poseidon:/tmp/a$ strace -f -p 18400
Process 18400 attached - interrupt to quit
select(0, [], [], [], {0, 48000})       = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0)     = 0
gettimeofday({1160169868, 454932}, NULL) = 0
gettimeofday({1160169868, 454989}, NULL) = 0
select(0, [], [], [], {0, 50000})       = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0)     = 0
gettimeofday({1160169868, 506226}, NULL) = 0
gettimeofday({1160169868, 506277}, NULL) = 0
select(0, [], [], [], {0, 50000})       = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0)     = 0
gettimeofday({1160169868, 558245}, NULL) = 0
gettimeofday({1160169868, 558296}, NULL) = 0
select(0, [], [], [], {0, 50000})       = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0)     = 0
gettimeofday({1160169868, 610227}, NULL) = 0
gettimeofday({1160169868, 610277}, NULL) = 0
select(0, [], [], [], {0, 50000})       = 0 (Timeout)
...

And this keeps going on... so I can't see any data getting in :-(

Any hints what I might be doing wrong?

Thanks in advance for any replies! :)

With friendly regards,
Takis

[1] I am aware of "git-clone -l -s" but wanted to make fully
independent copy and wasn't sure about any links between them if only
using "-l".
-- 
OpenPGP key: http://lumumba.uhasselt.be/takis/takis_public_key.txt
fingerprint: 6571 13A3 33D9 3726 F728  AA98 F643 B12E ECF3 E029

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

end of thread, other threads:[~2006-10-11 14:00 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 21:26 Problem cloning packed-and-pruned http repository Panagiotis Issaris
2006-10-06 22:05 ` Panagiotis Issaris
     [not found]   ` <20061006194930.cf400ec4.seanlkml@sympatico.ca>
2006-10-06 23:49     ` Sean
     [not found]       ` <20061006220401.a4485d67.seanlkml@sympatico.ca>
2006-10-07  2:04         ` [RFC PATCH] Add WEBDAV timeout to http-fetch Sean
2006-10-07 10:15           ` Junio C Hamano
2006-10-07 11:27             ` Jakub Narebski
2006-10-07 17:32               ` Johannes Schindelin
2006-10-07 17:45                 ` Petr Baudis
2006-10-07 22:30                 ` Petr Baudis
2006-10-07 22:36                   ` Johannes Schindelin
2006-10-08  4:52                     ` Junio C Hamano
2006-10-08 12:03                       ` Johannes Schindelin
     [not found]                       ` <20061008091932.4d8e62d9.seanlkml@sympatico.ca>
2006-10-08 13:19                         ` Sean
2006-10-08 19:56                           ` Junio C Hamano
2006-10-11 12:13                             ` Panagiotis Issaris
2006-10-11 14:00                               ` Johannes Schindelin
2006-10-07 19:35             ` Panagiotis Issaris
2006-10-07 22:24               ` Junio C Hamano
2006-10-07  8:30         ` Panagiotis Issaris

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).