- Sep 09, 2016
-
-
Antoine R. Dumont authored
Related P106 Related P107
-
- Sep 07, 2016
-
-
Antoine R. Dumont authored
-
- Sep 06, 2016
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
To limit the dependencies on where it's needed
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
Summary: Create mock classes for the libcloud driver so the objstorage behavior can be checked. Also, catch a libcloud exception and raise swh exception instead at the lower possible level in the code. Reviewers: #reviewers, ardumont Reviewed By: #reviewers, ardumont Subscribers: ardumont Differential Revision: https://forge.softwareheritage.org/D100
-
Antoine R. Dumont authored
-
- Aug 26, 2016
-
-
Antoine R. Dumont authored
Related T545
-
- Aug 25, 2016
-
-
Antoine R. Dumont authored
Related T545
-
Antoine R. Dumont authored
Related T545
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
Related T545
-
- Aug 24, 2016
-
-
Antoine R. Dumont authored
- remove --check-type and use check-type - is_daemon to daemon
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
- Aug 19, 2016
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Aug 18, 2016
-
-
Nicolas Dandrimont authored
-
- Aug 17, 2016
-
-
Quentin Campos authored
As this method is required in the ObjStorage abstract base class, the test belongs to the fixture test class of this abstract class.
-
- Aug 16, 2016
-
-
Quentin Campos authored
Make use of the newly factorized method compute_hash in ObjStorage to compute hash in the cloud-based implementation.
-
- Aug 12, 2016
-
-
Quentin Campos authored
At documentation generation, the docstring of the superclass will be used so there is no need to duplicate it or make reference to it.
-
Quentin Campos authored
The 'content' argument in the PathSlicingObjStorage.add method was incorrectly named 'bytes'.
-
Quentin Campos authored
Hash computation code was duplicated in the add methods of ObjStorage implementations. They are now factorized in a function.
-
Quentin Campos authored
-
Quentin Campos authored
ObjStorage is the main API of the object storage interface. Making it an Abstract Base Class is highly usefull to catch mistakes when adding a new implementation. Also, some subclasses may use this feature to make their extension more easy.
-
Quentin Campos authored
The docstring of the ObjStorage implementations have been updated to reference the ones present in the base class.
-
Quentin Campos authored
Amazon's S3 and OpenStack swift now have their own CloudObjStorage implementation.
-
Quentin Campos authored
-
- Aug 10, 2016
-
-
Quentin Campos authored
Add an content integrity checker that update archive database : this implementation set the status of the archival database corresponding to the real state of the object. This way, next archival scheduling, the storage may be used as a destination for a file copy.
-
Quentin Campos authored
-
Quentin Campos authored
The integrity checker now depends on an abstract class that contains the base code that is necessary to perform the check on a storage. This abstract class can be inherited by concret classes that will define the checker behavior when a corrupted or missing content is find (Note that for now, the checker runs on a local storage so the list of content to check is made from walking the filesystem. So a missing content shouldn't happend. But another version could get this list from another source that is not the filesystem).
-
- Aug 04, 2016
-
-
Quentin Campos authored
-
Quentin Campos authored
The PathSlicingObjStorage was exposed in the swh.objstorage top-level, and is no longer a default implementation. Classes using an ObjStorage should now use the get_objstorage method.
-
- Jul 28, 2016
-
-
Quentin Campos authored
-
Quentin Campos authored
The previous api for the client was not aligned with the more recent base API for locals objstorages.
-
Quentin Campos authored
Add the get_batch method to the base API so it is now possible to perform a get of multiple contents at the same time. This should be an improvement for the remote objstorage.
-
Quentin Campos authored
The method get_objstorage at the module top_level allows to easily create an ObjStorage given a unique class key and a dictionary of matching arguments.
-
Quentin Campos authored
-