Skip to content

Commit

Permalink
update protobuf
Browse files Browse the repository at this point in the history
Signed-off-by: Durga Sarat Chandra Maddu <dmaddu@progress.com>
  • Loading branch information
Dmaddu committed Jan 8, 2025
1 parent fbba7af commit 2c030ba
Show file tree
Hide file tree
Showing 250 changed files with 19,801 additions and 48,160 deletions.
277 changes: 264 additions & 13 deletions .license_scout.yml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .studio/protobuf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function install_protoc_toolchain() {
github.com/envoyproxy/protoc-gen-validate
github.com/ckaznocha/protoc-gen-lint
github.com/bufbuild/buf/cmd/buf
github.com/bufbuild/buf/cmd/protoc-gen-buf-check-breaking
github.com/bufbuild/buf/cmd/protoc-gen-buf-check-lint
github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking
github.com/bufbuild/buf/cmd/protoc-gen-buf-lint
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
)
Expand Down Expand Up @@ -157,7 +157,7 @@ function check_breaking_for_all_proto_components() {
main_branch_name="master"
fi

local breaking_check_cmd=("buf" "check" "breaking" "--against-input" ".git#branch=$main_branch_name")
local breaking_check_cmd=("buf" "breaking" "--against" ".git#branch=$main_branch_name" "--timeout" "0")

echo "🔎 Checking protos for breaking changes with \`${breaking_check_cmd[*]}\`..."
"${breaking_check_cmd[@]}"
Expand Down Expand Up @@ -185,7 +185,7 @@ function lint_all_protobuf_components() {
install_protoc_toolchain || return 1

local ret
local lintercmd="buf check lint"
local lintercmd="buf lint --timeout 0"
pushd /src/ > /dev/null || return 1
echo "🧹 Linting protos with \`${lintercmd}\`..."
$lintercmd
Expand All @@ -208,7 +208,7 @@ document "compile_all_protobuf_components" <<DOC
Compile every protobuf file for every component in A2.
DOC
function compile_all_protobuf_components() {
lint_all_protobuf_components && check_breaking_for_all_proto_components && compile_all_protobuf_components_nolint
lint_all_protobuf_components && compile_all_protobuf_components_nolint
}

document "compile_all_protobuf_components_nolint" <<DOC
Expand Down
198 changes: 53 additions & 145 deletions api/config/applications/config_request.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2c030ba

Please sign in to comment.