- Jan 06, 2023
-
-
Loïc Dachary authored
Summary: Related to: T3432 Reviewers: #reviewers
-
- Jun 09, 2021
-
-
Antoine Lambert authored
-
- May 18, 2021
-
-
vlorentz authored
The default implementation is a naive 'for' loop calling 'get' sequentially. This replaces this default implementation with a local asyncio loop, which manages a task for each of the blobs to fetch. To avoid code duplication, this also rewrites 'get' to use the same code as 'get_batch'. Quick benchmarks did not show a noticeable slowdown when doing this.
-
- May 17, 2021
-
-
vlorentz authored
A future commit will start using aio.ContainerClient instances, which must be created on the fly from these URLs.
-
- Apr 26, 2021
-
-
Antoine Lambert authored
Enable to check package documentation can be built without producing sphinx warnings. The sphinx environment is designed to be used in continuous integration in order to prevent breaking documentation build when committing changes. The sphinx-dev environment is designed to be used inside a full swh development environment. Related to T3258
-
- Apr 16, 2021
-
-
Antoine Lambert authored
Related to T2265
-
- Apr 13, 2021
-
-
vlorentz authored
-
- Jan 05, 2021
-
-
David Douard authored
-
- Oct 09, 2020
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Oct 08, 2020
-
-
Nicolas Dandrimont authored
This makes get_objstorage consistent with most of the other `get_foo` factories available in other swh modules. We will need to do a pass to drop the few hundred `args` that are used currently.
-
- Oct 02, 2020
-
-
Stefano Zacchiroli authored
-
- Sep 25, 2020
-
-
Nicolas Dandrimont authored
-
- Sep 23, 2020
-
-
David Douard authored
-
- Sep 17, 2020
-
-
Antoine Lambert authored
Related to T2610
-
Antoine Lambert authored
Related to T2610
-
Antoine Lambert authored
flake8 hook has been removed from https://github.com/pre-commit/pre-commit-hooks so now use the one from https://gitlab.com/pycqa/flake8
-
- Sep 10, 2020
-
-
David Douard authored
by moving import statements in functions and stop importing swh.objstorage.factory.* in swh.objstorage. Warning: this later breaks a few dependencies that had not updated the way they import get_objstorage. Related to T2575.
-
- Sep 09, 2020
-
-
David Douard authored
-
- Aug 25, 2020
-
-
vlorentz authored
pytest wastes a lot of time in .hypothesis and .git; this commit excludes them.
-
- Aug 06, 2020
-
-
Antoine R. Dumont authored
Related to T2105
-
- Jun 05, 2020
-
-
Nicolas Dandrimont authored
If an objstorage is read-only, the add() method will return None. The multiplexer should return one of the non-None values if it finds one, instead of the (inconsistent) first value returned by any of the threads.
-
- Jun 04, 2020
-
-
David Douard authored
-
- May 15, 2020
-
-
Nicolas Dandrimont authored
There's an unavoidable race condition in the azure objstorage between the existence check and upload. When this race condition happens and we upload the same blob twice, one of the uploads is rejected with a `ResourceExistsError`. This change brings the azure objstorage back to idempotence. Fixes sentry error SWH-STORAGE-G6.
-
- May 13, 2020
-
-
Antoine R. Dumont authored
This fixes the ci build [1] [1] https://jenkins.softwareheritage.org/job/DOBJS/job/tests/663/console
-
- May 04, 2020
-
-
Nicolas Dandrimont authored
The new version is what Debian unstable is carrying, so use that. Unfortunately the situation with respect to the old API hasn't been clarified by upstream yet. https://github.com/Azure/azure-storage-python/issues/655
-
Nicolas Dandrimont authored
-
- Apr 29, 2020
-
-
Stefano Zacchiroli authored
-
- Apr 27, 2020
-
-
David Douard authored
-
David Douard authored
This is needed to "empty" the swh.objstorage's *module* from any non-subpackage objects, so we can implement the swh.objstorage.replayer outside the swh.objstorage's repo, in a dedicated repo/project.
-
- Apr 20, 2020
-
-
Antoine R. Dumont authored
Related to T2367
-
- Apr 08, 2020
-
-
David Douard authored
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
- Feb 25, 2020
-
-
Antoine R. Dumont authored
Related to https://github.com/Azure/azure-storage-python/issues/437
-
- Feb 18, 2020
-
- Feb 07, 2020
-
-
Antoine R. Dumont authored
-
- Nov 21, 2019
-
-
David Douard authored
-
Nicolas Dandrimont authored
-
- Nov 20, 2019
-
-
Nicolas Dandrimont authored
-
- Nov 07, 2019
-
-
Nicolas Dandrimont authored
This allows to store objects alongside other data in a given S3 bucket, which is what we do in our current Amazon S3 export.
-