From 089c2911da8236f8e610bb25dc2b465b1323c920 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Thu, 19 Sep 2024 11:09:00 -0400 Subject: [PATCH] chore: Remove cvss.proto in containeranalysis from being excluded. (#3213) The protoc generated files for cvss.proto are outdated for containeranalysis, we are going to update them in https://github.com/googleapis/google-cloud-java/pull/11155. This cvss.proto was exclude before because the whole [v1beta1 version](https://github.com/googleapis/google-cloud-java/blob/main/java-containeranalysis/.OwlBot-hermetic.yaml#L30-L36) was not configured to be updated. Co-authored-by: Diego Marquez --- library_generation/generate_library.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/library_generation/generate_library.sh b/library_generation/generate_library.sh index c28b7f72a9..b8d22aca54 100755 --- a/library_generation/generate_library.sh +++ b/library_generation/generate_library.sh @@ -237,11 +237,6 @@ case "${proto_path}" in proto_files="${proto_files//${removed_proto}/}" done ;; - "google/devtools/containeranalysis/v1beta1"*) - # this proto is excluded from //google/devtools/containeranalysis/v1beta1:google-cloud-devtools-containeranalysis-v1beta1-java - removed_proto="google/devtools/containeranalysis/v1beta1/cvss/cvss.proto" - proto_files="${proto_files//${removed_proto}/}" - ;; esac "$protoc_path"/protoc "--java_out=${temp_destination_path}/java_proto.jar" ${proto_files} if [[ "${proto_only}" == "false" ]]; then @@ -261,9 +256,6 @@ case "${proto_path}" in proto_files="${proto_files} ${added_proto}" done ;; - "google/devtools/containeranalysis/v1beta1"*) - proto_files="${proto_files} google/devtools/containeranalysis/v1beta1/cvss/cvss.proto" - ;; esac # copy proto files to proto-*/src/main/proto for proto_src in ${proto_files}; do