make / scripts: git.janware.com -> devgit.janware.com
janware upstream development server moved from git.janware.com to devgit.janware.com. This commit follows the move with pretty much a simple
s/git.janware.com/devgit.janware.com/over jw-pkg. It found 14 matches, that's pretty bad.
FIXME: Reduce the redundancy, or, better, replace the devgit.janware.com goodies by a more generally useful concept altogether.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b37667d4df
commit
f6f6e56943
7 changed files with 14 additions and 14 deletions
|
|
@ -223,7 +223,7 @@ cmd_get()
|
|||
shift
|
||||
done
|
||||
|
||||
local git_srv_admin="$SSH $remote_user@git.janware.com /opt/jw-pkg/bin/git-srv-admin.sh"
|
||||
local git_srv_admin="$SSH $remote_user@devgit.janware.com /opt/jw-pkg/bin/git-srv-admin.sh"
|
||||
local from_user="${refspec[0]}"
|
||||
[ "$from_user" ] || from_user=$whoami
|
||||
|
||||
|
|
@ -312,7 +312,7 @@ log "JW_PKG_SSH_EXTRA_OPTS=$JW_PKG_SSH_EXTRA_OPTS"
|
|||
cur=0
|
||||
SSH=ssh
|
||||
[ "$GIT_SSH" ] && SSH=$GIT_SSH
|
||||
global_remote_base="ssh://git.janware.com"
|
||||
global_remote_base="ssh://devgit.janware.com"
|
||||
|
||||
while [ "${1:0:1}" = - ]; do
|
||||
case "$1" in
|
||||
|
|
@ -328,7 +328,7 @@ while [ "${1:0:1}" = - ]; do
|
|||
done
|
||||
|
||||
# Only janware.com ssh git supports subdirectories below users
|
||||
if [[ "$global_remote_base" =~ git.janware.com ]]; then
|
||||
if [[ "$global_remote_base" =~ devgit.janware.com ]]; then
|
||||
global_remote_subpath="/proj"
|
||||
else
|
||||
global_remote_subpath=""
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ ssh="$ssh -l $JANWARE_USER"
|
|||
for vcs in $vcss; do
|
||||
case "$vcs" in
|
||||
cvs|CVS) host=cvs.janware.com;;
|
||||
git|Git) host=git.janware.com;;
|
||||
git|Git) host=devgit.janware.com;;
|
||||
esac
|
||||
$ssh $host echo hallo >/dev/null 2>&1 || fatal "Can't ssh into host $host"
|
||||
done
|
||||
|
|
@ -112,7 +112,7 @@ for vcs in $vcss; do
|
|||
;;
|
||||
git|Git)
|
||||
local_git_proj=`ls -d */.git 2>/dev/null | sed 's%/[^/]*%%'`
|
||||
remote_git_proj=`$ssh git.janware.com /opt/jw-pkg/bin/git-srv-admin.sh -j list-personal-projects`
|
||||
remote_git_proj=`$ssh devgit.janware.com /opt/jw-pkg/bin/git-srv-admin.sh -j list-personal-projects`
|
||||
for p in $local_git_proj; do
|
||||
[ -L $p ] && continue
|
||||
[ -d $p ] || continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue