-
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.
## Description This overhauls and fixes a bunch of warnings/nits in our protobufs. Also, I wasn't able to build the protobufs because of version mismatches and what not. ## Why is this needed I was not happy with the state of our protobuf build setup, managing protobuf dependencies and general protobuf lint/style issues. Also, Fixes: #319 ## How Has This Been Tested? Builds and `go test ./...` works. ## How are existing users impacted? What migration steps/scripts do we need? Custom clients using our protobuf files will need to be updated, I don't know of any such clients.
- Loading branch information
Showing
41 changed files
with
4,853 additions
and
3,022 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
insert_final_newline = true | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[{Makefile,go.mod,go.sum,*.go,.gitmodules,*.sh}] | ||
indent_style = tab | ||
indent_size = 8 | ||
indent_style = tab | ||
|
||
[*.md] | ||
indent_size = 4 |
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,35 @@ | ||
## Hello Contributors! | ||
|
||
Thx for your interest! | ||
We're so glad you're here. | ||
|
||
### Important Resources | ||
|
||
#### bugs: [https://github.com/tinkerbell/tink/issues](https://github.com/tinkerbell/tink/issues) | ||
|
||
### Code of Conduct | ||
|
||
Available via [https://github.com/tinkerbell/tink/blob/master/.github/CODE_OF_CONDUCT.md](https://github.com/tinkerbell/tink/blob/master/.github/CODE_OF_CONDUCT.md) | ||
|
||
### Environment Details | ||
|
||
[https://github.com/tinkerbell/tink/blob/master/Makefile](https://github.com/tinkerbell/tink/blob/master/Makefile) | ||
|
||
### How to Submit Change Requests | ||
|
||
Please submit change requests and / or features via [Issues](https://github.com/tinkerbell/tink/issues). | ||
There's no guarantee it'll be changed, but you never know until you try. | ||
We'll try to add comments as soon as possible, though. | ||
|
||
### How to Report a Bug | ||
|
||
Bugs are problems in code, in the functionality of an application or in its UI design; you can submit them through [Issues](https://github.com/tinkerbell/tink/issues). | ||
|
||
## Code Style Guides | ||
|
||
#### Protobuf | ||
|
||
Please ensure protobuf related files are generated along with _any_ change to a protobuf file. | ||
CI will enforce this, but its best to commit the generated files along with the protobuf changes in the same commit. | ||
Handling of protobuf deps and generating the go files are both handled by the [protoc.sh](./protos/protoc.sh) script. | ||
Both go & protoc are required by protoc.sh, these are both installed and used if using nix-shell. |
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
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.