msg "can skip the following paragraph and already use the repository."
msg ""
msg "To get access, your key has to be approved first. For that, visit"
- msg "$devsite_url, then log in, create a \"New Issue\" on"
- msg "the \"Support\" tracker in the \"Repository\" category where you"
- msg "apply for access and paste the following output into the issue:"
+ msg "$gitsite_url, then log in, enter the"
+ msg "\"xonotic\" project, create an \"Issue\" tagged \"Repository Access\""
+ msg "to apply for access and paste the following output into the issue:"
+ msg ""
+ msg "After that, go to your profile settings, \"SSH Keys\", \"Add SSH Key\""
+ msg "and paste the following output:"
msg ""
msg "`cat ~/.ssh/id_rsa.pub`"
elif [ -f ~/.ssh/id_dsa.pub ]; then
msg "can skip the following paragraph and already use the repository."
msg ""
msg "To get access, your key has to be approved first. For that, visit"
- msg "$devsite_url, then log in, create a \"New Issue\" on"
- msg "the \"Support\" tracker in the \"Repository\" category where you"
- msg "apply for access and paste the following output into the issue:"
+ msg "$gitsite_url, then log in, enter the"
+ msg "\"xonotic\" project, create an \"Issue\" tagged \"Repository Access\""
+ msg "to apply for access and paste the following output into the issue:"
+ msg ""
+ msg "After that, go to your profile settings, \"SSH Keys\", \"Add SSH Key\""
+ msg "and paste the following output:"
msg ""
msg "`cat ~/.ssh/id_dsa.pub`"
else
ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa
msg ""
msg "To get access, your key has to be approved first. For that, visit"
- msg "$devsite_url, then log in, create a \"New Issue\" on"
- msg "the \"Support\" tracker in the \"Repository\" category where you"
- msg "apply for access and paste the following output into the issue:"
+ msg "$gitsite_url, then log in, enter the"
+ msg "\"xonotic\" project, create an \"Issue\" tagged \"Repository Access\""
+ msg "to apply for access and paste the following output into the issue:"
+ msg ""
+ msg "After that, go to your profile settings, \"SSH Keys\", \"Add SSH Key\""
+ msg "and paste the following output:"
msg ""
msg "`cat ~/.ssh/id_rsa.pub`"
fi
fi
o=`git config xonotic.all.mirrorselection 2>/dev/null || true`
git config xonotic.all.mirrorselection try_same
- verbose git clone "$url" "$d0/$d"
+ verbose git clone --branch "$branch" "$url" "$d0/$d"
git config xonotic.all.mirrorselection "$o"
enter "$d0/$d" verbose
fix_git_config "$url" "$pushurl"
- if [ "$branch" != "master" ]; then
- verbose git checkout --track -b "$branch" origin/"$branch"
- fi
cd "$d0"
fi
}