Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.build
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.recipe.build
Commits
f869cb59
Commit
f869cb59
authored
Sep 04, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentation about gitclone and fill changelog
parent
307a0140
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
CHANGES.txt
CHANGES.txt
+8
-3
README.rst
README.rst
+9
-8
No files found.
CHANGES.txt
View file @
f869cb59
Changes
=======
0.10.3 (Unreleased)
-------------------
* No change yet.
0.11 (2012-09-04)
-----------------
* Add slapos.recipe.build:gitclone recipe. [Cedric de Saint Martin]
0.10.2 (2012-08-02)
-------------------
* Update manifest to include readme.rst [Cedric de Saint Martin]
0.10.1 (2012-08-02)
-------------------
* Minor fix in ReST documentation formatting. [Cedric de Saint Martin]
0.10 (2012-07-02)
-----------------
* Add ``format = yes|no`` option. [Antoine Catton]
0.9 (2012-06-07)
----------------
* Revert accidental release about upcoming version of slapos.recipe.build
0.8 (2012-06-07)
...
...
README.rst
View file @
f869cb59
...
...
@@ -257,6 +257,7 @@ slapos.recipe.build:gitclone
****************************
Checkout a git repository.
Supports slapos.libnetworkcache if present.
Examples
********
...
...
@@ -272,7 +273,7 @@ the recipe will pick up the latest commit on the remote master branch::
[git-clone]
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.
...
...
@@ -287,21 +288,21 @@ run it will take the latest commit on this remote branch::
[git-clone]
recipe = slapos.recipe.build:gitclone
url
= http://example.net/example.git/
repository
= http://example.net/example.git/
branch = testing
Specific revision
-----------------
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]
parts = git-clone
[git-clone]
recipe = slapos.recipe.build:gitclone
url
= http://example.net/example.git/
repository
= http://example.net/example.git/
revision = 0123456789abcdef
Specific git binary
...
...
@@ -316,8 +317,8 @@ option::
[git-clone]
recipe = slapos.recipe.build:gitclone
url
= http://example.net/example.git/
git-
command
= /usr/local/git/bin/git
repository
= http://example.net/example.git/
git-
executable
= /usr/local/git/bin/git
Full example
------------
...
...
@@ -333,9 +334,9 @@ Full example
[git-clone]
recipe = slapos.recipe.build:gitclone
url
= http://example.net/example.git/
repository
= http://example.net/example.git/
git-command = ${git-binary:location}/bin/git
revision =
specific-tag
revision =
0123456789abcdef
***********************
...
...
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