Skip to content

Deprecate ros2msg and ros2srv#363

Merged
jacobperron merged 3 commits intomasterfrom
jacob/deprecate_msg_srv
Oct 18, 2019
Merged

Deprecate ros2msg and ros2srv#363
jacobperron merged 3 commits intomasterfrom
jacob/deprecate_msg_srv

Conversation

@jacobperron
Copy link
Copy Markdown
Member

Both packages have been superseded by ros2interface, which provides the same functionality
and more.

Both packages have been superseded by ros2interface, which provides the same functionality
and more.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron jacobperron added the in review Waiting for review (Kanban column) label Oct 16, 2019
@dirk-thomas
Copy link
Copy Markdown
Member

If feasible maybe print the command to be used replacing the current invocation?

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Copy Markdown
Member Author

If feasible maybe print the command to be used replacing the current invocation?

Good idea. Done in b26a9c4.

I'm not sure why, but the first part of the warning is repeated (I guess something to do with the stack trace). Not sure how to make it prettier, but I guess it's not a big deal, e.g.

$ ros2 srv show test_msgs/srv/Empty
/home/jacob/ws/ros2cli_ws/install/ros2srv/lib/python3.6/site-packages/ros2srv/verb/show.py:49: UserWarning: 'ros2 srv' is deprecated and will be removed in a future ROS release. Instead use: 'ros2 interface show test_msgs/srv/Empty.srv'
  "'ros2 srv' is deprecated and will be removed in a future ROS release. "
---

@mjcarroll
Copy link
Copy Markdown
Member

Epr doesn't seem to like the deprecated tag:

16:02:32 catkin_pkg.package.InvalidPackage: Error(s) in package '/tmp/ws/src/ros2cli/ros2srv/package.xml':
16:02:32 Error(s):
16:02:32 - The manifest of package "ros2srv" (with format version 2) must not contain the following tags: deprecated

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Copy Markdown
Member Author

jacobperron commented Oct 18, 2019

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit 80921ce into master Oct 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the jacob/deprecate_msg_srv branch October 18, 2019 21:36
jacobperron added a commit that referenced this pull request Dec 2, 2019
This is a follow-up to #363, as we've consolidated interface CLI logic to ros2interface.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron added a commit that referenced this pull request Dec 3, 2019
* [ros2action] Deprecate show verb

This is a follow-up to #363, as we've consolidated interface CLI logic to ros2interface.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Update tests to pass

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in review Waiting for review (Kanban column)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants