Skip to content

Commit

Permalink
Implement build cleaner service in intellij-ext
Browse files Browse the repository at this point in the history
It implements a `ExecuteTasks` method of the build cleaner service in intellij-ext

PiperOrigin-RevId: 580254703
  • Loading branch information
Googler authored and copybara-github committed Nov 22, 2023
1 parent 7f8fc01 commit b59ece0
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions ext/proto/build_cleaner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}

0 comments on commit b59ece0

Please sign in to comment.