- 07 Sep, 2015 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
Ensure that every string key and value of the json response from the network cache server is a str object Please, @kazuhiko and @kirr, review this. See merge request !1
-
Douglas authored
Ensure that every string key and value of the json response from the network cache server is a str object. This method was added mostly because the NetworkcacheClient gets a json response from the server and all textual keys and values after json.loads are unicode objects, which may result in a error later when we try to join the url and the parameters of the package to use the networkcache.
-
- 19 Aug, 2015 1 commit
-
-
Jérome Perrin authored
-
- 09 Oct, 2014 1 commit
-
-
Cédric de Saint Martin authored
-
- 21 Aug, 2014 1 commit
-
-
Julien Muchembled authored
-
- 20 Mar, 2014 1 commit
-
-
Julien Muchembled authored
-
- 17 Mar, 2014 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
We can't depend on pyOpenSSL because SlapOS is not ready for that.
-
- 12 Jul, 2013 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
To simplify things, DirectoryNotFound & UploadError are merged in NetworkcacheException.
-
- 11 Jul, 2013 1 commit
-
-
Julien Muchembled authored
-
- 04 Jul, 2013 3 commits
-
-
Julien Muchembled authored
This also fixes a bug returning wrong metadata when several entries exists in shadirs.
-
Julien Muchembled authored
-
Julien Muchembled authored
- Deprecate slapos.networkcachehelper - Common internal method to query network cache, to reduce code duplication and fix downloading though SSL. - Do not upload data that is already in SHACACHE. This reverts commit 7bb5e112 partially, since it's not possible to hash on the fly. 'tempfile' module is reimported for non-seekable streams. - New way to instanciate NetworkcacheClient, again to reduce code duplication, but also to use an instance for both upload & download. Old way is still there for compatibility until it is unused.
-
- 03 Jul, 2013 1 commit
-
-
Julien Muchembled authored
-
- 02 Jul, 2013 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
For consistency with other options, and because there's already some code in the wild using dashes instead of underscores.
-
- 28 Jun, 2013 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
If people don't write stupid code like 'if result is True:', this small API change should not break anything. Add new index() method to add an entry to shadir when the data is known to be already in shacache.
-
Julien Muchembled authored
When uploading big file, this avoids trashing the kernel cache once more.
-
- 25 Jun, 2013 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 13 May, 2013 4 commits
-
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
- 11 Dec, 2012 3 commits
-
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
- 04 Sep, 2012 4 commits
-
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-