Skip to content

Commit

Permalink
protobuf: normalize how protobuf files are generated
Browse files Browse the repository at this point in the history
The relative paths option for protoc generators doesn't work well when
it comes to dependencies. This simplifies the code generation to avoid
using `go generate` and to use one global command for protoc generation.

This is similar to docker/buildx#2713 since the
same problems with code generation occur here too.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
  • Loading branch information
jsternberg committed Oct 3, 2024
1 parent c7db68a commit ffd8ff4
Show file tree
Hide file tree
Showing 37 changed files with 2,776 additions and 2,768 deletions.
1,177 changes: 590 additions & 587 deletions api/services/control/control.pb.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/services/control/control_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions api/services/control/generate.go

This file was deleted.

3 changes: 0 additions & 3 deletions api/types/generate.go

This file was deleted.

173 changes: 88 additions & 85 deletions api/types/worker.pb.go

Large diffs are not rendered by default.

137 changes: 70 additions & 67 deletions cache/contenthash/checksum.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions cache/contenthash/generate.go

This file was deleted.

Loading

0 comments on commit ffd8ff4

Please sign in to comment.