Skip to content

rosidl_cli: Add type description support (backport #857) #866

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

Open
wants to merge 1 commit into
base: kilted
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 12, 2025

This patch adds support for type description generation in rosidl_cli. It introduces a new hash command to generate type descriptions. It also ensures they are always present as part of the generate command even if the user doesn't provide them.

Addresses #808

Recommended Review Order

I recommend starting with the new hash generator in rosidl_cli/rosidl_cli/command/hash, which utilizes the extension defined in rosidl_generator_type_description/rosidl_generator_type_description/cli.py, and then progressing to the other changes.

Notes

  • I verified that no updates were required in other parts of rosidl, such as rosidl_python and rosidl_typesupport.

This is an automatic backport of pull request #857 done by [Mergify](https://mergify.com).

* Add type description support to rosidl_cli

Signed-off-by: Francisco Rossi <[email protected]>

* Fix typing annotation

Signed-off-by: Francisco Rossi <[email protected]>

* Please flake8, mypy

Signed-off-by: Michel Hidalgo <[email protected]>

* Please flake8 take 2

Signed-off-by: Michel Hidalgo <[email protected]>

---------

Signed-off-by: Francisco Rossi <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Co-authored-by: Michel Hidalgo <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Christophe Bedard <[email protected]>
(cherry picked from commit c9a3084)
Copy link
Contributor

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@hidmic kilted backport is straight-forward. can you approve this?

@fujitatomoya
Copy link
Contributor

fujitatomoya commented May 12, 2025

Pulls: #866
Gist: https://gist.githubusercontent.com/fujitatomoya/319cfa7f93703a132cb008d1db936c47/raw/dda94628f5b564a9059e0545acbb8adbe7f800e4/ros2.repos
BUILD args:
TEST args:
ROS Distro: kilted
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15966

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Contributor

I do not think https://ci.ros2.org/job/ci_linux-rhel/3054/testReport/ros2param.ros2param.test/test_verb_load/test_verb_load/ is related to this PR, it fails during ros2 param load/dump command line test.

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.

2 participants