Skip to content
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

Drops legacy launch API usage. #311

Merged
merged 1 commit into from
Feb 27, 2019
Merged

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Feb 11, 2019

Connected to ros2/launch#159.

@tfoote tfoote added the in progress Actively being worked on (Kanban column) label Feb 11, 2019
@hidmic hidmic self-assigned this Feb 11, 2019
@hidmic hidmic force-pushed the hidmic/drop-legacy-launch branch 2 times, most recently from 01e50e7 to 3da64a1 Compare February 11, 2019 18:16
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic force-pushed the hidmic/drop-legacy-launch branch from 3da64a1 to 67c01f8 Compare February 12, 2019 21:00
@cottsay cottsay requested a review from mjcarroll February 22, 2019 19:36
@hidmic hidmic added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Feb 25, 2019
@mjcarroll mjcarroll merged commit c8fcb4d into master Feb 27, 2019
@mjcarroll mjcarroll deleted the hidmic/drop-legacy-launch branch February 27, 2019 19:37
@mjcarroll mjcarroll removed the in review Waiting for review (Kanban column) label Feb 27, 2019
@@ -28,7 +28,6 @@
<test_depend>ament_cmake_pytest</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>launch</test_depend>
Copy link
Member

Choose a reason for hiding this comment

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

Why was this dependency removed? Python modules from that package are clearly imported in the code below.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it clearly still needs that dep.

Copy link
Member

Choose a reason for hiding this comment

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

Though launch_testing includes launch as an exec_depend. Is that sufficient in this case?

Copy link
Member

Choose a reason for hiding this comment

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

You never want to rely on transitive dependencies. If you use something directly you should declare it as a dependency. What if launch_testing would be refactored into a standalone package? Then this package would fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, my bad. I think I removed them during a previous refactor, when launch_testing was the only thing needed for testing. I'll get them back ASAP.

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.

4 participants