Skip to content

build: install ROS before attempting to publish the rosidl_runtime_rs crate #12

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: main
Choose a base branch
from

Conversation

esteve
Copy link
Contributor

@esteve esteve commented Jul 11, 2025

No description provided.

@esteve esteve requested review from maspe36 and jhdcs July 11, 2025 17:59
@esteve
Copy link
Contributor Author

esteve commented Jul 11, 2025

@jhdcs @maspe36 I don't know if it'd be better to only build the generate_docs feature (which contains a shim of the rcl functions) or do it like this PR and install ROS before attempting to release the crate. Let me know what you think.

Copy link
Contributor

@maspe36 maspe36 left a comment

Choose a reason for hiding this comment

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

So on one hand, if we use the generate_docs feature we would presumably finish CI faster, which in general is nice. But I feel like especially for a release we should try and be as faithful as possible with our intended users environment.

To me, this makes sense to install ROS. As an aside, what version of ROS is installed?

@esteve
Copy link
Contributor Author

esteve commented Jul 13, 2025

So on one hand, if we use the generate_docs feature we would presumably finish CI faster, which in general is nice. But I feel like especially for a release we should try and be as faithful as possible with our intended users environment.

On the one hand, we only do that once per release, so not a big deal if it takes a bit longer. On the other hand, we already build rclrs for every supported ROS distro when we merge a PR and periodically, so not sure if it's needed for a release in the end. I'd rename generate_docs to something more descriptive for this use case (e.g. build_for_release)

As an aside, what version of ROS is installed?

Actually none, I thought setup-ros would install the latest distro, but turns out that unless the required-ros-distributions option is passed, it just installs the ROS build tools.

@jhdcs
Copy link
Contributor

jhdcs commented Jul 15, 2025

I would agree that renaming generate_docs to something more descriptive would be a good idea. Apart from that, though, I'm afraid I don't have much of an opinion - this is a little outside my normal area of expertise...

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