You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
Ben Segall 87fa610fe0 Use an md5 hash of the tmpdir for the autoninja reclient pipe on windows
This is required because colons trigger an reproxy bug with named pipes
currently and backslashes are technically invalid for named pipes
https://learn.microsoft.com/en-us/windows/win32/ipc/pipe-names

I considered replacing invalid characters with underscores but that may
just push the problem down the road as it may create overlap between a
directory with underscores and a directory with an invalid charachter
that we replace.

Since windows doesn't treat pipes as files, like linux treats sockets
this naming is arbitrary, it only needs to be consistent and unique
for a given output directory. So md5 is a good solution.

Bug: b/271310759
Change-Id: I45409d7e9dc4cc1d0f056a3de8241ac877e682e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4300857
Commit-Queue: Ben Segall <bentekkie@google.com>
Auto-Submit: Ben Segall <bentekkie@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
2 years ago
..
gstools
OWNERS Create reclient specific ninja wrapper to properly handle reproxy lifecyle 2 years ago
PRESUBMIT.py Only run selected tests on py2 3 years ago
auth_test.py
autoninja_test.py Create reclient specific ninja wrapper to properly handle reproxy lifecyle 2 years ago
bot_update_coverage_test.py [no-sync] bot_update: Remove previous no-sync exp changes and implement new one. 3 years ago
cipd_bootstrap_test.py
detect_host_arch_test.py Use x64 emulation for Windows on Arm targets 2 years ago
download_from_google_storage_unittest.py Skip 'ls' when downloading from gs. 3 years ago
fetch_test.py fetch: make --no-history and --no-hooks switches consistent 3 years ago
fix_encoding_test.py
gclient_cipd_smoketest.py Override cipd install mode for runhooks 3 years ago
gclient_eval_unittest.py
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py gclient: Create graphviz file in flatten command. 2 years ago
gclient_no_sync_smoketest.py [no-sync] Save previous values to files. 3 years ago
gclient_paths_test.py
gclient_scm_test.py Revert "Move scm.py to lib/" 2 years ago
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py [no-sync] Save previous values to files. 3 years ago
gclient_transitions_smoketest.py Revert "Move scm.py to lib/" 2 years ago
gclient_utils_test.py Reduce retries in gclient_utils 3 years ago
gerrit_client_test.py
gerrit_util_test.py Fix gerrit new-password URL 2 years ago
git_cache_test.py
git_cl_creds_check_report.txt Fix gerrit new-password URL 2 years ago
git_cl_test.py Revert "Move scm.py to lib/" 2 years ago
git_common_test.py
git_dates_test.py
git_find_releases_test.py
git_footers_test.py
git_hyper_blame_test.py
git_map_test.py
git_migrate_default_branch_test.py
git_number_test.py
git_rebase_update_test.py Remove 'Fetching' check in testTrackTag 3 years ago
gsutil_test.py
lockfile_test.py
metrics_test.py [portability] Support unknown operating systems in gclient. 2 years ago
my_activity_test.py
ninja_reclient_test.py Use an md5 hash of the tmpdir for the autoninja reclient pipe on windows 2 years ago
ninjalog_uploader_test.py Fix ninjalog_uploader.py to exclude /path/to/depot_tools/ninja.py 2 years ago
owners_client_test.py Reland "Remove old DepotToolsOwners implementation" 3 years ago
owners_finder_test.py
presubmit_canned_checks_test.py Move presubmit_canned_checks tests under tests/ and fix 3 years ago
presubmit_unittest.py Revert "Move scm.py to lib/" 2 years ago
rdb_wrapper_test.py Add snippets to presubmit failures in resultdb 3 years ago
recipes_test.py
roll_dep_test.py roll_dep: support multiple -r/--reviewer arguments 3 years ago
scm_unittest.py Revert "Move scm.py to lib/" 2 years ago
split_cl_test.py
subcommand_test.py Use empty argument list in cmdhelp 3 years ago
subprocess2_test.py
upload_to_google_storage_unittest.py
utils_test.py Extract searching relevat files in utils function 2 years ago
watchlists_unittest.py