diff --git a/ctl b/ctl index 07e8380a..816b843d 100755 --- a/ctl +++ b/ctl @@ -27,16 +27,16 @@ if [ "$action" = "init" ]; then $SUDO bin/python3 -m pip install -U --ignore-installed "pip<9" fi if [ ! -d static/oxjs ]; then - $SUDO git clone -b $branch https://git.0x2620.org/oxjs.git static/oxjs + $SUDO git clone -b $branch https://code.0x2620.org/0x2620/oxjs.git static/oxjs fi $SUDO mkdir -p src if [ ! -d src/oxtimelines ]; then - $SUDO git clone -b $branch https://git.0x2620.org/oxtimelines.git src/oxtimelines + $SUDO git clone -b $branch https://code.0x2620.org/0x2620/oxtimelines.git src/oxtimelines fi for package in oxtimelines python-ox; do cd ${BASE} if [ ! -d src/${package} ]; then - $SUDO git clone -b $branch https://git.0x2620.org/${package}.git src/${package} + $SUDO git clone -b $branch https://code.0x2620.org/0x2620/${package}.git src/${package} fi cd ${BASE}/src/${package} diff --git a/update.py b/update.py index 1561636c..04aaaa30 100755 --- a/update.py +++ b/update.py @@ -13,19 +13,19 @@ from os.path import join, exists repos = { "pandora": { - "url": "https://git.0x2620.org/pandora.git", + "url": "https://code.0x2620.org/0x2620/pandora.git", "path": ".", }, "oxjs": { - "url": "https://git.0x2620.org/oxjs.git", + "url": "https://code.0x2620.org/0x2620/oxjs.git", "path": "./static/oxjs", }, "oxtimelines": { - "url": "https://git.0x2620.org/oxtimelines.git", + "url": "https://code.0x2620.org/0x2620/oxtimelines.git", "path": "./src/oxtimelines", }, "python-ox": { - "url": "https://git.0x2620.org/python-ox.git", + "url": "https://code.0x2620.org/0x2620/python-ox.git", "path": "./src/python-ox", } } @@ -207,12 +207,12 @@ if __name__ == "__main__": for component in ('oxtimelines', 'python-ox'): if not os.path.exists('./src/%s/.git' % component): run('./bin/pip', 'install', '-e', - 'git+https://git.0x2620.org/%s.git#egg=%s' % (component, component), + 'git+https://code.0x2620.org/0x2620/%s.git#egg=%s' % (component, component), '--exists-action', 'w') if not os.path.exists('./static/oxjs/.git'): if os.path.exists('static/oxjs'): shutil.move('static/oxjs', 'static/oxjs_bzr') - run('git', 'clone', '--depth', '1', 'https://git.0x2620.org/oxjs.git', 'static/oxjs') + run('git', 'clone', '--depth', '1', 'https://code.0x2620.org/0x2620/oxjs.git', 'static/oxjs') run('./pandora/manage.py', 'update_static') if os.path.exists('static/oxjs_bzr'): shutil.rmtree('static/oxjs_bzr') diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index cef8bd86..c3f44f6c 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -153,7 +153,7 @@ else fi # checkout pandora from git -git clone https://git.0x2620.org/pandora.git /srv/pandora +git clone https://code.0x2620.org/0x2620/pandora.git /srv/pandora cd /srv/pandora git checkout $BRANCH chown -R $PANDORA:$PANDORA /srv/pandora