Commit 8fd2acfd authored by Łukasz Nowak's avatar Łukasz Nowak

Developers shall not choose names for published software.

parent 6924e1d4
*pyc *pyc
build build
dist dist
slapos.cookbook.egg-info slapos.UNKOWN_NAME_TODO.egg-info
0.1 (unreleased) 0.1 (unreleased)
================ ================
* All slapos.recipe.* became slapos.cookbook:* [Łukasz Nowak] * All slapos.recipe.* became slapos.UNKOWN_NAME_TODO:* [Łukasz Nowak]
slapos.cookbook slapos.UNKOWN_NAME_TODO
=============== ===============
Cook book of SlapOS recipes. Cook book of SlapOS recipes.
...@@ -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"
......
...@@ -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 =
......
...@@ -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
......
...@@ -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
......
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?
----------- -----------
......
...@@ -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
......
...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment