From 38f7f654ce284342343929072f937275aae81fce Mon Sep 17 00:00:00 2001 From: Dale Henrichs Date: Tue, 28 Jan 2025 16:47:59 -0800 Subject: [PATCH] Issue #32: conditionally install RemoteServiceReplication when urlType is ssh ... avoid cloning Announcements when https urls are required (on github) --- tests/test_rowanV3.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/test_rowanV3.sh b/tests/test_rowanV3.sh index c804f3e..36a483a 100755 --- a/tests/test_rowanV3.sh +++ b/tests/test_rowanV3.sh @@ -145,9 +145,12 @@ if [ "$template" = "minimal_rowan3" ] ; then installProject.stone file:product/examples/GsCommands/projectsHome/GsCommands/rowan/specs/GsCommands.ston \ --projectsHome=product/examples/GsCommands/projectsHome $* - echo "installing RemoteServiceReplication -- partial workaround for https://github.com/GemTalk/Rowan/issues/905" - installProject.stone file:$STONES_HOME/$registry/common_projects/RemoteServiceReplication/rowan/specs/RemoteServiceReplication.ston \ - --projectsHome=$STONES_HOME/$registry/common_projects $* + if [ "$urlType" = "ssh" ] ; then + # RemoteServiceReplication requires Announcements and is defined to use ssh clone + echo "installing RemoteServiceReplication -- partial workaround for https://github.com/GemTalk/Rowan/issues/905" + installProject.stone file:$STONES_HOME/$registry/common_projects/RemoteServiceReplication/rowan/specs/RemoteServiceReplication.ston \ + --projectsHome=$STONES_HOME/$registry/common_projects $* + fi echo "installing RowanClientServices" installProject.stone file:$STONES_HOME/$registry/gs_projects/RowanClientServicesV3/rowan/specs/RowanClientServices.ston \ @@ -157,7 +160,7 @@ if [ "$template" = "minimal_rowan3" ] ; then # install GsDevKit_stones using Rowan installProject.stone script echo "installing GsDevKit_stones" installProject.stone file:$GSDEVKIT_STONES_ROOT/rowan/specs/GsDevKit_stones.ston \ - --projectsHome=$GSDEVKIT_STONES_ROOT/.. $* + --projectsHome=$GSDEVKIT_STONES_ROOT/.. $* fi # delete the stone