# now actually time it
(
set +x
- export REPO=$1 # so that the sh -c subshell can use it
+ export REPO="$1" # so that the sh -c subshell can use it
{ measure_time sh -c 'git ls-remote "$REPO" refs/heads/master >/dev/null 2>&1'; } 2>&1 >/dev/null | head -n 1 | cut -d ' ' -f 2 | tr -d . | sed 's,^0*,,' | grep . || echo 0
# unit: clock ticks (depends on what "time" returns
)
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