-
Notifications
You must be signed in to change notification settings - Fork 137
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
REP 149: group dependencies #141
Comments
Grammar:
I found looking at the Also, if I was to compile ros1_bridge from source would I need to manually add group_membership to all of my message packages in my workspace? What if I came up with a new msg package? |
Thank you for pointing it out. Fixed in 06fa72b.
Please see the following comment which shows how the dependencies in a message package could look like: #138 (comment)
All message packages should indeed declare being a member of the group "message_packages" (which should be done already upstream so you shouldn't need to manually do that in your workspace) . The advantage of using that approach is that if you build the bridge it will always consider all existing message packages. Without the group dependency you would need to manually add your new message package to the manifest of |
I was suggesting that something like that be actually incorporated into the REP.
On a more fundamental level, why can't any package that uses the |
The group membership needs to be readable / parseable without evaluating e.g. CMake code. Therefore it is being declared in the manifest. So this can't be declared automatically by any CMake function. |
I think a linter rule could be added to remind people to add that statement to the manifest if the |
It would indeed be great if someone would write a linter for this 👍 |
Would this accommodate external language generators? @firesurfer and I have to distribute patches for |
@esteve Yes, that should be useful for that use case too. I created a ticket to track that feature idea: ros2/rosidl_typesupport#17. |
The draft for REP 149 contains multiple different parts. In order to not mix the discussion on those topics in a single ticket this issue is meant to focus on discussing the introduced group dependencies represented by the
group_depend
andmember_of_group
tags.The text was updated successfully, but these errors were encountered: