diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-02 12:42:47 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-09 13:16:44 +0300 |
commit | e4b7df2292b4eeeefa4f70e77e2ad34a60de0c76 (patch) | |
tree | 260f42064d3e51093fdf1332827a13184661433b /proto/smarthttp.proto | |
parent | 4c7a9be67a16746bf6f44a68caf75a7cffd5e969 (diff) |
proto: Enforce comment-linting for message definitions
Enforce that message definitions must have a comment and add a
placeholder for all instances where such a comment is missing.
Diffstat (limited to 'proto/smarthttp.proto')
-rw-r--r-- | proto/smarthttp.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/proto/smarthttp.proto b/proto/smarthttp.proto index c1d4fd83f..6695582e8 100644 --- a/proto/smarthttp.proto +++ b/proto/smarthttp.proto @@ -50,6 +50,7 @@ service SmartHTTPService { } } +// This comment is left unintentionally blank. message InfoRefsRequest { Repository repository = 1 [(target_repository)=true]; // Parameters to use with git -c (key=value pairs) @@ -59,10 +60,12 @@ message InfoRefsRequest { string git_protocol = 3; } +// This comment is left unintentionally blank. message InfoRefsResponse { bytes data = 1; } +// This comment is left unintentionally blank. message PostUploadPackRequest { // repository should only be present in the first message of the stream Repository repository = 1 [(target_repository)=true]; @@ -75,11 +78,13 @@ message PostUploadPackRequest { string git_protocol = 4; } +// This comment is left unintentionally blank. message PostUploadPackResponse { // Raw data from stdout of 'git upload-pack' bytes data = 1; } +// This comment is left unintentionally blank. message PostUploadPackWithSidechannelRequest { // repository should only be present in the first message of the stream Repository repository = 1 [(target_repository)=true]; @@ -89,9 +94,11 @@ message PostUploadPackWithSidechannelRequest { string git_protocol = 3; } +// This comment is left unintentionally blank. message PostUploadPackWithSidechannelResponse { } +// This comment is left unintentionally blank. message PostReceivePackRequest { // repository should only be present in the first message of the stream Repository repository = 1 [(target_repository)=true]; @@ -109,6 +116,7 @@ message PostReceivePackRequest { repeated string git_config_options = 7; } +// This comment is left unintentionally blank. message PostReceivePackResponse { // Raw data from stdout of 'git receive-pack' bytes data = 1; |