From: Sean <seanlkml@sympatico.ca>
To: "Ju, Seokmann" <Seokmann.Ju@lsil.com>
Cc: <git@vger.kernel.org>, "Patro, Sumant" <Sumant.Patro@engenio.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: HELP: GIT Cloning failed
Date: Tue, 22 Aug 2006 16:08:22 -0400 [thread overview]
Message-ID: <BAYC1-PASMTP03D3DD61899A6464D26765AE460@CEZ.ICE> (raw)
Message-ID: <20060822160822.b112421a.seanlkml@sympatico.ca> (raw)
In-Reply-To: <890BF3111FB9484E9526987D912B261932E35B@NAMAIL3.ad.lsil.com>
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
next prev parent reply other threads:[~2006-08-22 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 19:25 Ju, Seokmann
[not found] ` <20060822160822.b112421a.seanlkml@sympatico.ca>
2006-08-22 20:08 ` Sean [this message]
2006-08-22 21:08 ` Phillip Susi
2006-08-22 20:24 Ju, Seokmann
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=BAYC1-PASMTP03D3DD61899A6464D26765AE460@CEZ.ICE \
--to=seanlkml@sympatico.ca \
--cc=Seokmann.Ju@lsil.com \
--cc=Sumant.Patro@engenio.com \
--cc=git@vger.kernel.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®