diff options
author | George Burgess IV <gbiv@google.com> | 2024-04-03 09:44:12 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-04-08 15:01:42 +0000 |
commit | 0fc9b4d6e3b1d3817ba8ed5213a66800b89ad2c9 (patch) | |
tree | 95efdb4d2994e30f9123f415ba49264063f0f7b9 /llvm_tools/patch_manager.py | |
parent | f710649ffb8b4fd514cc990169e875db8424f22c (diff) | |
download | toolchain-utils-0fc9b4d6e3b1d3817ba8ed5213a66800b89ad2c9.tar.gz |
llvm_tools: remove REMOVE_PATCHES failure mode
This failure mode seems completely unused, and the concept of removing
all patches before a certain rev (but only if any patches fail) is kind
of odd. Instead, we should just have a cronjob that ensures this is done
regularly.
BUG=b:332589934
TEST=repo upload
Change-Id: Idc25ad61031f70ceb717b8a35219b521a820b6c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5420772
Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com>
Tested-by: George Burgess <gbiv@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'llvm_tools/patch_manager.py')
-rwxr-xr-x | llvm_tools/patch_manager.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm_tools/patch_manager.py b/llvm_tools/patch_manager.py index 33272286..bee4c964 100755 --- a/llvm_tools/patch_manager.py +++ b/llvm_tools/patch_manager.py @@ -285,11 +285,6 @@ def main(sys_argv: List[str]): ) PrintPatchResults(result) - def _remove(args): - patch_utils.remove_old_patches( - args.svn_version, llvm_src_dir, patches_json_fp - ) - def _disable(args): patch_cmd = patch_utils.git_am if args.git_am else patch_utils.gnu_patch patch_utils.update_version_ranges( @@ -317,7 +312,6 @@ def main(sys_argv: List[str]): dispatch_table = { failure_modes.FailureModes.FAIL: _apply_all, failure_modes.FailureModes.CONTINUE: _apply_all, - failure_modes.FailureModes.REMOVE_PATCHES: _remove, failure_modes.FailureModes.DISABLE_PATCHES: _disable, failure_modes.FailureModes.BISECT_PATCHES: _test_single, } |