RFC Auto review and Coccinelle
Get series with b4
b4 am YK0ABlx8wyHPp0Xf@yukiVersions newest first
- v1 RFC Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [LTP] [RFC PATCH 0/4] Auto review and Coccinelle
Hi!
Quoted 7 lines
Quoted 6 lines
I guess that having it in travis as a post commit check would be better than nothing.
Pre commit hook would be ideal but requiring coccinelle installed for LTP development would increase the bar for contribution too much I guess.
Quoted 5 lines
I fear this defeats my primary goal of giving very quick feedback without involving patch submission. This makes me think of clang-tidy (clang-tools?) again. It will probably be more difficult to write LTP specific checks, but I guess every desktop Linux distro less than 10 years old has Clang?
As far as I can tell clang is generally present on modern distributions while coccinelle tends to be problematic on some distributions. It's a great tool but it seems that there is a shortage of maintainers that can maintain ocaml packages.
Quoted 2 lines
I don't think there is much else I can do than try writing the same check in clang as well. See how that goes...
If that works well enough I would vote to a switch to clang-tidy.
Quoted 6 lines
Anyway, we could copy the kernel to some extent. Make it so running
make coccicheck
or
Quoted 8 lines
make clang-tidy
or more generic
make check
Will recursively run the checks on the files under the current directory?
Sounds like a good plan.
Signature · 2 lines
Cyril Hrubis [email protected]