git-repo/subcmds
Mike Frysinger fbab6065d4 forall: rewrite parallel logic
This fixes intermingling of parallel jobs and simplifies the code
by switching to subprocess.run.  This also provides stable output
in the order of projects by returning the output as a string that
the main loop outputs.

This drops support for interactive commands, but it's unclear if
anyone was relying on that, and the default behavior (-j2) made
that unreliable.  If it turns out someone still wants this, we can
look at readding it.

Change-Id: I7555b4e7a15aad336667292614f730fb7a90bd26
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/297482
Reviewed-by: Chris Mcdonald <cjmcdonald@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
2021-02-22 22:58:30 +00:00
..
__init__.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
abandon.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
branches.py status: improve parallel execution stability 2021-02-22 22:51:34 +00:00
checkout.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
cherry_pick.py git_command: rework stdin handling 2021-02-17 15:15:16 +00:00
diff.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
diffmanifests.py diffmanifests/sync: simplify repodir lookup 2021-02-11 02:38:53 +00:00
download.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
forall.py forall: rewrite parallel logic 2021-02-22 22:58:30 +00:00
gitc_delete.py drop pyversion & is_python3 checking 2021-01-06 18:53:58 +00:00
gitc_init.py use simpler super() magic 2021-02-19 20:06:20 +00:00
grep.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
help.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
info.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
init.py init: make --manifest-url flag optional 2021-02-18 20:38:47 +00:00
list.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
manifest.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
overview.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
prune.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
rebase.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
selfupdate.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
smartsync.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
stage.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
start.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
status.py status: improve parallel execution stability 2021-02-22 22:51:34 +00:00
sync.py command: unify --job option & default values 2021-02-22 22:51:07 +00:00
upload.py drop pyversion & is_python3 checking 2021-01-06 18:53:58 +00:00
version.py version: add remote tracking information 2021-01-08 20:41:27 +00:00