-
Notifications
You must be signed in to change notification settings - Fork 19
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
Use available clang-format version for Ubuntu 22 #45
Use available clang-format version for Ubuntu 22 #45
Conversation
0d2de2a
to
4858a4a
Compare
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.
Thanks for fixing this!
Was meaning to do this for a while now.
Would be great if you could rebase?
bb2d426
to
96aa82b
Compare
Done! Conflicts are resolved. |
93746b4
to
1dc22c0
Compare
@Ryanf55 Any ideas for the build failures? |
Oops, yep. I'll put it in draft and re-request review when it's fixed. |
52ab184
to
1ddf87a
Compare
1d81acc
to
a642a1b
Compare
* Use rosdep for all deps * Name things better * Stop hard-coding the ros distro Signed-off-by: Ryan Friedman <[email protected]>
* And add missing dependency on clang-format Signed-off-by: Ryan Friedman <[email protected]>
* This commit should be hidden in git blame Signed-off-by: Ryan Friedman <[email protected]>
2e49e2b
to
2946784
Compare
Ready for final review. Let's try to get this in soon to fix all the style problems and enforce clean diffs after this. |
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.
LGTM! Thanks!
Purpose
ROS2 (on humble) comes with clang-format 14, but the scripts hard code clang-format 6. You can't install it in Ubuntu 22. Thus, it's time to migrate up a few versions.
Risk
Note - running version 14 results in the following diff (small):
I've applied the diff, and we now enfoce the same version of clang that is installed on Ubuntu 22.