Update documentation about gitclone and fill changelog

parent 307a0140
Changes Changes
======= =======
0.10.3 (Unreleased) 0.11 (2012-09-04)
------------------- -----------------
* No change yet.
* Add slapos.recipe.build:gitclone recipe. [Cedric de Saint Martin]
0.10.2 (2012-08-02) 0.10.2 (2012-08-02)
------------------- -------------------
* Update manifest to include readme.rst [Cedric de Saint Martin] * Update manifest to include readme.rst [Cedric de Saint Martin]
0.10.1 (2012-08-02) 0.10.1 (2012-08-02)
------------------- -------------------
* Minor fix in ReST documentation formatting. [Cedric de Saint Martin] * Minor fix in ReST documentation formatting. [Cedric de Saint Martin]
0.10 (2012-07-02) 0.10 (2012-07-02)
----------------- -----------------
* Add ``format = yes|no`` option. [Antoine Catton] * Add ``format = yes|no`` option. [Antoine Catton]
0.9 (2012-06-07) 0.9 (2012-06-07)
---------------- ----------------
* Revert accidental release about upcoming version of slapos.recipe.build * Revert accidental release about upcoming version of slapos.recipe.build
0.8 (2012-06-07) 0.8 (2012-06-07)
......
...@@ -257,6 +257,7 @@ slapos.recipe.build:gitclone ...@@ -257,6 +257,7 @@ slapos.recipe.build:gitclone
**************************** ****************************
Checkout a git repository. Checkout a git repository.
Supports slapos.libnetworkcache if present.
Examples Examples
******** ********
...@@ -272,7 +273,7 @@ the recipe will pick up the latest commit on the remote master branch:: ...@@ -272,7 +273,7 @@ the recipe will pick up the latest commit on the remote master branch::
[git-clone] [git-clone]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
url = http://example.net/example.git/ repository = http://example.net/example.git/
This will clone the git repository in `parts/git-clone` directory. This will clone the git repository in `parts/git-clone` directory.
...@@ -287,21 +288,21 @@ run it will take the latest commit on this remote branch:: ...@@ -287,21 +288,21 @@ run it will take the latest commit on this remote branch::
[git-clone] [git-clone]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
url = http://example.net/example.git/ repository = http://example.net/example.git/
branch = testing branch = testing
Specific revision Specific revision
----------------- -----------------
You can specify a specific commit hash or tag using `revision` option. You can specify a specific commit hash or tag using `revision` option.
This option will cancel `branch` option, making it useless:: This option is not compatible with "branch" option::
[buildout] [buildout]
parts = git-clone parts = git-clone
[git-clone] [git-clone]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
url = http://example.net/example.git/ repository = http://example.net/example.git/
revision = 0123456789abcdef revision = 0123456789abcdef
Specific git binary Specific git binary
...@@ -316,8 +317,8 @@ option:: ...@@ -316,8 +317,8 @@ option::
[git-clone] [git-clone]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
url = http://example.net/example.git/ repository = http://example.net/example.git/
git-command = /usr/local/git/bin/git git-executable = /usr/local/git/bin/git
Full example Full example
------------ ------------
...@@ -333,9 +334,9 @@ Full example ...@@ -333,9 +334,9 @@ Full example
[git-clone] [git-clone]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
url = http://example.net/example.git/ repository = http://example.net/example.git/
git-command = ${git-binary:location}/bin/git git-command = ${git-binary:location}/bin/git
revision = specific-tag revision = 0123456789abcdef
*********************** ***********************
......
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