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
Thomas Leymonerie
slapos.buildout
Commits
bad923d1
Commit
bad923d1
authored
Jun 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test and explain purpose.
parent
8719d4d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/zc/buildout/extends-cache.txt
src/zc/buildout/extends-cache.txt
+4
-2
No files found.
src/zc/buildout/extends-cache.txt
View file @
bad923d1
...
@@ -488,6 +488,10 @@ Unused options for buildout: 'bar' 'foo'.
...
@@ -488,6 +488,10 @@ Unused options for buildout: 'bar' 'foo'.
(XXX We patch download utility's API to produce readable output for the test;
(XXX We patch download utility's API to produce readable output for the test;
a better solution would utilise the logging already done by the utility.)
a better solution would utilise the logging already done by the utility.)
As one can see, even if profile is prefixed with ../ the canocial path is
calculated. Thanks to this paths for complex extend trees are downloaded only
once.
>>> import zc.buildout
>>> import zc.buildout
>>> old_download = zc.buildout.download.Download.download
>>> old_download = zc.buildout.download.Download.download
>>> def wrapper_download(self, url, md5sum=None, path=None):
>>> def wrapper_download(self, url, md5sum=None, path=None):
...
@@ -502,8 +506,6 @@ The URL http://localhost/baseB.cfg was downloaded.
...
@@ -502,8 +506,6 @@ The URL http://localhost/baseB.cfg was downloaded.
The URL http://localhost/baseC.cfg was downloaded.
The URL http://localhost/baseC.cfg was downloaded.
The URL http://localhost/deeper/base.cfg was downloaded.
The URL http://localhost/deeper/base.cfg was downloaded.
The URL http://localhost/baseD.cfg was downloaded.
The URL http://localhost/baseD.cfg was downloaded.
The URL http://localhost/baseC.cfg was downloaded.
The URL http://localhost/baseB.cfg was downloaded.
Unused options for buildout: 'bar' 'foo'.
Unused options for buildout: 'bar' 'foo'.
>>> zc.buildout.download.Download.download = old_download
>>> zc.buildout.download.Download.download = old_download
...
...
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