-
Notifications
You must be signed in to change notification settings - Fork 43
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
extract message / service / action files from test_msgs package #58
Comments
+1 for having a single place for test interface files. It's unfortunate that we can't keep them alongside |
That would introduce a repository level dependency cycle which I don't want to do. |
Note that the individual |
These are the duplicates I was referring to. |
Not working on this until after the IDL changes have landed. |
One issue with this approach is that it won't be able to capture tests involving nested types from different packages (e.g. NestedMessage.action). |
@dirk-thomas I've built on top of your changes and opened a PR for the new package |
I've started going through our packages that have test interfaces and switching them over to use the new
|
This work will conflict with the ongoing work on WString support (ros2/rosidl#352). I just wanted to mentioned it early that we don't run into problems last minute before the API freeze date and try to land both at the same time. |
Thanks for the heads up. This ticket is lower priority and can be done piecemeal (ie, we can update affected packages independently), so I can give the WString support right of way. |
Another potential conflict: #68 |
Currently many packages (mostly message generators) have their own test interface to check if the generator works as expected. But each package has an arbitrary subset. And with the amount of corner cases and variations it would be helpful if all these interface files exist in a single location. The message generator packages can't depend on
test_msgs
since that package itself depends on all message generators.To avoid the duplication and get rid of the differences of these interface files I would like to propose to extract the actual interface files from the
test_msgs
package into a new separate package (and repository). I would propose the package / repo nametest_interface_files
. Thetest_msgs
package would then be updated to still invoke the message generation for all these files - just not contain the interface files anymore but get them from the new package.I am mostly looking for feedback on this before actually spending the time to create PRs for it.
The text was updated successfully, but these errors were encountered: