Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pykat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
finesse
pykat
Commits
e49f8ff5
Commit
e49f8ff5
authored
8 years ago
by
Daniel Brown
Browse files
Options
Downloads
Patches
Plain Diff
updating test urls
parent
89608943
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pykat/testing/web/templates/finesse_kat_history.html
+1
-1
1 addition, 1 deletion
pykat/testing/web/templates/finesse_kat_history.html
pykat/testing/web_server.py
+4
-2
4 additions, 2 deletions
pykat/testing/web_server.py
with
5 additions
and
3 deletions
pykat/testing/web/templates/finesse_kat_history.html
+
1
−
1
View file @
e49f8ff5
...
@@ -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=
"http
s
://
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>
...
...
This diff is collapsed.
Click to expand it.
pykat/testing/web_server.py
+
4
−
2
View file @
e49f8ff5
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment