|
a/Allura/allura/controllers/project.py |
|
b/Allura/allura/controllers/project.py |
|
... |
|
... |
167 |
if project_name:
|
167 |
if project_name:
|
168 |
c.project.name = project_name
|
168 |
c.project.name = project_name
|
169 |
if project_description:
|
169 |
if project_description:
|
170 |
c.project.short_description = project_description
|
170 |
c.project.short_description = project_description
|
171 |
ming.orm.ormsession.ThreadLocalORMSession.flush_all()
|
171 |
ming.orm.ormsession.ThreadLocalORMSession.flush_all()
|
|
|
172 |
offset = c.project.ordered_mounts(include_search=True)[-1]['ordinal'] + 1
|
172 |
for i, tool in enumerate(kw):
|
173 |
for i, tool in enumerate(kw):
|
173 |
if kw[tool]:
|
174 |
if kw[tool]:
|
174 |
c.project.install_app(tool, ordinal=i)
|
175 |
c.project.install_app(tool, ordinal=i+offset)
|
175 |
flash('Welcome to the SourceForge Beta System! '
|
176 |
flash('Welcome to the SourceForge Beta System! '
|
176 |
'To get started, fill out some information about your project.')
|
177 |
'To get started, fill out some information about your project.')
|
177 |
redirect(c.project.script_name + 'admin/overview')
|
178 |
redirect(c.project.script_name + 'admin/overview')
|
178 |
|
179 |
|
179 |
@expose()
|
180 |
@expose()
|