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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
slapos
Commits
8fd2acfd
Commit
8fd2acfd
authored
May 27, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Developers shall not choose names for published software.
parent
6924e1d4
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
14 deletions
+14
-14
.gitignore
.gitignore
+1
-1
CHANGES.txt
CHANGES.txt
+1
-1
README.txt
README.txt
+1
-1
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 @
8fd2acfd
*pyc
*pyc
build
build
dist
dist
slapos.
cookbook
.egg-info
slapos.
UNKOWN_NAME_TODO
.egg-info
CHANGES.txt
View file @
8fd2acfd
0.1 (unreleased)
0.1 (unreleased)
================
================
* All slapos.recipe.* became slapos.
cookbook
:* [Łukasz Nowak]
* All slapos.recipe.* became slapos.
UNKOWN_NAME_TODO
:* [Łukasz Nowak]
README.txt
View file @
8fd2acfd
slapos.
cookbook
slapos.
UNKOWN_NAME_TODO
===============
===============
Cook book of SlapOS recipes.
Cook book of SlapOS recipes.
setup.py
View file @
8fd2acfd
...
@@ -3,7 +3,7 @@ import glob
...
@@ -3,7 +3,7 @@ import glob
import
os
import
os
version
=
'0.1'
version
=
'0.1'
name
=
'slapos.
cookbook
'
name
=
'slapos.
UNKOWN_NAME_TODO
'
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 @
8fd2acfd
...
@@ -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.
cookbook
:build
recipe = slapos.
UNKOWN_NAME_TODO
: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.
cookbook
:buildcmmi
recipe = slapos.
UNKOWN_NAME_TODO
: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.
cookbook
:build
recipe = slapos.
UNKOWN_NAME_TODO
: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 @
8fd2acfd
...
@@ -13,7 +13,7 @@ Usage
...
@@ -13,7 +13,7 @@ Usage
download
download
[download]
[download]
recipe = slapos.
cookbook
:download
recipe = slapos.
UNKOWN_NAME_TODO
: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 @
8fd2acfd
...
@@ -15,18 +15,18 @@ Buildout configuration:
...
@@ -15,18 +15,18 @@ Buildout configuration:
...
...
[java]
[java]
recipe = slapos.
cookbook
:java
recipe = slapos.
UNKOWN_NAME_TODO
: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.
cookbook
:java
recipe = slapos.
UNKOWN_NAME_TODO
: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.
cookbook
:java
recipe = slapos.
UNKOWN_NAME_TODO
:java
flavour = openjdk
flavour = openjdk
...
...
slapos/recipe/README.librecipe.txt
View file @
8fd2acfd
librecipe
librecipe
=========
=========
Thanks to using slapos.
cookbook
:librecipe it is easier to create zc.buildout recipes in SlapOS environment.
Thanks to using slapos.
UNKOWN_NAME_TODO
: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 @
8fd2acfd
...
@@ -13,7 +13,7 @@ Usage
...
@@ -13,7 +13,7 @@ Usage
parts = template
parts = template
[template]
[template]
recipe = slapos.
cookbook
:template
recipe = slapos.
UNKOWN_NAME_TODO
: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 @
8fd2acfd
...
@@ -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.
cookbook
'
options
[
'eggs'
]
=
'slapos.
UNKOWN_NAME_TODO
'
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