-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix all the dynamically generated code (#547)
Lots of fixes to stuff that is dynamically generated along with a few extra bits here and there in related code to make things better. - [x] Fixes the `go generate` calls - [x] Changes protobuf/grpc stuff to use buf for both dependency management and building/calling protoc - [x] Changes from goimports to gofumpt as we want this anyway - [x] Build the tools in tools.go via the Makefile - [x] Dropped protoc-gen-doc support as that seemed unused. (easy to bring back when we have a use for it) - [x] Add a make target to check that the generated files are up to date - [x] Prettier-ify the GHA yaml files too (not just *.yml files) - [x] Update README/docs - [x] Setup CI to ensure files are up to date <!--- Please describe what this PR is going to change --> Mostly fixes for dynamically generated files. <!--- Link to issue you have raised --> I noticed that #541 had some protobuf format commits which I was not expecting being done separately. I went looking into it and noticed the mess we're in. ## How Has This Been Tested? CI ## How are existing users impacted? What migration steps/scripts do we need? Will have better automation for messing with generated files. ## Checklist: I have: - [x] updated the documentation and/or roadmap (if required) - [x] added unit or e2e tests - [ ] provided instructions on how to upgrade
- Loading branch information
Showing
29 changed files
with
2,763 additions
and
2,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: v1 | ||
plugins: | ||
- name: go | ||
out: . | ||
opt: paths=source_relative | ||
- name: go-grpc | ||
out: . | ||
opt: | ||
- paths=source_relative | ||
- require_unimplemented_servers=false | ||
- name: grpc-gateway | ||
out: . | ||
opt: paths=source_relative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v1 | ||
deps: | ||
- remote: buf.build | ||
owner: googleapis | ||
repository: googleapis | ||
branch: main | ||
commit: 389e82394fcc4e18b2463c26674170b3 | ||
digest: b1-j-IWUPcGJWMkqbee6hR7IJCXlLF9Y5P4ARue8gLwLP0= | ||
create_time: 2021-10-01T15:05:49.20888Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: v1 | ||
lint: | ||
use: | ||
- DEFAULT | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
breaking: | ||
use: | ||
- FILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.