genmsg icon indicating copy to clipboard operation
genmsg copied to clipboard

Feature to show deprecation warning for msg/srv

Open wkentaro opened this issue 7 years ago • 1 comments

Close https://github.com/ros/genmsg/issues/67

Why?

I needed to remove or migrate some messages/services from packages, and I'd like to show deprecation warning for users. This PR enables that feature.

Usage

add_message_files(
  DEPRECATED
  DIRECTORY msg
  FILES ADeprecatedMessage.msg
)
add_service_files(
  DEPRECATED
  DIRECTORY srv
  FILES ADeprecatedService.srv
)

gencpp example: https://github.com/ros/gencpp/pull/35

wkentaro avatar May 14 '18 19:05 wkentaro

Looks great, I dig it! +1

mikepurvis avatar Sep 25 '18 18:09 mikepurvis