change default server from git to gitea
This commit is contained in:
parent
5ac35efb33
commit
0ca78c6925
3 changed files with 2 additions and 3 deletions
|
@ -93,7 +93,6 @@ if $dorepoupdate; then
|
|||
loginfo "$MSC_GIT submodule sync"
|
||||
logdebug "$($MSC_GIT submodule sync 2>&1)"
|
||||
loginfo "fetch repo${dosubmodupdate:+ and submodules}"
|
||||
#$MSC_GIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarning fetch failed; gitupdateend; exit 1; }
|
||||
$MSC_GIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarning fetch failed; gitupdateend; exit 1; }
|
||||
if ${dosubmodupdate:-false}; then
|
||||
lastupdatesubmodules
|
||||
|
|
|
@ -3,7 +3,7 @@ export MSC_GIT_REPO_UPDATE_DEFAULT=true
|
|||
export MSC_GIT_REPO_UPDATE_INTERVALL_DEFAULT=48 #intervall in hours
|
||||
export MSC_GIT_SUBMODULES_UPDATE_DEFAULT=true
|
||||
export MSC_GIT_SUBMODULES_UPDATE_INTERVALL_DEFAULT=196 #intervall in hours
|
||||
export MSC_GIT_SUBMODULES_SERVER_DEFAULT="git://git.schuerz.at/github.com/"
|
||||
export MSC_GIT_SUBMODULES_SERVER_DEFAULT="git://github.com/"
|
||||
export MSC_GIT_CHECKOUTSCRIPT_OPTIONS_DEFAULT="-h"
|
||||
export MSC_GIT_TIMEOUT_DEFAULT=5s
|
||||
export MSC_GIT_CHECKOUT_TIMEOUT_DEFAULT=20s
|
||||
|
|
|
@ -12,7 +12,7 @@ if ! $SSHS; then
|
|||
MSC_GIT_PROTOCOL_HTTP="http://"
|
||||
MSC_GIT_PROTOCOL_SSH="git@"
|
||||
MSC_GIT_PROTOCOL_FILE=""
|
||||
[ -z "${MSC_GIT_SERVER+x}" ] && MSC_GIT_SERVER="git.schuerz.at"
|
||||
[ -z "${MSC_GIT_SERVER+x}" ] && MSC_GIT_SERVER="gitea.schuerz.at"
|
||||
[ -z "${MSC_GIT_REPO_NAME+x}" ] && MSC_GIT_REPO_NAME="$(basename $MSC_BASE).git"
|
||||
[ -z "${MSC_GIT_REPO_PATH_HTTP+x}" ] && MSC_GIT_REPO_PATH_HTTP="/public/"
|
||||
[ -z "${MSC_GIT_REPO_PATH_SSH+x}" ] && MSC_GIT_REPO_PATH_SSH=":public/"
|
||||
|
|
Loading…
Reference in a new issue