Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos.buildout
Commits
412166d1
Commit
412166d1
authored
Jun 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test based showcase.
parent
d67f6a9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
src/zc/buildout/networkcache.txt
src/zc/buildout/networkcache.txt
+20
-5
No files found.
src/zc/buildout/networkcache.txt
View file @
412166d1
...
@@ -6,26 +6,37 @@ Note: We are in process of preparing docs. This is only showcase.
...
@@ -6,26 +6,37 @@ Note: We are in process of preparing docs. This is only showcase.
>>> write(sample_buildout, 'buildout.cfg',
>>> write(sample_buildout, 'buildout.cfg',
... '''
... '''
... [buildout]
... [buildout]
...
sha-cache = http://127.0.0.1:1/
...
...
sha-dir = http://127.0.0.1:2/
...
networkcache-section = networkcache
... find-links = %(link_server)s
... find-links = %(link_server)s
... parts = eggs
... parts = eggs
...
...
... [eggs]
... [eggs]
... recipe = zc.recipe.egg:eggs
... recipe = zc.recipe.egg:eggs
... eggs = demo ==0.2
... eggs = demo ==0.2
...
... [networkcache]
... download-cache-url = http://127.0.0.1:1/
... download-dir-url = http://127.0.0.1:1/
... upload-cache-url = http://127.0.0.1:1/
... upload-dir-url = http://127.0.0.1:1/
... ''' % globals())
... ''' % globals())
>>> print system(buildout)
>>> print system(buildout)
Networkcache enabled.
Networkcache download cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Networkcache upload cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Installing eggs.
Installing eggs.
Getting distribution for 'demo==0.2'.
Getting distribution for 'demo==0.2'.
Downloading demo-0.2-py2.7.egg from network cache.
Downloading demo-0.2-py2.7.egg from network cache.
Fail to download from network cache demo-0.2-py2.7.egg: [Errno 111] Connection refused
Failed to download from network cache demo-0.2-py2.7.egg: [Errno 111] Connection refused
Uploading http://localhost/demo-0.2-py2.7.egg into network cache.
Fail to upload file. [Errno 111] Connection refused
Fail to upload file. [Errno 111] Connection refused
Got demo 0.2.
Got demo 0.2.
Getting distribution for 'demoneeded'.
Getting distribution for 'demoneeded'.
Downloading demoneeded-1.2c1.zip from network cache.
Downloading demoneeded-1.2c1.zip from network cache.
Fail to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused
Failed to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused
Uploading http://localhost/demoneeded-1.2c1.zip into network cache.
Fail to upload file. [Errno 111] Connection refused
Fail to upload file. [Errno 111] Connection refused
Got demoneeded 1.2c1.
Got demoneeded 1.2c1.
<BLANKLINE>
<BLANKLINE>
...
@@ -36,10 +47,14 @@ Note: We are in process of preparing docs. This is only showcase.
...
@@ -36,10 +47,14 @@ Note: We are in process of preparing docs. This is only showcase.
... remove(sample_buildout, 'eggs', egg)
... remove(sample_buildout, 'eggs', egg)
>>> print system(buildout)
>>> print system(buildout)
Networkcache enabled.
Networkcache download cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Networkcache upload cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Updating eggs.
Updating eggs.
Getting distribution for 'demoneeded'.
Getting distribution for 'demoneeded'.
Downloading demoneeded-1.2c1.zip from network cache.
Downloading demoneeded-1.2c1.zip from network cache.
Fail to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused
Failed to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused
Uploading http://localhost/demoneeded-1.2c1.zip into network cache.
Fail to upload file. [Errno 111] Connection refused
Fail to upload file. [Errno 111] Connection refused
Got demoneeded 1.2c1.
Got demoneeded 1.2c1.
<BLANKLINE>
<BLANKLINE>
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