Skip to content

Commit

Permalink
added git+ssh for url parsing in workspace extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Delval authored and mathias-luedtke committed Aug 13, 2021
1 parent f8acb61 commit c43b9a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ Or mixed:

DOWNSTREAM_WORKSPACE="github:ros-simulation/gazebo_ros_pkgs@melodic-devel https://raw.githubusercontent.com/ros-controls/ros_control/melodic-devel/ros_control.rosinstall -ros_control additional.repos"

To depend on a different repository of a private server using git and the SSH protocol:
::

UPSTREAM_WORKSPACE='git+ssh://git@private.server.net/repository#branch'

To filter the target workspace:
::

Expand Down
2 changes: 1 addition & 1 deletion industrial_ci/src/workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function ici_parse_repository_url {
gitlab | gl)
echo "${name%.git}" "git" "https://gitlab.com/$repo" "$fragment"
;;
'git+file'*|'git+http'*)
'git+file'*|'git+http'*|'git+ssh'*)
echo "${name%.git}" "git" "${scheme#git+}:$repo" "$fragment"
;;
git+*)
Expand Down

0 comments on commit c43b9a4

Please sign in to comment.