Commit 67cf5279 authored by totte's avatar totte

Update make_chroot.sh as we've switched from gitolite to GitLab

parent d5ca21fc
......@@ -29,8 +29,8 @@ version="2.0"
# Remote paths
rsync_server=rsync.chakralinux.org
pkgsource="https://$rsync_server/packages/"
remote="ssh://git@git.chakralinux.org"
remote_n="git://git.chakralinux.org"
remote="ssh://git@code.chakralinux.org"
remote_n="https://code.chakralinux.org"
repos=(
'core'
......@@ -154,7 +154,9 @@ clone_repositories() {
notice "Skipping '$repo', because '$dst' already exists."
continue
fi
git clone "$remote/$repo" "$dst"
# git clone https://code.chakralinux.org/packages/core.git for read-only
# git clone git@code.chakralinux.org:packages/core.git for write access
git clone "$remote:$repo" "$dst"
#TODO is there a special exit code if permission denied?
if [[ $? -ne 0 ]]; then
error "Failed to clone the git repository '$repo' (do you have access rights?)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment