Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
e49f8ff5
Commit
e49f8ff5
authored
Feb 08, 2017
by
Daniel Brown
Browse files
updating test urls
parent
89608943
Changes
2
Show whitespace changes
Inline
Side-by-side
pykat/testing/web/templates/finesse_kat_history.html
View file @
e49f8ff5
...
...
@@ -19,7 +19,7 @@
{% for item in data%}
<tr>
<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=
"http
s
://
git.ligo.org/finesse/finesse/commit
/{{item[1]}}/"
>
{{item[1]}}
</a></td>
<td>
{{item[2]}}
</td>
<td>
{{item[3]}}
</td>
<td>
{{item[4]}}
</td>
...
...
pykat/testing/web_server.py
View file @
e49f8ff5
...
...
@@ -3,6 +3,8 @@ import sys
from
flask
import
Flask
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"
):
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
# need local copy of src
if
not
os
.
path
.
exists
(
os
.
path
.
join
(
app
.
instance_path
,
"finesse_src"
)):
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
:
# get the latest version for logs etc.
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
# need local copy of test
if
not
os
.
path
.
exists
(
os
.
path
.
join
(
app
.
instance_path
,
"finesse_test"
)):
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/"
)
# load up the actual interface code
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment