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
dcfb9be9
Commit
dcfb9be9
authored
May 27, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Name distribution slapos.cookbook
parent
9039007c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
15 deletions
+15
-15
.gitignore
.gitignore
+1
-1
CHANGES.txt
CHANGES.txt
+1
-1
README.txt
README.txt
+2
-2
setup.py
setup.py
+1
-1
slapos/recipe/README.build.txt
slapos/recipe/README.build.txt
+3
-3
slapos/recipe/README.download.txt
slapos/recipe/README.download.txt
+1
-1
slapos/recipe/README.java.txt
slapos/recipe/README.java.txt
+3
-3
slapos/recipe/README.librecipe.txt
slapos/recipe/README.librecipe.txt
+1
-1
slapos/recipe/README.template.txt
slapos/recipe/README.template.txt
+1
-1
slapos/recipe/librecipe.py
slapos/recipe/librecipe.py
+1
-1
No files found.
.gitignore
View file @
dcfb9be9
*pyc
*pyc
build
build
dist
dist
slapos.
UNKOWN_NAME_TODO
.egg-info
slapos.
cookbook
.egg-info
CHANGES.txt
View file @
dcfb9be9
0.1 (unreleased)
0.1 (unreleased)
================
================
* All slapos.recipe.* became slapos.
UNKOWN_NAME_TODO
:* [Łukasz Nowak]
* All slapos.recipe.* became slapos.
cookbook
:* [Łukasz Nowak]
README.txt
View file @
dcfb9be9
slapos.
UNKOWN_NAME_TODO
slapos.
cookbook
===============
========
===============
setup.py
View file @
dcfb9be9
...
@@ -3,7 +3,7 @@ import glob
...
@@ -3,7 +3,7 @@ import glob
import
os
import
os
version
=
'0.1'
version
=
'0.1'
name
=
'slapos.
UNKOWN_NAME_TODO
'
name
=
'slapos.
cookbook
'
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
...
...
slapos/recipe/README.build.txt
View file @
dcfb9be9
...
@@ -11,7 +11,7 @@ Example buildout::
...
@@ -11,7 +11,7 @@ Example buildout::
[zlib]
[zlib]
# Use standard configure, make, make install way
# Use standard configure, make, make install way
recipe = slapos.
UNKOWN_NAME_TODO
:build
recipe = slapos.
cookbook
:build
url = http://prdownloads.sourceforge.net/libpng/zlib-1.2.5.tar.gz?download
url = http://prdownloads.sourceforge.net/libpng/zlib-1.2.5.tar.gz?download
md5sum = c735eab2d659a96e5a594c9e8541ad63
md5sum = c735eab2d659a96e5a594c9e8541ad63
slapos_promisee =
slapos_promisee =
...
@@ -31,7 +31,7 @@ Example buildout::
...
@@ -31,7 +31,7 @@ Example buildout::
file:share/man/man3/zlib.3
file:share/man/man3/zlib.3
[file]
[file]
recipe = slapos.
UNKOWN_NAME_TODO
:buildcmmi
recipe = slapos.
cookbook
:buildcmmi
url = ftp://ftp.astron.com/pub/file/file-5.04.tar.gz
url = ftp://ftp.astron.com/pub/file/file-5.04.tar.gz
md5sum = accade81ff1cc774904b47c72c8aeea0
md5sum = accade81ff1cc774904b47c72c8aeea0
environment =
environment =
...
@@ -62,7 +62,7 @@ Example buildout::
...
@@ -62,7 +62,7 @@ Example buildout::
[somethingelse]
[somethingelse]
# default way with using script
# default way with using script
recipe = slapos.
UNKOWN_NAME_TODO
:build
recipe = slapos.
cookbook
:build
url_0 = http://host/path/file.tar.gz
url_0 = http://host/path/file.tar.gz
md5sum = 9631070eac74f92a812d4785a84d1b4e
md5sum = 9631070eac74f92a812d4785a84d1b4e
script =
script =
...
...
slapos/recipe/README.download.txt
View file @
dcfb9be9
...
@@ -13,7 +13,7 @@ Usage
...
@@ -13,7 +13,7 @@ Usage
download
download
[download]
[download]
recipe = slapos.
UNKOWN_NAME_TODO
:download
recipe = slapos.
cookbook
:download
url = https://some.url/file
url = https://some.url/file
Such profile will download https://some.url/file and put it in
Such profile will download https://some.url/file and put it in
...
...
slapos/recipe/README.java.txt
View file @
dcfb9be9
...
@@ -15,18 +15,18 @@ Buildout configuration:
...
@@ -15,18 +15,18 @@ Buildout configuration:
...
...
[java]
[java]
recipe = slapos.
UNKOWN_NAME_TODO
:java
recipe = slapos.
cookbook
:java
By default it will fetch Java 6u25, but you might want to install from another location or another version like this::
By default it will fetch Java 6u25, but you might want to install from another location or another version like this::
[java]
[java]
recipe = slapos.
UNKOWN_NAME_TODO
:java
recipe = slapos.
cookbook
:java
download-url = ftp://location/to/self-extracting/java.bin
download-url = ftp://location/to/self-extracting/java.bin
Or you can install openjdk instead.
Or you can install openjdk instead.
[java]
[java]
recipe = slapos.
UNKOWN_NAME_TODO
:java
recipe = slapos.
cookbook
:java
flavour = openjdk
flavour = openjdk
...
...
slapos/recipe/README.librecipe.txt
View file @
dcfb9be9
librecipe
librecipe
=========
=========
Thanks to using slapos.
UNKOWN_NAME_TODO
:librecipe it is easier to create zc.buildout recipes in SlapOS environment.
Thanks to using slapos.
cookbook
:librecipe it is easier to create zc.buildout recipes in SlapOS environment.
How to use?
How to use?
-----------
-----------
...
...
slapos/recipe/README.template.txt
View file @
dcfb9be9
...
@@ -13,7 +13,7 @@ Usage
...
@@ -13,7 +13,7 @@ Usage
parts = template
parts = template
[template]
[template]
recipe = slapos.
UNKOWN_NAME_TODO
:template
recipe = slapos.
cookbook
:template
url = http://server/with/template
url = http://server/with/template
# optional md5sum
# optional md5sum
md5sum = 1234567890
md5sum = 1234567890
...
...
slapos/recipe/librecipe.py
View file @
dcfb9be9
...
@@ -39,7 +39,7 @@ class BaseSlapRecipe:
...
@@ -39,7 +39,7 @@ class BaseSlapRecipe:
def
__init__
(
self
,
buildout
,
name
,
options
):
def
__init__
(
self
,
buildout
,
name
,
options
):
"""Default initialisation"""
"""Default initialisation"""
self
.
name
=
name
self
.
name
=
name
options
[
'eggs'
]
=
'slapos.
UNKOWN_NAME_TODO
'
options
[
'eggs'
]
=
'slapos.
cookbook
'
self
.
options
=
options
self
.
options
=
options
self
.
logger
=
logging
.
getLogger
(
self
.
name
)
self
.
logger
=
logging
.
getLogger
(
self
.
name
)
self
.
slap
=
slap
.
slap
()
self
.
slap
=
slap
.
slap
()
...
...
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