From 225033130c15e38c621a2beff2cb58ccaa892f65 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 27 Dec 2023 22:11:26 +0000 Subject: [PATCH] feat: finished listing the repos, should be all good now Closes #50 --- sync/repos.csv | 14 ++++++++++++-- sync/sync.sh | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/sync/repos.csv b/sync/repos.csv index 354a175..53ca74b 100644 --- a/sync/repos.csv +++ b/sync/repos.csv @@ -1,3 +1,13 @@ id_local, remote_url -4,https://gitlab.com/compsoc1/skynet/nixos.git -9,https://gitlab.com/compsoc1/skynet/ldap/backend.git +4, https://gitlab.com/compsoc1/skynet/nixos.git +9, https://gitlab.com/compsoc1/skynet/ldap/backend.git +10, https://gitlab.com/compsoc1/skynet/ldap/frontend.git +13, https://gitlab.com/compsoc1/skynet/website/2023.git +14, https://gitlab.com/compsoc1/skynet/website/2016.git +17, https://gitlab.com/compsoc1/skynet/website/alumni-renew.git +18, https://gitlab.com/compsoc1/compsoc/constitution.git +20, https://gitlab.com/compsoc1/compsoc/presentations/presentations.git +21, https://gitlab.com/compsoc1/skynet/discord-bot.git +22, https://gitlab.com/compsoc1/skynet/scripts.git +29, https://gitlab.com/compsoc1/skynet/website/games.skynet.ie.git +44, https://gitlab.com/compsoc1/compsoc/presentations/python_catchup.git diff --git a/sync/sync.sh b/sync/sync.sh index ff5a66d..ba42cf4 100644 --- a/sync/sync.sh +++ b/sync/sync.sh @@ -26,8 +26,9 @@ Mirror-Create(){ local body="url=https://oauth2:$token_remote@$REPO&enabled=true&only_protected_branches=false&keep_divergent_refs=false" local uri="https://gitlab.skynet.ie/api/v4/projects/$id/remote_mirrors" echo $uri - local tmp="" curl -s -X "POST" "$uri" --header "PRIVATE-TOKEN: $token" --data $body + # to put output on a new line + echo "" } Main() {