ros-tooling / cross_compile

A tool to build ROS and ROS2 workspaces for various targets
Apache License 2.0
188 stars 60 forks source link

Release package as debs for Debian/Ubuntu installation #133

Closed emersonknapp closed 4 years ago

emersonknapp commented 4 years ago

Description

Other Python packages in the ROS ecosystem are available both via pip and apt, e.g. colcon. Follow their lead and release this package into .debs also.

Related Issues

N/A

Completion Criteria

A user can apt install ros-cross-compile from the OpenRobotics apt repositories.

Implementation Notes / Suggestions

Follow the instructions https://github.com/ros-infrastructure/ros_release_python here to verify packaging, and send request to OSRF to add the package to the build farm for upload.

Testing Notes / Suggestions

Generate the deb locally and try installing it into a fresh environment. Perhaps use rocker since it allows for docker-from-docker running.

thomas-moulard commented 4 years ago

My two cents: it's preferable to only have one way to do "things". If we start having a second way to release cross_compile, we're basically doubling the surface we need to cover with our canaries. I'd suggest not to proceed with this, unless we can articulate a gain for our users which would justify the increased maintenance burden.

emersonknapp commented 4 years ago

The following is the argument in favor

we almost always recommend using the debs for users as it auto upgrades. There's many times a pip install gets overlayed, but when a new version comes out via Debian, if a new dependency got updated, it will start crashing because they are accidentally using the pip overlay with the updated dependencies that are no longer compatible. It should probably just require adding an stdeb.cfg file and other than that the overhead is low.

zmichaels11 commented 4 years ago

Not planning to work on this in the immediate future.