use code.0x2620.org instead of git.0x2620.org
This commit is contained in:
parent
cf0ad718f7
commit
27d64f2ad5
3 changed files with 10 additions and 10 deletions
12
update.py
12
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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue