Skip to content

Commit 6703e78

Browse files
committed
Support cel_expression
Signed-off-by: Sri Krishna <skrishna@buf.build>
1 parent 992b0d6 commit 6703e78

16 files changed

Lines changed: 550 additions & 96 deletions

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ADD_LICENSE_HEADER := $(BIN)/license-header \
1616
--copyright-holder "Buf Technologies, Inc." \
1717
--year-range "2023-2025"
1818
# This version should be kept in sync with the version in buf.yaml
19-
PROTOVALIDATE_VERSION ?= v1.0.0
19+
PROTOVALIDATE_VERSION ?= 774f3764e09fcfc921b3ef5a42271754f0b7063a
2020
# Version of the cel-spec that this implementation is conformant with
2121
# This should be kept in sync with the version in test/test_format.py
2222
CEL_SPEC_VERSION ?= v0.25.1
@@ -37,8 +37,8 @@ clean: ## Delete intermediate build artifacts
3737
.PHONY: generate
3838
generate: $(BIN)/buf $(BIN)/license-header ## Regenerate code and license headers
3939
rm -rf gen
40-
$(BIN)/buf generate buf.build/bufbuild/protovalidate:$(PROTOVALIDATE_VERSION)
41-
$(BIN)/buf generate buf.build/bufbuild/protovalidate-testing:$(PROTOVALIDATE_VERSION)
40+
$(BIN)/buf generate https://github.com/bufbuild/protovalidate.git#subdir=proto/protovalidate,ref=$(PROTOVALIDATE_VERSION)
41+
$(BIN)/buf generate https://github.com/bufbuild/protovalidate.git#subdir=proto/protovalidate-testing,ref=:$(PROTOVALIDATE_VERSION)
4242
$(BIN)/buf generate buf.build/google/cel-spec:$(CEL_SPEC_VERSION) --exclude-path cel/expr/conformance/proto2 --exclude-path cel/expr/conformance/proto3
4343
$(BIN)/buf generate
4444
$(ADD_LICENSE_HEADER)

gen/buf/validate/conformance/cases/bytes_pb2.py

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/bytes_pb2.pyi

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/groups_editions_pb2.py

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/groups_editions_pb2.pyi

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/groups_proto2_pb2.py

Lines changed: 64 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)