Skip to content

Protobuf file linter for Gitaly processes

Paul Okstad (ex-GitLab) requested to merge po_protoc_gen_gitaly into master

This adds a new Go-based command line tool and supporting Go packages. The tool is intended for custom static analysis of protobuf service definitions used in Gitaly.

Initially, this tool only validates if protobuf messages with names ending in Request contain a Gitaly specific operation code. If the operation code is present, the tool will further validate that it is not set to UNKNOWN to force contributors to designate their new RPC's appropriately.

Relates to #1496 (closed) and unblocks gitaly-proto!228 (merged)

Edited by Paul Okstad (ex-GitLab)

Merge request reports