-
Notifications
You must be signed in to change notification settings - Fork 248
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
Make some changes for newer versions of uncrustify #1591
Conversation
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde A general comment instead of guarding a lot of code segments with the
statements it will be preferable to reformat everything with the new version of the Uncrustify. cc: @clalancette It seems a nightmare with the new version of Uncrustify escalades more severely and more quickly than we assumed. The code formatting is going to diverge more significantly from previous ROS 2 distros and it will be an extra burden during backporting. |
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.
i know this is still draft, but AFAIS those fix the uncrustify warnings. @MichaelOrlov 's comment needs to be discussed... 👓
So we still need to land ament/ament_lint#475, which smooths over at least some of these differences. I need to get back to that one, hopefully tomorrow. |
@clalancette Thanks for the update. In this case I would hold off from moving forward with this PR development. |
OK, so I ended up merging in ament/ament_lint#475 today. With that in place, as far as I can tell there are no uncrustify errors here. @ahcorde Can you confirm that, and if that is the case for you, close this PR? Thanks. |
@clalancette I runned again the CI but I can still see some linter issues https://build.ros2.org/job/Rpr__rosbag2__ubuntu_noble_amd64/44/ |
So the Rpr job is going to show the problem until we do a release of Can you test locally? |
@ahcorde According to the other job failures, it seems we have discrepancy only in two files for now. In the
However, need to make a fresh run on Rolling for sure. |
Hm, that shouldn't be anymore. I believe that at the moment, we should be uncrustify clean. I'm running a job right now on Noble to check. |
was on the old branches before #1578
|
Follow up of this PR #1578
I can see some failures here https://build.ros2.org/job/Rpr__rosbag2__ubuntu_noble_amd64/14/