Pin version of all external repos
Description
The recommended way to update external repos doesn't update if we just set a branch name but it does when using a tag or specific commit hash.
Currently this pertains to rosbridge_suite
and new_eagle_raptor
. From https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/master/autoware.auto.foxy.repos
src/external/rosbridge_suite:
type: git
url: https://github.com/RobotWebTools/rosbridge_suite.git
version: ros2
src/external/new_eagle_raptor:
type: git
url: https://github.com/NewEagleRaptor/raptor-dbw-ros2.git
version: foxy
I happened to have an old version that led to a compilation error that has been fixed in the latest version.
How to Reproduce
@autoware:~/AutowareAuto (1186-update-autoware-auto-to-use-latest-autoware_auto_msgs $% u+2)$ cd ./src/external/new_eagle_raptor
@autoware:~/AutowareAuto/src/external/new_eagle_raptor (foxy % u=)$ git reset --hard HEAD~5
HEAD is now at 470dfe6 Added doxygen comments for enums
@autoware:~/AutowareAuto/src/external/new_eagle_raptor (foxy % u-5)$ cd -
/home/frederik.beaujean/AutowareAuto
@autoware:~/AutowareAuto (1186-update-autoware-auto-to-use-latest-autoware_auto_msgs $% u+2)$ vcs import < autoware.auto.$ROS_DISTRO.repos
.....
=== ./src/external/autoware_auto_msgs (git) ===
HEAD is now at fc7ce09 [#11] Build ClassifiedRoi messages
=== ./src/external/new_eagle_raptor (git) ===
Already on 'foxy'
Your branch is behind 'origin/foxy' by 5 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Expected behavior
Updating external dependencies should be a no-brainer. I don't want to have to check the output, recurse to a subdirectory, and execute the appropriate git command
We should use a fixed version of the code instead of acting as a 2nd build service. For eagle raptor, they just released foxy-1.1.0. We should pin to that version
Edited by Frederik Beaujean