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
Xavier Thompson
slapos.recipe.build
Commits
5cb1e477
Commit
5cb1e477
authored
Feb 15, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests.
parent
d7e3c6af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
6 deletions
+26
-6
README.rst
README.rst
+25
-5
slapos/recipe/build/tests.py
slapos/recipe/build/tests.py
+1
-1
No files found.
README.rst
View file @
5cb1e477
...
...
@@ -157,7 +157,6 @@ Then let's run the buildout::
Let's take a look at the buildout parts directory now::
>>> ls(sample_buildout, 'parts')
d buildout
d git-clone
When updating, it will do a "git fetch; git reset @{upstream}"::
...
...
@@ -195,7 +194,6 @@ Then let's run the buildout::
Let's take a look at the buildout parts directory now::
>>> ls(sample_buildout, 'parts')
d buildout
d git-clone
And let's see that current branch is "build"::
...
...
@@ -242,7 +240,6 @@ Then let's run the buildout::
Let's take a look at the buildout parts directory now::
>>> ls(sample_buildout, 'parts')
d buildout
d git-clone
And let's see that current revision is "2566127"::
...
...
@@ -257,8 +254,13 @@ 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 2566127 ...
...
HEAD is now at 2566127 ...
Not found: ...
Not found: ...
Not found: ...
Not found: ...
<BLANKLINE>
Empty revision/branch
~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -367,6 +369,10 @@ repository::
>>> cd(sample_buildout)
>>> print system(buildout)
Updating git-clone.
Fetching origin
...
<BLANKLINE>
>>> cd(sample_buildout, 'parts', 'git-clone')
>>> print system('cat setup.py')
...
...
@@ -383,6 +389,18 @@ Then, when update occurs, nothing is done::
>>> cd(sample_buildout)
>>> print system(buildout)
Updating git-clone.
Fetching origin
Fetching broken
Unable to update:
Traceback (most recent call last):
...
CalledProcessError: Command '['git', 'fetch', '--all']' returned non-zero exit status 1
<BLANKLINE>
...
fatal: unable to access 'http://git.erp5.org/repos/nowhere/': The requested URL returned error: 500
error: Could not fetch broken
<BLANKLINE>
>>> cd(sample_buildout, 'parts', 'git-clone')
>>> print system('cat local_change')
kept
...
...
@@ -409,6 +427,8 @@ In case of uninstall, buildout will keep the repository directory::
You have uncommited changes in /sample-buildout/parts/git-clone. This folder will be left as is.
Installing git-clone.
destination directory already exists.
...
<BLANKLINE>
Specific git binary
~~~~~~~~~~~~~~~~~~~
...
...
slapos/recipe/build/tests.py
View file @
5cb1e477
from
zope.testing
import
doctest
import
doctest
from
zope.testing
import
renormalizing
import
os
...
...
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