What
As identified in the review #6 (comment)
we need to exchange the mdule-specific clang configuraiton (.clang-format), use the centralized cpp quality tooling https://github.com/eclipse-score/score_cpp_policies as soon as it will be available
Replace the module-local quality tool configurations with the centralized
score_cpp_policies
Bazel dependency.
This is a prerequisite for all other SCA and sanitizer tasks in #41.
- Add
score_cpp_policies as bazel_dep in MODULE.bazel
- Remove the module-local
.clang-format (superseded by score_cpp_policies)
- Verify that
score_cpp_policies exposes the Clang-Tidy ruleset needed for
the --config=lint Bazel config
Why
The current module ships its own .clang-format, which diverges from the
S-CORE standard over time. The score_cpp_policies repo provides centrally
maintained, safety-critical C++ tool policies including sanitizer
configurations and Clang-Tidy rules.
References
Estimates for realization
S - Day
Category
Requirements / Architecture
What
As identified in the review #6 (comment)
we need to exchange the mdule-specific clang configuraiton (.clang-format), use the centralized cpp quality tooling https://github.com/eclipse-score/score_cpp_policies as soon as it will be available
Replace the module-local quality tool configurations with the centralized
score_cpp_policiesBazel dependency.
This is a prerequisite for all other SCA and sanitizer tasks in #41.
score_cpp_policiesasbazel_depinMODULE.bazel.clang-format(superseded byscore_cpp_policies)score_cpp_policiesexposes the Clang-Tidy ruleset needed forthe
--config=lintBazel configWhy
The current module ships its own
.clang-format, which diverges from theS-CORE standard over time. The
score_cpp_policiesrepo provides centrallymaintained, safety-critical C++ tool policies including sanitizer
configurations and Clang-Tidy rules.
References
score_cpp_policiesrepo:https://github.com/eclipse-score/score_cpp_policies
https://github.com/eclipse-score/score/blob/main/docs/contribute/development/cpp/code_analysis.rst
Estimates for realization
S - Day
Category
Requirements / Architecture