Skip to content

compdb add the compdb support to the proxy_wasm_cpp_host #419

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Sep 29, 2024

Conversation

wbpcode
Copy link
Contributor

@wbpcode wbpcode commented Sep 26, 2024

Add the compdb support to the repo. This could be used to simplify the development process.

Note the grailbio/bazel-compilation-database is archived. But it is still be used by envoyproxy/envoy and works pretty well.
So, if it is good enough for envoyproxy/envoy, then it should be good enough for proxy_wasm_cpp_host.

And I also investigate other choices like hedronvision/bazel-compile-commands-extractor, but now it could works for our repo.

Signed-off-by: wangbaiping <wbphub@gmail.com>
Signed-off-by: wangbaiping <wbphub@gmail.com>
@wbpcode
Copy link
Contributor Author

wbpcode commented Sep 26, 2024

cc @mpwarres

(PS: we cannot assign the PR, is there a team like assignable?)

@PiotrSikora
Copy link
Member

PiotrSikora commented Sep 26, 2024

(PS: we cannot assign the PR, is there a team like assignable?)

I believe that only maintainers can assign the PR to someone from an assignable team (there is @proxy-wasm/committers-c), but all codeowners are automatically added as reviewers and notified about the PR.

Signed-off-by: wangbaiping <wbphub@gmail.com>
Copy link
Contributor

@mpwarres mpwarres left a comment

Choose a reason for hiding this comment

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

Thanks for adding this! LGTM mod minor comments.

Signed-off-by: wangbaiping <wbphub@gmail.com>
Copy link
Contributor

@mpwarres mpwarres left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mpwarres
Copy link
Contributor

@PiotrSikora LMK if you have further comments, otherwise I'll go ahead and merge this. Thanks!

Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

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

2 nitpicks, but feel free to ignore them.

Signed-off-by: wangbaiping <wbphub@gmail.com>
@mpwarres mpwarres merged commit 3212034 into proxy-wasm:main Sep 29, 2024
30 checks passed
@wbpcode wbpcode deleted the dev-compdb branch September 30, 2024 15:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants