Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
61ffc2e2
Commit
61ffc2e2
authored
May 31, 2013
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Plain Diff
Merge branche "trac" into master
parents
9eb42b86
1f2626e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapos/recipe/trac.py
slapos/recipe/trac.py
+3
-3
No files found.
slapos/recipe/trac.py
View file @
61ffc2e2
...
...
@@ -96,12 +96,12 @@ class Recipe(GenericBaseRecipe):
else
:
self
.
logger
.
info
(
"The directory %s already exist, skip project installation"
%
project_dir
)
trac_args
=
[
trac_admin
,
project_dir
,
'
upgrade
'
]
trac_args
=
[
trac_admin
,
project_dir
,
'
repository'
,
'list
'
]
process_upgrade
=
subprocess
.
Popen
(
trac_args
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
STDOUT
,
env
=
env
)
stderr
=
subprocess
.
STDOUT
)
result
=
process_upgrade
.
communicate
()[
0
]
if
process_upgrade
.
returncode
is
None
or
process_upgrade
.
returncode
!=
0
:
self
.
logger
.
error
(
"Failed to
upgrade
Trac.
\
n
The error was: %s"
%
result
)
self
.
logger
.
error
(
"Failed to
run
Trac.
\
n
The error was: %s"
%
result
)
return
[]
#Add All grant to admin user
...
...
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