File: README.md

package info (click to toggle)
grpc-proto 0.0~git20230110.6956c0e-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 324 kB
  • sloc: sh: 29; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# grpc-proto
This repository contains the canonical versions of common protocol definitions
for peripheral services around gRPC such as health checking and load balancing.

## Usage

For Bazel users, it can be included directly as an `http_repository`.

Non-Bazel users are expected to copy the proto files from this repo as needed.
However, those copies should not be modified; they should be byte-identical with
the version of grpc-proto that was copied from. Changes should be made to proto
files in this repo before being recopied elsewhere. This prevents forking the
proto and makes clear the "latest version" of the proto.

Projects that copy the protos should defend against repo-specific modifications.
They should use a script to copy that overwrites any such changes, or have
sanity tests that would fail if a proto was no longer byte-identical.

## Directory Structure

The directory structure should match the protocol package. For example,
`health.proto` in package `grpc.health.v1` will be placed in
`grpc/health/v1/health.proto`.