-
Notifications
You must be signed in to change notification settings - Fork 108
feat: update Bazel configuration and dependencies #114
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
Conversation
|
@wbpcode This should be mostly around C++ SDK build. PTAL. |
wbpcode
left a comment
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.
LGTM overall. I am glad to see the migration to bzlmod, thanks for the contribution. Only one comment to the version.
MODULE.bazel
Outdated
| @@ -0,0 +1,9 @@ | |||
| module( | |||
| name = "skywalking-data-collect-protocol", | |||
| version = "0.0.0-dev", | |||
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.
Is the version reasonable?
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.
That's the usual when not yet defined.
I changed it to 10.2.1-dev
After the module is integrated, it needs a workflow to publish to bcr : https://github.com/bazel-contrib/publish-to-bcr
…ibility Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
Notice, I applied buildifer on bazel files |
wbpcode
left a comment
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.
LGTM. Thanks for the contribution. cc @wu-sheng
I saw it. That's fine to me. |
wu-sheng
left a comment
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.
Accepted due to @wbpcode 's approval
Description
This PR updates Bazel build configuration to use bzlmod, following https://bazel.build/external/migration . The main changes include upgrading
grpc,protobuf, andrules_proto, updating repository loading logic to avoid redundant downloads, and adjusting build files to use the updated dependency structure.