Skip to content

Conversation

@StefanFabian
Copy link
Member

@StefanFabian StefanFabian commented Aug 8, 2025

This goes through all packages, checks if colcon thinks they are catkin packages.
If it does, it checks the buildtool_depend tags in the package.xml.
If they say ament_cmake, this is probably mistakenly identified as such because the package.xml is missing the export declaration.

@StefanFabian StefanFabian requested a review from Joschi3 August 8, 2025 15:38
@StefanFabian StefanFabian self-assigned this Aug 8, 2025
Copy link
Member

@Joschi3 Joschi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Minor suggestion to update the description for hooks to also include Python scripts that return two integers (encountered problems vs fixed problems).

print_workspace_error()
return 1

count_problems = 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the description above to include Python scripts that return two ints (encountered problems vs fixed problems.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Updated the description and also improved readability.

Copy link
Member

@Joschi3 Joschi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Joschi3 Joschi3 merged commit 49c6ec8 into master Aug 11, 2025
1 check passed
@Joschi3 Joschi3 deleted the feature/check-for-ament-cmake-mistaken-as-catkin branch August 11, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants