doc: add bfcli matcher hook compatibility table#503
doc: add bfcli matcher hook compatibility table#503LiuHuaize wants to merge 3 commits intofacebook:mainfrom
Conversation
Claude review of PR #503 (f574d46)Must fix
Suggestions
Nits
|
There was a problem hiding this comment.
Hi, thanks for working on this and welcome to the repo! This will be a really helpful addition! I have a few high-level comments/questions before getting into the details:
-
I'm thinking that the proper approach here is to add the code that generates the file and then generate the file as a part of
make docas opposed to having the generated code live in the repo. This is similar to how it's already done for other generated code in the repo and should simplify things (don't need to check the diff at CI time). -
As opposed to writing a parser and manually parsing the relevant source files (seems prone to error), we should be able to use
bf_matcher_get_meta(public) and we can rely on the exact same code that is used directly in the repo. This should make the generation simpler and less fragile.
Let me know what you think of those points!
qdeslandes
left a comment
There was a problem hiding this comment.
Sending the PR back to the contributor for them to notice @yaakov-stein's comment.
|
@LiuHuaize it's been 2 weeks, do you intent to update this PR? :) |
Summary
doc/usage/bfcli.rstsrc/libbpfilter/matcher.cso the docs followunsupported_hooksdoc/CMakeLists.txtand commit the generated includeFixes #481
Testing
Notes
cmake,ninja,sphinx-build, ordoxygeninstalled.