-
Notifications
You must be signed in to change notification settings - Fork 106
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
fix name of included CMake file for cmake_clang_format #128
Conversation
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
6cf839f
to
8c4d59d
Compare
Using the same setup as in https://answers.ros.org/question/317464/ament_cmake_clang_format-fails-to-find-ament_clang_format-package/ (where I posted) I now get this error
|
Thanks for keep reporting problems. I guess that specific linter has never worked / was never used. I added a commit to the PR - please try it again. |
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
0adfde4
to
a0a70f5
Compare
Awesome, works like a charm. Glad I could be of some use 😜 and thanks for the updates! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although it's natural to avoid redundant cmake labeling, I was a bit confused by the filename being ament_clang_format.cmake
when the package name was ament_cmake_clang_format
and there is a separate ament_clang_format
package (as the earlier authors clearly were as well) but I don't think that renaming the cmake file is necessary.
I haven't run this, so CI might be reasonable to do so in order to make sure that slotting in the python executable works on all platforms, but the changes look sound.
Running CI doesn't make sense since even the completely broken state before the patch never raised a flag since it isn't being used anywhere. |
I always get this error and never find the solution. Here is what works for me: sudo apt install ros-humble-ament-cmake-clang-format |
Based on https://answers.ros.org/question/317464/ament_cmake_clang_format-fails-to-find-ament_clang_format-package/