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

compdb add the compdb support to the proxy_wasm_cpp_host #419

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.

README.md Outdated Show resolved Hide resolved
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.

DEVELOPMENT.md Outdated Show resolved Hide resolved
tools/gen_compdb.py Outdated Show resolved Hide resolved
DEVELOPMENT.md Outdated Show resolved Hide resolved
DEVELOPMENT.md Outdated Show resolved Hide resolved
tools/gen_compdb.py Outdated Show resolved Hide resolved
tools/gen_compdb.py Outdated Show resolved Hide resolved
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.

CONTRIBUTING.md Show resolved Hide resolved
DEVELOPMENT.md Outdated Show resolved Hide resolved
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants