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
Michael Savigny af69249965 Fix deletion of old build logs
The code rotating the old build logs expects to delete directories
(since it uses rmtree) but tries to delete all items returned by
os.listdir(...) which may includes symbolic links or regular files.

Change it to only consider the old build logs directories instead.

Based on crrev/5028323, with fix to unit test.

Fixed: b/310900283
Change-Id: I4c618e6618c0193331c063028ebf02d8c4e7baee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5038467
Auto-Submit: Michael Savigny <msavigny@google.com>
Reviewed-by: Ramy Medhat <abdelaal@google.com>
Commit-Queue: Michael Savigny <msavigny@google.com>
2 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 12 years ago
OWNERS [ChromiumOS] Add a launcher for Bazel 2 years ago
auth_test.py [auth] Be able to generate id_token 2 years ago
autoninja_test.py Execute Ninja / Siso directly from autoninja.py. 2 years ago
bazel_test.py tests: switch to 4 space indent 2 years ago
bot_update_coverage_test.py tests: switch to 4 space indent 2 years ago
cipd_bootstrap_test.py tests: switch to 4 space indent 2 years ago
detect_host_arch_test.py tests: switch to 4 space indent 2 years ago
download_from_google_storage_unittest.py Remove __future__ imports 2 years ago
fetch_test.py fetch: stop setting submodules config as we are not using it at all 2 years ago
fix_encoding_test.py Remove __future__ imports 2 years ago
gclient_cipd_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_eval_unittest.py Remove last py2 workarounds 2 years ago
gclient_git_mutates_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_git_smoketest.py Remove .git suffix from git submodules 2 years ago
gclient_no_sync_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_paths_test.py Cache values in gclient_paths.py 2 years ago
gclient_scm_test.py scm: Remove usage of distutil 2 years ago
gclient_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_smoketest_base.py tests: switch to 4 space indent 2 years ago
gclient_test.py Remove last py2 workarounds 2 years ago
gclient_transitions_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_utils_test.py tests: switch to 4 space indent 2 years ago
gerrit_client_test.py tests: switch to 4 space indent 2 years ago
gerrit_util_test.py tests: switch to 4 space indent 2 years ago
git_cache_test.py tests: switch to 4 space indent 2 years ago
git_cl_creds_check_report.txt Fix gerrit new-password URL 2 years ago
git_cl_test.py tests: Skip tests for old stacked changes flow 2 years ago
git_common_test.py Adjust fsmonitor alert for Mac 2 years ago
git_dates_test.py tests: switch to 4 space indent 2 years ago
git_find_releases_test.py tests: switch to 4 space indent 2 years ago
git_footers_test.py tests: switch to 4 space indent 2 years ago
git_hyper_blame_test.py tests: switch to 4 space indent 2 years ago
git_map_test.py tests: switch to 4 space indent 2 years ago
git_migrate_default_branch_test.py tests: switch to 4 space indent 2 years ago
git_number_test.py tests: switch to 4 space indent 2 years ago
git_rebase_update_test.py tests: switch to 4 space indent 2 years ago
gsutil_test.py [gsutil.py] Skip luci-auth wrapper on unsupported platforms 2 years ago
hooks_test.py Require prompt from users to confirm submodules commit. 2 years ago
lockfile_test.py tests: switch to 4 space indent 2 years ago
metrics_test.py tests: switch to 4 space indent 2 years ago
my_activity_test.py tests: switch to 4 space indent 2 years ago
ninja_reclient_test.py Fix deletion of old build logs 2 years ago
ninjalog_uploader_test.py tests: switch to 4 space indent 2 years ago
owners_client_test.py tests: switch to 4 space indent 2 years ago
owners_finder_test.py tests: switch to 4 space indent 2 years ago
presubmit_canned_checks_test.py [ssci] Modify metadata versioning info validation 2 years ago
presubmit_unittest.py [config] change to use luci-config v2 in presubmit 2 years ago
rdb_wrapper_test.py Remove __future__ imports 2 years ago
recipes_test.py tests: switch to 4 space indent 2 years ago
reclient_metrics_test.py tests: switch to 4 space indent 2 years ago
roll_dep_test.py tests: switch to 4 space indent 2 years ago
scm_unittest.py scm: Remove usage of distutil 2 years ago
split_cl_test.py tests: switch to 4 space indent 2 years ago
subcommand_test.py tests: switch to 4 space indent 2 years ago
subprocess2_test.py tests: switch to 4 space indent 2 years ago
upload_to_google_storage_unittest.py Remove last py2 workarounds 2 years ago
utils_test.py tests: switch to 4 space indent 2 years ago
watchlists_unittest.py tests: switch to 4 space indent 2 years ago