summaryrefslogtreecommitdiffstats
path: root/build/setup/repos.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-11-09 20:16:44 +0100
committerSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-11-09 20:16:44 +0100
commit28190b6d4664508ad8b1cf88a82378b02f487cfa (patch)
tree8bb6f21b9feb1013f67a4c1a147c95c4ff976fc4 /build/setup/repos.sh
parent8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 (diff)
downloadccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.tar.gz
ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.tar.bz2
ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.tar.xz
ccpi-28190b6d4664508ad8b1cf88a82378b02f487cfa.zip
Support ssh server for remote debugging
Diffstat (limited to 'build/setup/repos.sh')
-rw-r--r--build/setup/repos.sh18
1 files changed, 13 insertions, 5 deletions
diff --git a/build/setup/repos.sh b/build/setup/repos.sh
index 9e76208..92c1a2f 100644
--- a/build/setup/repos.sh
+++ b/build/setup/repos.sh
@@ -2,19 +2,27 @@
set -o errexit
-setup_path="$1"
-repos_path="$2"
+repo_group="$1"
+setup_path="$2"
+repos_path="$3"
+[ -z "$repo_group" ] && repo_group="all"
[ -z "$setup_path" ] && setup_path="/root/setup"
[ -z "$repos_path" ] && repos_path="/ccpi/repos"
-repos=( \
- "https://github.com/astra-toolbox/astra-toolbox.git tags/v1.8.3 astra.sh" \
+repos_astra=( \
+ "https://github.com/astra-toolbox/astra-toolbox.git master astra.sh" \
+)
+
+repos_ccpi=( \
"https://github.com/vais-ral/CCPi-Framework.git master ccpi.sh" \
"https://github.com/vais-ral/CCPi-FrameworkPlugins.git master ccpi.sh" \
- "https://github.com/vais-ral/CCPi-astra.git update_projectors ccpi.sh" \
+ "https://github.com/vais-ral/CCPi-astra.git master ccpi.sh" \
"https://github.com/vais-ral/CCPi-Regularisation-Toolkit.git master ccpi.sh" \
)
+repos_all=("${repos_astra[@]}" "${repos_ccpi[@]}")
+declare -n repos="repos_$repo_group"
+
function install_repo {
repo="$1"
name=$(basename "$repo" .git)