Skip to content
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

Document Protocol Buffer Setup #8572

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

Jenkins-J
Copy link
Contributor

Document the protocol buffer setup script and make note of external proto files that must be added for successful generation. Addresses issue #8551.

@k8s-ci-robot
Copy link

Hi @Jenkins-J. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

BUILDING.md Outdated
When generating source code from `.proto` files, containerd may rely on some external protocol buffer files. These external dependencies should be added to the `/usr/local/include` directory.

> **Note**
> To install the appropriate version of `protoc` and download any necessary external protocol buffer files, run the install script located at `script/setup/install-protobuf`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are going to recommend this script, we can remove wget -c https://github.com/protocolbuffers.... in L49-L50.
If we continue to retain L49-L50, no need to recommend this script.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the wget command example. It makes more sense to me to point to the script as it will install the correct version of protoc and download any necessary external .proto files as well.

Document the protocol buffer setup script and make note of external
proto files that must be added for successful generation.

Signed-off-by: James Jenkins <James.Jenkins@ibm.com>
@kzys
Copy link
Member

kzys commented May 25, 2023

The change looks good to me. Re-running the failed ones.

@Jenkins-J
Copy link
Contributor Author

@kzys Is there anything I need to do to get the tests passing before this can be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants