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

Re: --progress for git submodule update?

From
Jens Lehmann <jens.lehmann@web.de>
Date
Mar 15, 2012, 22:34 UTC
Message-ID
<4F626E77.1050309@web.de>
In-Reply-To
<CAOVFbFj4nF1GmqdDSmb4z_JXXTxsNktRGaaReF8=msbOwaRt=g@mail.gmail.com>
Am 15.03.2012 04:43, schrieb Chris Kees:
Show 8 quoted lines
> 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]
Show 7 quoted lines
> '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.

Previous: Chris Kees
Message 7 of 7 in “--progress for git submodule update?”
  1. Chris KeesMar 10, 2012
  2. Jens LehmannMar 11, 2012
  3. Chris KeesMar 13, 2012
  4. Jens LehmannMar 14, 2012
  5. Junio C HamanoMar 14, 2012
  6. Chris KeesMar 15, 2012
  7. Jens LehmannMar 15, 2012

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.