mcap icon indicating copy to clipboard operation
mcap copied to clipboard

Distribute mcap CLI as .deb package

Open james-rms opened this issue 3 years ago • 3 comments

Copying over from https://github.com/ros-tooling/rosbag2_storage_mcap/issues/47

Proposed plan from @amacneil:

Installing it as a ros2 mcap command might be a good option to avoid conflict with an Ubuntu universe debian package. I personally think the developer experience of having the CLI available by default is more important than the reduced footprint of one less binary on the robot, given how much else ROS installs.

But if people feel strongly about reduced runtime robot footprint, then here is a concrete proposal:

  • New mcap_cli package that installs the ros2 mcap subcommand.
  • Make the mcap_cli package a dependency of rosbag2 metapackage (but not a dependency of rosbag2_storage_mcap), so that it is installed by default (see existing rosbag2 dependencies)
  • People who do not want the mcap CLI can install the specific dependencies of rosbag2 metapackage that they need (as they presumably would already be doing if they care about minimizing on-robot footprint)

james-rms avatar Nov 30 '22 09:11 james-rms

Related to #675

jtbandes avatar Nov 27 '24 16:11 jtbandes

What is the status on this? Is there a way to install mcap via some package manager?

ndmmdn avatar Feb 19 '25 08:02 ndmmdn

You can install using homebrew: brew install mcap.

We don't have a debian package - never looked in to what is required to get added upstream. Would be happy for someone to pick this up.

amacneil avatar Feb 19 '25 18:02 amacneil