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

Re: [PATCH 0/3] expose parallelism for submodule {update, clone}

From
Stefan Beller <sbeller@google.com>
Date
Oct 23, 2015, 19:33 UTC
Message-ID
<CAGZ79kYwtRwUoiy1=41tAWXXXcE_wxm4LT6uvmT+NJbo8WbQoQ@mail.gmail.com>
In-Reply-To
<xmqqvb9xo098.fsf@gitster.mtv.corp.google.com>
On Fri, Oct 23, 2015 at 12:25 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Stefan Beller <sbeller@google.com> writes:
>
>>   submodule update: Expose parallelism to the user
>>   clone: Allow an explicit argument for parallel submodule clones
>
> downcase Expose and Allow, perhaps?
Will do, thanks!
Show 7 quoted lines
>
>
>
> I was looking at the previous one and I am getting the feeling that
> everything up to "run-command: fix missing output from late callbacks"
> is ready for 'next'.  Am I being too optimistic and missing something
> that may make you want to do another reroll?

I would even argue for "submodule config: keep update strategy around" to be ready for next. ;) But as that is quite unrelated to the previous patches and only needed for the last patch, we can omit that safely too.

All the fixes up to "run-command: fix missing output from late callbacks" sound good to me for next.

I have run into a problem cloning big repositories though, but I haven't found the problem. So the whole parallel processing machine may need another bug fix later on.

Show 15 quoted lines
>
> 37bc721 submodule.c: write "Fetching submodule <foo>" to stderr
> 0904370 xread: poll on non blocking fds
> fd6ed7c xread_nonblock: add functionality to read from fds without blocking
> e7ba957 strbuf: add strbuf_read_once to read without blocking
> 8fc3f2e sigchain: add command to pop all common signals
> f57c806 run-command: add an asynchronous parallel child processor
> 4733d9e fetch_populated_submodules: use new parallel job processing
> dca8113 submodules: allow parallel fetching, add tests and documentation
> 79f3857 run-command: fix early shutdown
> 1c53754 run-command: clear leftover state from child_process structure
> 63ce47e run-command: initialize the shutdown flag
> c3a5d11 test-run-command: test for gracefully aborting
> 74cc04d test-run-command: increase test coverage
> 376d400 run-command: fix missing output from late callbacks
Previous: Junio C Hamano
Message 7 of 7 in “expose parallelism for submodule {update, clone}”
  1. 0/3 expose parallelism for submodule {update, clone}Stefan Beller, Oct 23, 2015
  2. 1/3 git submodule update: have a dedicated helper for cloningStefan Beller, Oct 23, 2015
  3. 2/3 submodule update: Expose parallelism to the userStefan Beller, Oct 23, 2015
  4. 3/3 clone: Allow an explicit argument for parallel submodule clonesStefan Beller, Oct 23, 2015
  5. Sebastian SchuberthOct 28, 2015
  6. Junio C HamanoOct 23, 2015
  7. Stefan BellerOct 23, 2015

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.