git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: takis@lumumba.uhasselt.be (Panagiotis Issaris)
To: git@vger.kernel.org
Subject: Problem cloning packed-and-pruned http repository
Date: Fri, 6 Oct 2006 23:26:16 +0200	[thread overview]
Message-ID: <20061006212616.GA5175@lumumba.uhasselt.be> (raw)

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

             reply	other threads:[~2006-10-06 21:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 21:26 Panagiotis Issaris [this message]
2006-10-06 22:05 ` Problem cloning packed-and-pruned http repository 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061006212616.GA5175@lumumba.uhasselt.be \
    --to=takis@lumumba.uhasselt.be \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).