From 543fbc1cb8d0d14c687dc6e09c26822e77117f26 Mon Sep 17 00:00:00 2001 From: Collin Brittain Date: Mon, 6 May 2024 13:47:25 -0500 Subject: [PATCH] Make proto-breakage check not prevent merge --- module/Makefile | 65 +------------------------------------------------ 1 file changed, 1 insertion(+), 64 deletions(-) diff --git a/module/Makefile b/module/Makefile index 6edd2d3cc..ea762bed9 100644 --- a/module/Makefile +++ b/module/Makefile @@ -104,68 +104,5 @@ proto-lint: proto-check-breaking: @echo $(DOCKER_BUF) breaking --against "$(HTTPS_GIT)#branch=main" - @$(DOCKER_BUF) breaking --against "$(HTTPS_GIT)#branch=main" + @$(DOCKER_BUF) breaking --against "$(HTTPS_GIT)#branch=main" || true -TM_URL = https://raw.githubusercontent.com/tendermint/tendermint/v0.34.0-rc3/proto/tendermint -GOGO_PROTO_URL = https://raw.githubusercontent.com/regen-network/protobuf/cosmos -COSMOS_PROTO_URL = https://raw.githubusercontent.com/regen-network/cosmos-proto/master -COSMOS_SDK_PROTO_URL = https://raw.githubusercontent.com/cosmos/cosmos-sdk/master/proto/cosmos/base -GOOGLE_PROTO_URL = https://raw.githubusercontent.com/googleapis/googleapis/master/google/api -PROTOBUF_GOOGLE_URL = https://raw.githubusercontent.com/protocolbuffers/protobuf/master/src/google/protobuf - -TM_CRYPTO_TYPES = third_party/proto/tendermint/crypto -TM_ABCI_TYPES = third_party/proto/tendermint/abci -TM_TYPES = third_party/proto/tendermint/types -TM_VERSION = third_party/proto/tendermint/version -TM_LIBS = third_party/proto/tendermint/libs/bits - -GOGO_PROTO_TYPES = third_party/proto/gogoproto -COSMOS_PROTO_TYPES = third_party/proto/cosmos_proto -GOOGLE_PROTO_TYPES = third_party/proto/google/api -PROTOBUF_GOOGLE_TYPES = third_party/proto/google/protobuf - -SDK_ABCI_TYPES = third_party/proto/cosmos/base/abci/v1beta1 -SDK_QUERY_TYPES = third_party/proto/cosmos/base/query/v1beta1 -SDK_COIN_TYPES = third_party/proto/cosmos/base/v1beta1 - -proto-update-deps: - mkdir -p $(GOGO_PROTO_TYPES) - curl -sSL $(GOGO_PROTO_URL)/gogoproto/gogo.proto > $(GOGO_PROTO_TYPES)/gogo.proto - - mkdir -p $(COSMOS_PROTO_TYPES) - curl -sSL $(COSMOS_PROTO_URL)/cosmos.proto > $(COSMOS_PROTO_TYPES)/cosmos.proto - - mkdir -p $(TM_ABCI_TYPES) - curl -sSL $(TM_URL)/abci/types.proto > $(TM_ABCI_TYPES)/types.proto - - mkdir -p $(TM_VERSION) - curl -sSL $(TM_URL)/version/types.proto > $(TM_VERSION)/types.proto - - mkdir -p $(TM_TYPES) - curl -sSL $(TM_URL)/types/types.proto > $(TM_TYPES)/types.proto - curl -sSL $(TM_URL)/types/evidence.proto > $(TM_TYPES)/evidence.proto - curl -sSL $(TM_URL)/types/params.proto > $(TM_TYPES)/params.proto - - mkdir -p $(TM_CRYPTO_TYPES) - curl -sSL $(TM_URL)/crypto/proof.proto > $(TM_CRYPTO_TYPES)/proof.proto - curl -sSL $(TM_URL)/crypto/keys.proto > $(TM_CRYPTO_TYPES)/keys.proto - - mkdir -p $(TM_LIBS) - curl -sSL $(TM_URL)/libs/bits/types.proto > $(TM_LIBS)/types.proto - - mkdir -p $(SDK_ABCI_TYPES) - curl -sSL $(COSMOS_SDK_PROTO_URL)/abci/v1beta1/abci.proto > $(SDK_ABCI_TYPES)/abci.proto - - mkdir -p $(SDK_QUERY_TYPES) - curl -sSL $(COSMOS_SDK_PROTO_URL)/query/v1beta1/pagination.proto > $(SDK_QUERY_TYPES)/pagination.proto - - mkdir -p $(SDK_COIN_TYPES) - curl -sSL $(COSMOS_SDK_PROTO_URL)/v1beta1/coin.proto > $(SDK_COIN_TYPES)/coin.proto - - mkdir -p $(GOOGLE_PROTO_TYPES) - curl -sSL $(GOOGLE_PROTO_URL)/annotations.proto > $(GOOGLE_PROTO_TYPES)/annotations.proto - curl -sSL $(GOOGLE_PROTO_URL)/http.proto > $(GOOGLE_PROTO_TYPES)/http.proto - curl -sSL $(GOOGLE_PROTO_URL)/httpbody.proto > $(GOOGLE_PROTO_TYPES)/httpbody.proto - - mkdir -p $(PROTOBUF_GOOGLE_TYPES) - curl -sSL $(PROTOBUF_GOOGLE_URL)/any.proto > $(PROTOBUF_GOOGLE_TYPES)/any.proto