Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-11-10 14:07:33 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-11-10 14:07:33 +0300
commit1ce3ecf133897cb7da00fb1eeeacd8fb384290d4 (patch)
tree6b35c265d2b62f52fa3aa06d92d779c3ba9c8fd8
parent2a22742fa4972ec8895e230d834530e16c84a4a5 (diff)
Makefile: Don't lint test-related Protobuf definitionspks-makefile-fix-no-proto-changes-race
Now that we've moved our test-related Protobuf definitions into `proto/` our Protobuf linter automatically picks them up to be linted. This does not make a whole lot of sense though given that the definitions are not typically used outside of Gitaly, so we don't care whether they're well commented or any somesuch thing. Exclude these Protobuf files from our linter.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 418f27b39..61ea2e1f0 100644
--- a/Makefile
+++ b/Makefile
@@ -493,7 +493,7 @@ check-proto: no-proto-changes lint-proto
.PHONY: lint-proto
lint-proto: ${PROTOC} ${PROTOLINT} ${PROTOC_GEN_GITALY_LINT}
${Q}${PROTOC} -I ${SOURCE_DIR}/proto -I ${PROTOC_INSTALL_DIR}/include --plugin=${PROTOC_GEN_GITALY_LINT} --gitaly-lint_out=${SOURCE_DIR} ${SOURCE_DIR}/proto/*.proto
- ${Q}${PROTOLINT} lint -config_dir_path=${SOURCE_DIR}/proto ${SOURCE_DIR}/proto
+ ${Q}${PROTOLINT} lint -config_dir_path=${SOURCE_DIR}/proto ${SOURCE_DIR}/proto/*.proto
.PHONY: build-proto-gem
## Build the Ruby Gem that contains Gitaly's Protobuf definitons.