-
Notifications
You must be signed in to change notification settings - Fork 113
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
Hab studio tech debt #4727
Hab studio tech debt #4727
Conversation
Details emitted when running `compile_all_protobuf_components`: ``` protoc -I../../components/notifications-service/server/priv \ --go_out=plugins=grpc:./api \ notifications.proto rules.proto server.proto health.proto 2021/02/12 22:17:32 WARNING: Deprecated use of 'go_package' option without a full import path in "notifications.proto", please specify: option go_package = ".;api"; A future release of protoc-gen-go will require the import path be specified. See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information. 2021/02/12 22:17:32 WARNING: Deprecated use of 'go_package' option without a full import path in "rules.proto", please specify: option go_package = ".;api"; A future release of protoc-gen-go will require the import path be specified. See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information. 2021/02/12 22:17:32 WARNING: Deprecated use of 'go_package' option without a full import path in "health.proto", please specify: option go_package = ".;api"; A future release of protoc-gen-go will require the import path be specified. See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information. 2021/02/12 22:17:32 WARNING: Deprecated use of 'go_package' option without a full import path in "server.proto", please specify: option go_package = ".;api"; A future release of protoc-gen-go will require the import path be specified. See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information. ``` Signed-off-by: michael sorens <msorens@chef.io>
Signed-off-by: michael sorens <msorens@chef.io>
Signed-off-by: michael sorens <msorens@chef.io>
Deploy preview for chef-automate processing. Building with commit a7ac35a https://app.netlify.com/sites/chef-automate/deploys/602aa96b93e2c200077c83a5 |
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.
Author notes
describe "check_breaking_for_all_proto_components" <<DOC | ||
document "check_breaking_for_all_proto_components" <<DOC |
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.
Problem due to this "typo"
option go_package = "api"; | ||
option go_package = ".;api"; |
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.
Applying fix specified in the warning itself.
Signed-off-by: michael sorens <msorens@chef.io>
🔩 Description: What code changed, and why?
Two hab studio fixes included:
(1) Upon entering hab studio, the console output showed this error:
(2) Upon running
compile_all_protobuf_components
, the console showed these warnings:⛓️ Related Resources
NA
👍 Definition of Done
Above error and warnings are gone.
👟 How to Build and Test the Change
(1) hab studio enter
(2) compile_all_protobuf_components (inside hab studio)
✅ Checklist