From eacf5000fb00d4f0428e1653a3ab2c62b0d45491 Mon Sep 17 00:00:00 2001 From: Christian Henkel Date: Thu, 27 Jun 2024 14:37:07 +0200 Subject: [PATCH] writing down the backport tool and its usage Signed-off-by: Christian Henkel --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 6766d318..c5103790 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,22 @@ Diagnostics messages that are not aggregated can be visualized by [`rqt_runtime_ - **Iron Irwini** by the [`ros2-iron` branch](https://github.com/ros/diagnostics/tree/ros2-iron) - **Jazzy Jalisco** by the [`ros2-jazzy` branch](https://github.com/ros/diagnostics/tree/ros2-jazzy) +## Workflow + +New features are to be developed in custom branches and then merged into the `ros2` branch. + +From there, the changes are backported to the other branches. + +## Backport Tooling + +This tool has proven to be useful: [backport](https://www.npmjs.com/package/backport) + +Use this command to port a given PR of `PR_NUMBER` to the other branches: + +```bash +backport --pr PR_NUMBER -b ros2-humble ros2-iron ros2-jazzy +``` + # License The source code is released under a [BSD 3-Clause license](LICENSE).