git-repo/subcmds
Mike Frysinger 339f2df1dd ssh: rewrite proxy management for multiprocessing usage
We changed sync to use multiprocessing for parallel work.  This broke
the ssh proxy code as it's all based on threads.  Rewrite the logic to
be multiprocessing safe.

Now instead of the module acting as a stateful object, callers have to
instantiate a new ProxyManager class that holds all the state, an pass
that down to any users.

Bug: https://crbug.com/gerrit/12389
Change-Id: I4b1af116f7306b91e825d3c56fb4274c9b033562
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/305486
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Chris Mcdonald <cjmcdonald@google.com>
2021-05-10 21:16:06 +00:00
..
__init__.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
abandon.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
branches.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
checkout.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
cherry_pick.py command: make --verbose/--quiet available to all subcommands 2021-04-13 22:25:17 +00:00
diff.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
diffmanifests.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
download.py download: handle shared projects a bit better 2021-03-01 15:57:17 +00:00
forall.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
gitc_delete.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
gitc_init.py init: merge subcmd & wrapper parsers 2021-04-09 01:04:32 +00:00
grep.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
help.py help/version: sprinkle bug report URL around 2021-04-26 21:43:43 +00:00
info.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
init.py command: make --verbose/--quiet available to all subcommands 2021-04-13 22:25:17 +00:00
list.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
manifest.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
overview.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
prune.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
rebase.py subcmds: force consistent help text format 2021-05-04 16:40:53 +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 command: make --verbose/--quiet available to all subcommands 2021-04-13 22:25:17 +00:00
start.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
status.py command: add a helper for the parallel execution boilerplate 2021-04-15 05:10:16 +00:00
sync.py ssh: rewrite proxy management for multiprocessing usage 2021-05-10 21:16:06 +00:00
upload.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
version.py help/version: sprinkle bug report URL around 2021-04-26 21:43:43 +00:00