-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protobuf linter #532
Protobuf linter #532
Conversation
The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).
|
e86a8d9
to
fc06b58
Compare
The latest Buf updates on your PR. Results from workflow Buf Linter / buf (pull_request).
|
b842c16
to
f69e734
Compare
I looked over some of the changes but I just want to make explicitly sure: none of the actual contents of the |
oh another question: if we have this new linter, what will be the new formatter command to format our protobufs for us (and does it have a visual studio code integation) |
Some were changed. Please check my first commit: 1626cb1 It has all changes related to the linter findings. The second commit has the reformat changes. |
The linter and the formatter use the same tool, Buf, that was already being used to generate the protobufs. If you run Let me know if you want me to change it. I will check about VSCode. |
There is a VSCode extension: https://marketplace.visualstudio.com/items?itemName=bufbuild.vscode-buf |
x/emissions/Makefile
Outdated
### Build ### | ||
################# | ||
|
||
build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we not delete the build
and test
commands? I use them
x/mint/Makefile
Outdated
### Build ### | ||
################# | ||
|
||
build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment here, I object to the removal of make build
and make test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I looked over the commit you highlighted and also then the total PR
left two comments about a minor thing, please don't delete make test
and make build
other than that I'm good with the changes
b5f8169
to
951732e
Compare
Signed-off-by: Fernando Campos <fernandofcampos@gmail.com>
Signed-off-by: Fernando Campos <fernandofcampos@gmail.com>
Signed-off-by: Fernando Campos <fernandofcampos@gmail.com>
951732e
to
3edddb1
Compare
Purpose of Changes and their Description
Use Buf as a linter for protobufs.
Link(s) to Ticket(s) or Issue(s) resolved by this PR
https://linear.app/alloralabs/issue/PROTO-2132
Are these changes tested and documented?
Covered by existing unit tests and integration tests.
Still Left Todo
Fill this out if this is a Draft PR so others can help.