git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Lehmann <Jens.Lehmann@web.de>
To: Chris Kees <cekees@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: --progress for git submodule update?
Date: Thu, 15 Mar 2012 23:34:31 +0100	[thread overview]
Message-ID: <4F626E77.1050309@web.de> (raw)
In-Reply-To: <CAOVFbFj4nF1GmqdDSmb4z_JXXTxsNktRGaaReF8=msbOwaRt=g@mail.gmail.com>

Am 15.03.2012 04:43, schrieb Chris Kees:
> Yes, I meant when they have to be cloned initially. It was actually
> the builtbot developers who asked me to post a request because the
> lack of output is used to trigger the timeout and the output is
> conveniently stored and posted to the web so you can see what is
> happening on a given platform. Here is the snippet from the log of a
> machine failing because the python submodule of the project is taking
> too long--clearly a slow network issue since python generally
> shouldn't take more than 20 minutes to clone:
[snip]
> '467ba035ba72acd7df28c648b1a52ecadebe4935'
> Cloning into externalPackages/python...
> 
> command timed out: 1200 seconds without output, attempting to kill
> process killed by signal 9
> program finished with exit code -1
> elapsedTime=2641.623387

Ok. Another option you have is to avoid the long clone times. Clone
the external repo locally (but outside your build environment) and
instead of cloning the whole repo each time over the net just do a
fetch into the local copy (to get the latest updates over the slow
network). Then clone from there into your build environment (after
the buildbot edited the submodule url entry in .git/config to point
to the local copy). That should work substantially faster.

      reply	other threads:[~2012-03-15 22:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-10  7:17 --progress for git submodule update? Chris Kees
2012-03-11 20:50 ` Jens Lehmann
2012-03-13  2:17   ` Chris Kees
2012-03-14 19:42     ` Jens Lehmann
2012-03-14 21:45       ` Junio C Hamano
2012-03-15  3:43         ` Chris Kees
2012-03-15 22:34           ` Jens Lehmann [this message]

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=4F626E77.1050309@web.de \
    --to=jens.lehmann@web.de \
    --cc=cekees@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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).