Skip to content

Internal Publishing

Benjamin Hug edited this page Nov 9, 2021 · 34 revisions

Updating the Packages

Make sure python command point to python3 and not python2.

Tag

Make sure that every branch version is up to date, the changelogs date are set, and create a tag corresponding to the version (specified in the package.xml files, make also sure the version in these files is up to date):

git tag -a 1.0.0 -m "Version 1.0.0"
git push origin 1.0.0

Bloom Release

Use pip3 install bloom to install bloom.

Launch bloom release to update the content of the webots_ros2-release repo. Here is an example for Foxy but the same procedure is valid for other versions of ROS (e.g., Galaxy), we ask for the webots_ros2 package because this is the root package.

bloom-release -r foxy --pull-request-only webots_ros2 --override-release-repository-url https://github.com/ros2-gbp/webots_ros2-release.git

You can say yes to all the default options (except for last one), which should be:

  • Repository Name: webots_ros2
  • Upstream Repository URI: https://github.com/cyberbotics/webots_ros2.git
  • Upstream VCS Type: git
  • Version: should match the version, e.g, 1.0.1 (or {auto})
  • Release Tag: should be the same than Version
  • Upstream Devel Branch: master
  • ROS Distro: foxy
  • Patches Directory: None
  • Release Repository Push URL: None (This indicates that the default release url should be used.)
  • Releasing complete, push to release repository?: Y
  • Would you like to create an OAuth token now: n

ROS-Distro update

Create a PR on https://github.com/ros/rosdistro (the diff is shown at the end of the bloom-release procedure).

Debugging

To create a test Debian package navigate to the target package and:

source /opt/ros/${ROS_DISTRO}/local_setup.bash
bloom-generate rosdebian
fakeroot debian/rules binary

The Debian package will be generated in the parent directory.

Clone this wiki locally