- 27 Jul, 2011 1 commit
-
-
Łukasz Nowak authored
By having newline in interpreter name, z3c.recipe.scripts created bin/\npync file, and such was returned. This lead to returning buildout:bin-directory path, which was killing buildout in next run.
-
- 24 Jul, 2011 4 commits
-
-
Lucas Carvalho authored
-
Lucas Carvalho authored
As described the previous commit: - 5a5bff2f We must use this method to create the required files to test if the signature is working as expected. So, first we create the files...
-
Lucas Carvalho authored
It must be possible to append information on shadir files, it must simulate the real server. Otherwise there is no way to test the behavior using different signatures.
-
Lucas Carvalho authored
This method is a wrapper to the signature script which is available at slapos.libnetworkcache.git. We should provide this method to be able to create the files required during the test of signature feature on network.txt doctest.
-
- 22 Jul, 2011 1 commit
-
-
Lucas Carvalho authored
This reverts commit b6730a8b.
-
- 21 Jul, 2011 2 commits
-
-
Lucas Carvalho authored
Well, according to this commit at slapos.core.git: - 017a02ef202b69dff03e85de18293bc30ac6b545 This parameter is always under networkcache section to keep the configuration consistenty.
-
Lucas Carvalho authored
Well, according to the commit d8dca883a54ee87aafed3a82921594e5b508b388 at slapos.core.git, this parameter is always under networkcache section to keep the configuration consistenty.
-
- 20 Jul, 2011 1 commit
-
-
Lucas Carvalho authored
Renamed signature_private_file to signature_private_key_file. And also signature_public_file to signature_certificate_file.
-
- 18 Jul, 2011 1 commit
-
-
Lucas Carvalho authored
Both files must be generated by opensssl. - signature_public_file: used to verify if the content is trustable by libnetworkcache - signature_private_file: used to generate the signature before uploading the content to shadir by libnetworkcache.
-
- 06 Jul, 2011 7 commits
-
-
Łukasz Nowak authored
As networkcache is really optional, silence it in case if not enabled nor not availble.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Shacache extension shall not influence buildout run in case of server malfunction. upload part is optional.
-
- 05 Jul, 2011 3 commits
-
-
Łukasz Nowak authored
URLs are important to being read, not files.
-
Łukasz Nowak authored
For now it is done by using external networkcache server. Integration of simulator is WIP.
-
Łukasz Nowak authored
Create additional parts in profile.
-
- 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 18 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
-