-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Migrate generation, linting to buf #1971
Conversation
ce31064
to
483bbd3
Compare
RUN wget https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip \ | ||
-O /protoc-${PROTOC_VERSION}-linux-x86_64.zip && \ | ||
unzip /protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local/ && \ | ||
rm -f /protoc-${PROTOC_VERSION}-linux-x86_64.zip |
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.
🎉. This change isn't effective as of this PR, it will be the next time we push the docker image.
Codecov Report
@@ Coverage Diff @@
## master #1971 +/- ##
=======================================
Coverage 58.09% 58.09%
=======================================
Files 34 34
Lines 3780 3780
=======================================
Hits 2196 2196
Misses 1313 1313
Partials 271 271 Continue to review full report at Codecov.
|
a8f2d69
to
c1fa40a
Compare
42d135c
to
2d17900
Compare
4d184c8
to
640adf0
Compare
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.
I tried to verify all changes in README and other files. Everything worked as expected!
Migrate to buf for generation, linting and breaking change detection. Removes much of the complicated Makefile logic and the need for protoc in favour of buf generate.
This is no longer needed since we can depend on googleapis from the BSR
The generated, hidden bazel directory will mess up buf's generation if it exists, so we ignore it.
640adf0
to
b6abc29
Compare
Migrate to buf for generation, linting and breaking change detection. Removes much of the complicated Makefile logic and the need for protoc in favour of buf generate.
Adds a CI step to push new versions to the BSR.