From f52dd5ca126c3633b2a9f97e489d5b01d159a56c Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Thu, 29 Aug 2024 16:24:49 +0200 Subject: [PATCH] Makefile: exclude Profiles protocol from breaking-changes (#576) The Profiles protocol is still experimental. Exclude it from the breaking-changes check as such changes are expected at this stage. Signed-off-by: Florian Lehner --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 504e02254..15db8f9f7 100644 --- a/Makefile +++ b/Makefile @@ -159,10 +159,11 @@ gen-ruby: $(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto $(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto $(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto - + +# The Profiling protocol is still experimental. So it is excluded from the breaking-change check. .PHONY: breaking-change breaking-change: - $(BUF) breaking --against $(BUF_AGAINST) $(BUF_FLAGS) + $(BUF) breaking --against $(BUF_AGAINST) --config '{"version":"v1","breaking":{"ignore":["opentelemetry/proto/profiles"]}}' $(BUF_FLAGS) ALL_DOCS := $(shell find . -type f -name '*.md' -not -path './.github/*' -not -path './node_modules/*' | sort)