Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.toolbox
Commits
356e6558
Commit
356e6558
authored
Oct 11, 2012
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added vim header for tabs
parent
8af89be7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
2 deletions
+11
-2
slapos/runner/__init__.py
slapos/runner/__init__.py
+3
-0
slapos/runner/fileBrowser.py
slapos/runner/fileBrowser.py
+1
-0
slapos/runner/gittools.py
slapos/runner/gittools.py
+2
-1
slapos/runner/runnertest.py
slapos/runner/runnertest.py
+3
-1
slapos/runner/utils.py
slapos/runner/utils.py
+1
-0
slapos/runner/views.py
slapos/runner/views.py
+1
-0
No files found.
slapos/runner/__init__.py
View file @
356e6558
# -*- coding: utf-8 -*-
# vim: set et sts=2:
from
optparse
import
OptionParser
,
Option
import
ConfigParser
import
logging
...
...
slapos/runner/fileBrowser.py
View file @
356e6558
# -*- coding: utf-8 -*-
# vim: set et sts=2:
import
os
import
urllib
...
...
slapos/runner/gittools.py
View file @
356e6558
# -*- coding: utf-8 -*-
# vim: set et sts=2:
import
slapos.slap
import
time
...
...
@@ -179,4 +180,4 @@ def gitPull(project):
def
safeResult
(
result
):
"""Parse string and remove credential of the user"""
regex
=
re
.
compile
(
"(https:
\
/
\
/)([
\
w
\
d
\
._-]+:[
\
w
\
d
\
._-]+)
\
@([
\
S]+
\
s)
"
, re.VERBOSE)
return regex.sub(r'
\
1
\
3
', result)
\ No newline at end of file
return regex.sub(r'
\
1
\
3
', result)
slapos/runner/runnertest.py
View file @
356e6558
# -*- coding: utf-8 -*-
# vim: set et sts=2:
import
os
import
sys
import
views
...
...
@@ -290,4 +292,4 @@ def main():
unittest
.
main
(
module
=
SlaprunnerTestCase
,
argv
=
argv
)
if
__name__
==
'__main__'
:
main
()
\ No newline at end of file
main
()
slapos/runner/utils.py
View file @
356e6558
# -*- coding: utf-8 -*-
# vim: set et sts=2:
import
slapos.slap
import
time
...
...
slapos/runner/views.py
View file @
356e6558
# -*- coding: utf-8 -*-
# vim: set et sts=2:
from
flask
import
Flask
,
request
,
redirect
,
url_for
,
\
render_template
,
g
,
flash
,
jsonify
,
session
,
abort
,
send_file
...
...
Write
Preview
Markdown
is supported
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