git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: HELP: GIT Cloning failed

From
JSJu, Seokmann <seokmann.ju@lsil.com>
Date
Aug 22, 2006, 20:24 UTC
Message-ID
<890BF3111FB9484E9526987D912B261932E35C@NAMAIL3.ad.lsil.com>

Hi, On Tuesday, August 22, 2006 4:08 PM, Sean wrote:

> It looks like the jejb scsi-misc archive might not have been
> configured properly for http transfers.  There's a script below
> which just uses git commands (not cogito) and the native git
> protocol which tests out okay here.

I will try with the script and rest of your comments as well. Thank you for your guidence.

Regards,
Seokmann
Show 58 quoted lines
> -----Original Message-----
> From: Sean [mailto:seanlkml@sympatico.ca] 
> Sent: Tuesday, August 22, 2006 4:08 PM
> To: Ju, Seokmann
> Cc: git@vger.kernel.org; Patro, Sumant; linux-kernel@vger.kernel.org
> Subject: Re: HELP: GIT Cloning failed
> 
> On Tue, 22 Aug 2006 13:25:23 -0600
> "Ju, Seokmann" <Seokmann.Ju@lsil.com> wrote:
> 
> Ju,
> 
> > Above script worked without any problem when I started 
> several months
> > ago and I'm not sure when did it stop working.
> > I'm using _cron_ utility on my Linux box for scheduled 
> execution of the
> > script.
> > 
> > Any comment would be appreciated.
> 
> It looks like the jejb scsi-misc archive might not have been
> configured properly for http transfers.  There's a script below
> which just uses git commands (not cogito) and the native git
> protocol which tests out okay here.
> 
> A few comments though:
> 
>  - Apparently the scsi misc tree you want is actually under "jejb"
>    rather than "marcelo" which you had in your script.
> 
>  - It's better to use the native git protocol when possible
>    (well, the benefits are less on initial clone, but it's still
>    a good practice)
> 
>  - You're causing a lot of unnecessary traffic for kernel.org by
>    cloning a fresh copy of all these trees, it would be much better
>    to clone just _once_ and then simply "git pull" in any updates.
> 
>  - Two of the trees you're cloning are very close in content to
>    each other (linux-2.6 & scsi-misc-2.6) so you can use the git
>    "--reference" option to share local objects saving disk space
>    (and reducing bandwidth needs even further)
> 
> Cheers,
> Sean
> 
> #!/bin/sh
> cd /home/git/kernels/2.4 || exit
> BASE="git://www.kernel.org/pub/scm/linux/kernel/git"
> rm -rf linux-2.4 linux-2.6 scsi-misc-2.6
> git clone $BASE/marcelo/linux-2.4
> git clone $BASE/torvalds/linux-2.6
> git clone --reference linux-2.6 $BASE/jejb/scsi-misc-2.6
> 
> 
> 
> 
Message 1 of 1 in “RE: HELP: GIT Cloning failed”
  1. Ju, SeokmannAug 22, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.