- Feb 02, 2023
-
-
Antoine Lambert authored
This fixes python 3.7 support due to poetry, a dependency of isort, that removed support for that Python version in a recent release.
-
- Jan 09, 2023
-
-
- Dec 19, 2022
-
-
Antoine Lambert authored
In order to remove warnings about /apidoc/*.rst files being included multiple times in toc when building full swh documentation, prefer to include module indices only when building standalone package documentation. Also include them the proper sphinx way. Related to T4496
-
- Dec 16, 2022
-
-
David Douard authored
This option allows to set a maximum size for content objects to be replicated in the destination objstorage.
-
- Dec 09, 2022
-
-
David Douard authored
Add a few debug logging statements and improve the info-level summary statement at the end of `process_replay_objects_content()`. Fix tests accordingly.
-
David Douard authored
to make it a bit more robust and give more details on what's going on in case of errors. Add tests for those error situations.
- Oct 27, 2022
-
-
Antoine Lambert authored
Side effect of rDJNL1d879f1dd6247b74d7e58dd0b4bd7b498ab506f0.
-
- Oct 18, 2022
-
-
David Douard authored
- pre-commit from 4.1.0 to 4.3.0, - codespell from 2.2.1 to 2.2.2, - black from 22.3.0 to 22.10.0 and - flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies. Also change flake8's repo config to github (the gitlab mirror being outdated).
-
- Aug 23, 2022
-
-
vlorentz authored
This argument is required by swh-objstorage >= 2.0.0
-
- Jun 22, 2022
-
- Jun 21, 2022
-
-
Nicolas Dandrimont authored
The obj_id-less form is being deprecated.
-
- May 09, 2022
-
-
Pratyush authored
-
- Apr 26, 2022
-
-
vlorentz authored
-
- Apr 21, 2022
-
-
Antoine Lambert authored
That hook can be frustrating as it can discard a long commit message if it finds a typo in it so better removing it.
-
- Apr 08, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Related to T3922
-
Antoine Lambert authored
black is considered stable since release 22.1.0 and the version we are currently using is quite outdated and not compatible with click 8.1.0, so it is time to bump it to its latest stable release. Please note that E501 pycodestyle warning related to line length is replaced by B950 one from flake8-bugbear as recommended by black. https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length Related to T3922
-
- Apr 06, 2022
-
-
Antoine Lambert authored
pytest-postgresql 3.1.3 and pytest-redis 2.4.0 added support for pytest >= 7 so we can now drop the pytest pinning.
-
- Mar 22, 2022
-
-
Antoine Lambert authored
Due to test modules being copied in subdirectories of the build directory by setuptools, it makes pytest fail by raising ImportPathMismatchError exceptions when invoked from root directory of the module. So ignore the build folder to discover tests.
-
- Feb 10, 2022
-
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
- Feb 07, 2022
-
-
Antoine R. Dumont authored
Related to T3916
-
- Jan 21, 2022
-
- Jan 13, 2022
-
-
David Douard authored
for each batch of messages, dispatch the copy of individual objects in a ThreadPoolExecutor. The idea is to allow concurrency to ge beyong process parallelism provided by kafka consumer groups. Since the copy a one object is mainly IO bound (check existence in destination objstare, retrieve from source objstorage, put in destination objstorage) with possibly large delays (eg. retrieveing a blob from s3 imply a minimum 150/200ms delay before the HTTP request is replied, whatever the size of the object); this tries to parallelize those delays.
-
- Jan 04, 2022
-
-
David Douard authored
and improve the documentation of the replayer command.
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also drops spurious copyright headers to those files if present. Related to T3812
-
- Dec 02, 2021
-
-
David Douard authored
which is the one available for buster on swh.
-
David Douard authored
this is not an ideal solution since it's using a global variable (swh.objstorage.replayer.replay.REPORTER) to activate the replaying error reporting feature, but according the nature of tenacity (used to implement retry capacity of interactions with the source and destination objstorages), there is no easy solution (that I can see).
-
David Douard authored
-
David Douard authored
split the 'copy_object()' in 2 parts, 'get_object()' and 'put_object()' and make each of these decorated by '@content_replay_retry' (instead of the whole 'copy_object()'), so that a failing 'put_object' does not trigger getting the object from the src objstorage again. Also, only log in statsd the end result (error or success) instead of logging each attempt. We don't need these intermediate results in statsd, and it makes them much harder to use in a dashboard. Last, for the sake of implementation ease, use function name as "operation" tag in stastds reports (so "get_object", "put_object" and "obj_in_storage") instead of "copy" and "in_dst". Doing so, the 'operation' argument of the ReplayError exception has been dropped.
-
David Douard authored
-
- Nov 25, 2021
-
-
David Douard authored
make '_fill_objstorage_and_kafka()' take the actual objstorage as argument, instead of the dict of objstorages ("src", "dst"). The "dst" objstorage is not used in the function, and it make the intent of this later clearer.
-
- Jun 09, 2021
-
-
Antoine Lambert authored
-
- 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
-
- Mar 08, 2021
-
-
Antoine Lambert authored
-
- Jan 05, 2021
-
-
David Douard authored
-
- Nov 10, 2020
-
-
Antoine Lambert authored
-
- Oct 22, 2020
-
-
David Douard authored
Make it expect a 'cls' item (but set it to "kafka" is not given for bw compat.)
-
- Oct 09, 2020
-
-
Nicolas Dandrimont authored
This explicit argument was deprecated in swh.objstorage 0.2.2.
-
- Oct 02, 2020
-
-
Stefano Zacchiroli authored
-