- 01 Jul, 2011 2 commits
-
-
Lucas Carvalho authored
When you use 'for line in file', it uses the next method under the hood. And such method can load very big pieces of the binary file into the RAM memory. The shutil method will copy the file using smalls chunks, so the RAM memory is gonna be safe.
-
Lucas Carvalho authored
So it needs to write the file content in the correct path which must be used by buildout.
-
- 23 Jun, 2011 21 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Also remove not needed imports.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
If slapos.libnetworkache is not available, setup environment in no-op way.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Keep same ordering and simplify conditions.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
If it is possible to use slapos.libnetworkcache check if parameter networkcache-section exists. If so, try to find section named by this parameter. Such section has two required parameters: download-cache-url and download-dir-url. upload-cache-url and upload-dir-url are optional parameters. Minimalistic profile for networkcache control looks like: [buildout] parts = networkcache-section = readcache [readcache] download-cache-url = http:/// download-dir-url = http:/// #upload-cache-url = http:/// #upload-dir-url = http:///
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 22 Jun, 2011 7 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
This reverts commit da697e8e. This commit does not seems required.
-
Łukasz Nowak authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
- 21 Jun, 2011 3 commits
-
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
- 20 Jun, 2011 3 commits
-
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
- 17 Jun, 2011 1 commit
-
-
Lucas Carvalho authored
the behavior still the same.
-
- 16 Jun, 2011 3 commits
-
-
Lucas Carvalho authored
So, a new method has been implemented in order to define the directory key for each file which the buildout must download.
-
Lucas Carvalho authored
Removed useless method which should not exist.
-
Lucas Carvalho authored
After this commit it is possible to download and upload anything to SHACACHE and SHADIR servers. It uses slapos.libnetworkcache to handle the download and upload.
-