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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos.recipe.build
Commits
e222b732
Commit
e222b732
authored
Oct 01, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests for git update recipe
parent
a15641a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
README.rst
README.rst
+23
-0
No files found.
README.rst
View file @
e222b732
...
...
@@ -295,6 +295,13 @@ Let's take a look at the buildout parts directory now::
d buildout
d git-clone
When updating, it will do a "git fetch; git reset @{upstream}"::
>>> print system(buildout)
Updating git-clone.
Fetching origin
HEAD is now at ...
Specific branch
---------------
...
...
@@ -331,6 +338,14 @@ And let's see that current branch is "build"::
>>> subprocess.check_output(['git', 'branch'])
'* build\n'
When updating, it will do a "git fetch; git reset build"::
>>> cd(sample_buildout)
>>> print system(buildout)
Updating git-clone.
Fetching origin
HEAD is now at ...
Specific revision
-----------------
...
...
@@ -369,6 +384,14 @@ And let's see that current branch is "gitclone"::
>>> subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'])
'2566127\n'
When updating, it will do a "git fetch; git reset revision"::
>>> cd(sample_buildout)
>>> print system(buildout)
Updating git-clone.
Fetching origin
HEAD is now at ...
Specific git binary
-------------------
...
...
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