https://github.com/joomcode/go-bes
*.pb.go files generated from *.proto to support Bazel Event Stream (BES)
https://github.com/joomcode/go-bes
Last synced: 5 months ago
JSON representation
*.pb.go files generated from *.proto to support Bazel Event Stream (BES)
- Host: GitHub
- URL: https://github.com/joomcode/go-bes
- Owner: joomcode
- Created: 2023-06-23T10:41:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T16:31:14.000Z (over 1 year ago)
- Last Synced: 2025-02-23T01:16:57.934Z (11 months ago)
- Size: 188 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This directory contains .proto definitions copied from:
* https://github.com/bazelbuild/bazel/tree/master/src/main/protobuf
* https://github.com/bazelbuild/bazel/tree/master/src/main/java/com/google/devtools/build/lib/buildeventstream/proto
They aren't used for Go code generation in the original repository, so importing them directly is inconvenient. We need them to be able to read binary bazel eventlog files.
Current solution is to use a slightly modified copy of these files. Original files can be found in commit #[75a16b7](https://github.com/bazelbuild/bazel/tree/75a16b7107479441274fa983c04264cdf8556479/src/main/protobuf). If the Bazel event protocol changes, this copy will require a manual update.
Changelist:
* `failure_details.WorkspaceStatus` -> `FailureWorkspaceStatus`, to avoid collision with `build_event_stream.WorkspaceStatus`
* `go_package` instead of `java_package`
* proto-files use local import paths instead of original paths