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
17b6b7bd
Commit
17b6b7bd
authored
Dec 06, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sphinx: move component to unstable, remove recipe
parent
c1794c82
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
654 deletions
+0
-654
component/unstable/sphinx/README
component/unstable/sphinx/README
+0
-0
component/unstable/sphinx/buildout.cfg
component/unstable/sphinx/buildout.cfg
+0
-0
component/unstable/sphinx/sphinx-1.10-beta-snowball.patch
component/unstable/sphinx/sphinx-1.10-beta-snowball.patch
+0
-0
setup.py
setup.py
+0
-1
slapos/recipe/sphinx/__init__.py
slapos/recipe/sphinx/__init__.py
+0
-57
slapos/recipe/sphinx/template/sphinx.conf.in
slapos/recipe/sphinx/template/sphinx.conf.in
+0
-596
No files found.
component/sphinx/README
→
component/
unstable/
sphinx/README
View file @
17b6b7bd
File moved
component/sphinx/buildout.cfg
→
component/
unstable/
sphinx/buildout.cfg
View file @
17b6b7bd
File moved
component/sphinx/sphinx-1.10-beta-snowball.patch
→
component/
unstable/
sphinx/sphinx-1.10-beta-snowball.patch
View file @
17b6b7bd
File moved
setup.py
View file @
17b6b7bd
...
...
@@ -158,7 +158,6 @@ setup(name=name,
'slapconfiguration.serialised = slapos.recipe.slapconfiguration:Serialised'
,
'slapconfiguration.jsondump = slapos.recipe.slapconfiguration:JsonDump'
,
'slapcontainer = slapos.recipe.container:Recipe'
,
'sphinx= slapos.recipe.sphinx:Recipe'
,
'squid = slapos.recipe.squid:Recipe'
,
'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe'
,
'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request'
,
...
...
slapos/recipe/sphinx/__init__.py
deleted
100644 → 0
View file @
c1794c82
##############################################################################
#
# Copyright (c) 2011 Vifib SARL and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
slapos.recipe.librecipe
import
GenericBaseRecipe
class
Recipe
(
GenericBaseRecipe
):
def
install
(
self
):
# Configuration file
config
=
dict
(
data_directory
=
self
.
options
[
'data-directory'
],
ip_address
=
self
.
options
[
'ip'
],
port
=
self
.
options
[
'sphinx-port'
],
sql_port
=
self
.
options
[
'sql-port'
],
searchd_log
=
self
.
options
[
'searchd-log'
],
query_log
=
self
.
options
[
'query-log'
],
pid
=
self
.
options
[
'pid'
],
)
sphinx_conf_path
=
self
.
createFile
(
self
.
options
[
'configuration-file'
],
self
.
substituteTemplate
(
self
.
getTemplateFilename
(
'sphinx.conf.in'
),
config
)
)
# Create init script
wrapper
=
self
.
createWrapper
(
self
.
options
[
'wrapper'
],
(
self
.
options
[
'sphinx-searchd-binary'
].
strip
(),
'-c'
,
sphinx_conf_path
,
'--nodetach'
),
)
return
[
wrapper
,
sphinx_conf_path
]
slapos/recipe/sphinx/template/sphinx.conf.in
deleted
100644 → 0
View file @
c1794c82
This diff is collapsed.
Click to expand it.
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