Commit e49f8ff5 authored by Daniel Brown's avatar Daniel Brown
Browse files

updating test urls

parent 89608943
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
{% for item in data%} {% for item in data%}
<tr> <tr>
<td><a href="/finesse/view/{{item[0]}}/">{{item[0]}}</a></td> <td><a href="/finesse/view/{{item[0]}}/">{{item[0]}}</a></td>
<td><a href="http://kvasir.sr.bham.ac.uk/redmine/projects/finesse/repository/revisions/{{item[1]}}/">{{item[1]}}</a></td> <td><a href="https://git.ligo.org/finesse/finesse/commit/{{item[1]}}/">{{item[1]}}</a></td>
<td>{{item[2]}}</td> <td>{{item[2]}}</td>
<td>{{item[3]}}</td> <td>{{item[3]}}</td>
<td>{{item[4]}}</td> <td>{{item[4]}}</td>
......
...@@ -3,6 +3,8 @@ import sys ...@@ -3,6 +3,8 @@ import sys
from flask import Flask from flask import Flask
from optparse import OptionParser from optparse import OptionParser
repo_url = "https://git.ligo.org/finesse"
def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/git"): def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/git"):
os.environ["GIT_BIN"] = git_bin os.environ["GIT_BIN"] = git_bin
...@@ -32,7 +34,7 @@ def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/g ...@@ -32,7 +34,7 @@ def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/g
# need local copy of src # need local copy of src
if not os.path.exists(os.path.join(app.instance_path,"finesse_src")): if not os.path.exists(os.path.join(app.instance_path,"finesse_src")):
print "finesse src folder didn't exist, cloning now..." print "finesse src folder didn't exist, cloning now..."
utils.git(["clone","https://gitlab.aei.uni-hannover.de/finesse/finesse.git","finesse_src"]) utils.git(["clone","%s/finesse.git"%repo_url,"finesse_src"])
else: else:
# get the latest version for logs etc. # get the latest version for logs etc.
utils.git("pull", cwd=os.path.join(app.instance_path,"finesse_src")) utils.git("pull", cwd=os.path.join(app.instance_path,"finesse_src"))
...@@ -42,7 +44,7 @@ def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/g ...@@ -42,7 +44,7 @@ def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/g
# need local copy of test # need local copy of test
if not os.path.exists(os.path.join(app.instance_path,"finesse_test")): if not os.path.exists(os.path.join(app.instance_path,"finesse_test")):
print "finesse test folder didn't exist, cloning now..." print "finesse test folder didn't exist, cloning now..."
utils.git(["clone","git://gitmaster.atlas.aei.uni-hannover.de/finesse/test.git","finesse_test"]) utils.git(["clone","%s/test.git"%repo_url,"finesse_test"])
utils.git(["config","core.sharedRepository","true"], cwd="./finesse_test/") utils.git(["config","core.sharedRepository","true"], cwd="./finesse_test/")
# load up the actual interface code # load up the actual interface code
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment