diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-03-10 18:49:05 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2020-03-10 18:49:05 +0300 |
commit | 16f12f480dfa2004cb62033a5f221433dfee4d6c (patch) | |
tree | 3349959c72dc02df15fed804cb4989373cc5249f /proto/ref.proto | |
parent | 5e6af2c1bd61b21fa44581ac2d11911bc86f16d1 (diff) |
Task proto has dependency to already generated source code.
Extracting lint-related stuff into separate proto file. It
is required in order to have proper working proto-linter.
Previously it was using compiled files for verification and
it fails in some cases
(https://gitlab.com/gitlab-org/gitaly/-/jobs/459024976).
lint.proto extracted from shared.proto and contains
lint-related declarations. New task `proto-lint` added to
compile source code that is required by `protoc-gen-gitaly`.
`protoc-gen-gitaly` fixed to use proper proto source data.
Regeneration of all proto-related files.
Diffstat (limited to 'proto/ref.proto')
-rw-r--r-- | proto/ref.proto | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ref.proto b/proto/ref.proto index 18dad2fc6..8e99267fa 100644 --- a/proto/ref.proto +++ b/proto/ref.proto @@ -4,8 +4,9 @@ package gitaly; option go_package = "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"; -import "blob.proto"; +import "lint.proto"; import "shared.proto"; +import "blob.proto"; import "google/protobuf/timestamp.proto"; service RefService { |