- 25 Aug, 2011 22 commits
-
-
Lucas Carvalho authored
The changes were made in the previous commit: - 75a7c904
-
Łukasz Nowak authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
We should only create the signature files when it is required, to avoid to have unecessary failures if someone run this test with old version of slapos.libnetworkcache.
-
Lucas Carvalho authored
This reverts commit 01b2ca0a.
-
Lucas Carvalho authored
The slapos.libnetworkcache == 0.2 does not provide the signature script. So, it should not be used if such script is not available.
-
Lucas Carvalho authored
Well, the new version of slapos.libnetworkcache has being developed, and we need to provided backward compatibility to the old versions. So, slapos.buildout must be able to instantiate a NetworkcacheClient object even if an TypeError is raised.
-
Łukasz Nowak authored
As slapos.libnetworkcache development shall be outside on buildout, do not create hard dependency. This reverts commit 4dc2aef8.
-
Łukasz Nowak authored
For now this is the only working way to test buildout with slapos.libnetworkcache. slapos.libnetworkcache development shall be NOT zc.buildout driven. This reverts commit e3345a7a.
-
Łukasz Nowak authored
Doing development of zc.buildout parts which shall depend on slapos.libnetworkcache without ability to develop it locally is nowhere path. This reverts commit bacd2505.
-
Łukasz Nowak authored
Doing development without local slapos.libnetworkcache has no sense.
-
Ł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.
-
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.
-
Lucas Carvalho authored
This reverts commit b6730a8b.
-
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.
-
Lucas Carvalho authored
Renamed signature_private_file to signature_private_key_file. And also signature_public_file to signature_certificate_file.
-
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 10 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Ł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.
-
- 24 Jun, 2011 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-