From 95d088c4292a4dc6cbec7e479e3d7e8872134ddb Mon Sep 17 00:00:00 2001 From: Maurice Date: Thu, 10 Sep 2026 23:12:53 +0800 Subject: [PATCH 1/2] Add build-up-to Pixi task Signed-off-by: Maurice --- pixi.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pixi.toml b/pixi.toml index c84d6b61a..8f3a60025 100644 --- a/pixi.toml +++ b/pixi.toml @@ -48,6 +48,12 @@ cmd = "rattler-build build --recipe-dir ./recipes -m ./conda_build_config.yaml - depends-on = ["generate-recipes"] description = "Build all packages, from the ./recipes dir. This will skip already existing packages, so it can be used to build only a subset of packages by first removing the recipes of the packages you want to rebuild (see `pixi remove-recipes`)." +[tasks.build-up-to] +cmd = "rattler-build build --recipe-dir ./recipes --up-to {{ PACKAGE }} -m ./conda_build_config.yaml -c https://prefix.dev/robostack-rolling -c https://prefix.dev/conda-forge --skip-existing" +depends-on = ["generate-recipes"] +args = [{ arg = "PACKAGE" }] +description = "Build the dependency chain up to a package, from the ./recipes dir. Pass the package name as a positional argument with the `ros-rolling-` prefix, e.g. `pixi run build-up-to ros-rolling-nav2-smac-planner`." + [tasks.remove-recipes] cmd = "rm -rf recipes_only_patch; rm -rf recipes; mkdir recipes" description = "Remove all generated recipes, before regenerating them." From 6d43cc95ff751ddc34df8062c7c5986ba4595efb Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 15 Sep 2026 17:06:56 +0800 Subject: [PATCH 2/2] Update to use ros2- prefix Signed-off-by: Maurice --- pixi.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixi.toml b/pixi.toml index 8f3a60025..fae9361bc 100644 --- a/pixi.toml +++ b/pixi.toml @@ -52,7 +52,7 @@ description = "Build all packages, from the ./recipes dir. This will skip alread cmd = "rattler-build build --recipe-dir ./recipes --up-to {{ PACKAGE }} -m ./conda_build_config.yaml -c https://prefix.dev/robostack-rolling -c https://prefix.dev/conda-forge --skip-existing" depends-on = ["generate-recipes"] args = [{ arg = "PACKAGE" }] -description = "Build the dependency chain up to a package, from the ./recipes dir. Pass the package name as a positional argument with the `ros-rolling-` prefix, e.g. `pixi run build-up-to ros-rolling-nav2-smac-planner`." +description = "Build the dependency chain up to a package, from the ./recipes dir. Pass the package name as a positional argument with the `ros2-` prefix, e.g. `pixi run build-up-to ros2-nav2-smac-planner`." [tasks.remove-recipes] cmd = "rm -rf recipes_only_patch; rm -rf recipes; mkdir recipes" @@ -60,5 +60,5 @@ description = "Remove all generated recipes, before regenerating them." [tasks.build-one] cmd = "cp ./patch/{{ PACKAGE }}.*patch ./recipes/{{ PACKAGE }}/patch/; rattler-build build --recipe ./recipes/{{ PACKAGE }}/recipe.yaml -m ./conda_build_config.yaml -c https://prefix.dev/robostack-rolling -c https://prefix.dev/conda-forge" -args = [{ arg = "PACKAGE", default = "ros-rolling-ros-workspace" }] -description = "Build a single package, from the ./recipes dir. Add the `ros-rolling-` prefix to the package name, e.g. `pixi build-one --package ros-rolling-ros-workspace`" +args = [{ arg = "PACKAGE", default = "ros2-ros-workspace" }] +description = "Build a single package, from the ./recipes dir. Add the `ros2-` prefix to the package name, e.g. `pixi run build-one ros2-ros-workspace`."