Skip to content

Commit

Permalink
Fix commit header of commits generated in icub-models repo (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored May 30, 2024
1 parent 61024f6 commit 5f1654a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ scripts = ["clean_env.sh"]
# As of pixi 0.13.0, pixi does not support git pip packages, so we install it from source
# Specific commit of urdfdom_py is a workaround for https://github.com/robotology/simmechanics-to-urdf/issues/36
header_commit = { cmd = "echo Automatic build of models via icub-models-generator. > ./deploy_commit_message" }
header_repos = { cmd = "echo ### Dependencies information of dependencies installed manually: >> ./deploy_commit_message", depends_on = ["header_commit"] }
header_own_version = {cmd = "echo icub-models-generator commit: robotology/icub-models-generator@$(git rev-parse HEAD) >> ./deploy_commit_message", depends_on = ["header_commit"]}
header_repos = { cmd = "echo ### Dependencies information of dependencies installed manually: >> ./deploy_commit_message", depends_on = ["header_own_version"] }
install_urdfdom_py = { cmd = "export URDF_PARSER_PY_COMMIT=31474b9baaf7c3845b40e5a9aa87d5900a2282c3 && pip install git+https://github.com/ros/urdf_parser_py.git@$URDF_PARSER_PY_COMMIT --no-deps && echo urdf_parser_py commit: ros/urdf_parser_py@$URDF_PARSER_PY_COMMIT >> ./deploy_commit_message", depends_on = ["header_repos"]}
install_simmechanics_to_urdf = { cmd = "export SIMMECHANICS_TO_URDF_COMMIT=22caa23cfe7063299c5746304850b8afd74f4e1f && pip install git+https://github.com/robotology/simmechanics-to-urdf@$SIMMECHANICS_TO_URDF_COMMIT --no-deps && echo icub-model-generator commit: robotology/icub-models-generator@$SIMMECHANICS_TO_URDF_COMMIT >> ./deploy_commit_message", depends_on = ["install_urdfdom_py"] }
install_simmechanics_to_urdf = { cmd = "export SIMMECHANICS_TO_URDF_COMMIT=22caa23cfe7063299c5746304850b8afd74f4e1f && pip install git+https://github.com/robotology/simmechanics-to-urdf@$SIMMECHANICS_TO_URDF_COMMIT --no-deps && echo simmechanics-to-urdf commit: robotology/simmechanics-to-urdf@$SIMMECHANICS_TO_URDF_COMMIT >> ./deploy_commit_message", depends_on = ["install_urdfdom_py"] }
header_pixi_list = { cmd = "echo ### Dependencies information via pixi list: >> ./deploy_commit_message", depends_on = ["install_simmechanics_to_urdf"]}
pixi_list = { cmd = "pixi list >> ./deploy_commit_message", depends_on = ["header_pixi_list"]}
configure_cmake_project = { cmd = "cmake -GNinja -S. -B.build -DICUB_MODELS_SOURCE_DIR=$ICUB_MODELS_SOURCE_DIR -DBUILD_TESTING:BOOL=ON", depends_on = ["pixi_list"]}
Expand Down

0 comments on commit 5f1654a

Please sign in to comment.