From b59ece06ad3c64374e8bf99e6f01c45c8b845f15 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 7 Nov 2023 11:55:48 -0800 Subject: [PATCH] Implement build cleaner service in intellij-ext It implements a `ExecuteTasks` method of the build cleaner service in intellij-ext PiperOrigin-RevId: 580254703 --- ext/proto/build_cleaner.proto | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/ext/proto/build_cleaner.proto b/ext/proto/build_cleaner.proto index 66fce5438cc..3f7b19dd814 100644 --- a/ext/proto/build_cleaner.proto +++ b/ext/proto/build_cleaner.proto @@ -29,21 +29,11 @@ service BuildCleanerService { message ExecuteTasksRequest { CitcClientSpec citc_client_spec = 1; - PackageSpec package_spec = 2; - - ChangeSpec change_spec = 3; - - ExecutionMode execution_mode = 4; + ChangeSpec change_spec = 2; } message CitcClientSpec { string workspace_id = 1; - - int64 snapshot_version = 2; -} - -message PackageSpec { - string cl_number = 1; } message ChangeSpec { @@ -59,15 +49,3 @@ message BuildozerCommand { repeated string buildozer_commands = 2; } - -enum ExecutionMode { - EXECUTION_MODE_UNKNOWN = 0; // Illegal value. - - // Return only the buildozer commands which would have been executed - // to make the changes. - EXECUTION_MODE_RETURN_COMMANDS = 1; - - // Return the contents of modified BUILD file AND the underlying buildozer - // commands. - EXECUTION_MODE_RETURN_MODIFIED_BUILD_FILE = 2; -}