- Oct 27, 2021
-
-
David Douard authored
-
- Sep 16, 2021
-
-
vlorentz authored
-
- Jun 18, 2021
-
-
David Douard authored
may be used to generate a on-disk representation of a Storage, for example to produce test datasets, etc.
-
David Douard authored
make it consistent with the KafkaJournalWriter.
-
- Jun 09, 2021
-
-
Antoine Lambert authored
-
- May 03, 2021
-
-
Kumar Shivendu 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
-
- Apr 16, 2021
-
-
Kumar Shivendu authored
Adding a test that ensures that an exception is raised if the object passed to write_addition function doesn't have a unique_key.
-
- Apr 08, 2021
-
-
Antoine Lambert authored
The author field can be optional in the Release model so handle that edge case in kafka writer tests.
-
- Mar 15, 2021
-
-
Antoine Lambert authored
object_types is missing the newly added extid type.
-
- Feb 25, 2021
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
When the local rdkafka producer queue is full, the producer would crash with a BufferError. While this condition is rare, it can happen when running a backfill operation. When such a condition arises, retry sending the message a few times with an increasing backoff. When giving up, use the common KafkaDeliveryError mechanism rather than the plain BufferError.
-
- Feb 09, 2021
-
-
Antoine Lambert authored
Its content is outdated and it is no longer needed as tests can now simply be executed using default test target running pytest.
-
Antoine Lambert authored
Since the release of confluent-kafka v1.6.0, some swh-storage tests became flaky and can hang in consumer fixture destruction when closing the wrapped kafka consumer. Explicitly performing the commit operation on the consumer before closing it removes the hang issue.
-
- Jan 27, 2021
-
-
David Douard authored
prevent unnecessary coupling with swh-model. Related to T2970.
-
- Jan 13, 2021
-
-
Vincent Sellier authored
Related to T2964
-
- Dec 17, 2020
-
-
vlorentz authored
It has a major regression for timestamps: https://github.com/msgpack/msgpack-python/issues/451
-
- Dec 08, 2020
-
-
David Douard authored
to have support for datetime/timestamp.
-
David Douard authored
previous revision did in fact killed the dependencu on swh.core but did not update the rquirements file accordingly.
-
- Dec 04, 2020
-
-
David Douard authored
The encoding of datetime objects is done using msgpack extension types (instead of former b'swhtype" custom types). Note that this imply that the timezone of the encoded datime is "lost in translation": the resulting datetime will be a (tz-aware) UTC datetime object. Support for decoding these later is however provided for backward compatbility. Also make the serialization code of the journal independant from swh.core.api.serializer. This later move aims at making the msgpack serialization process of the journal to be specified (and predictable). The code from swh.core is dedicated at RPC and can thus do much more "custom types" than what is needed for the journal. So by not using the serialization code from the swh.core pakage, we make sure we do not inadvertently encode unspecified objects in the journal. Related to T2834
-
- Nov 27, 2020
-
-
vlorentz authored
So that errors in unique_key() are caught by tests using the in-mem writer.
-
- Nov 02, 2020
- Oct 27, 2020
-
-
Nicolas Dandrimont authored
The old attribute was deprecated in swh.model 0.7.2
-
Nicolas Dandrimont authored
We don't use @overload in this module anymore.
-
Nicolas Dandrimont authored
-
- Oct 12, 2020
-
-
vlorentz authored
-
- Oct 02, 2020
-
-
Stefano Zacchiroli authored
-
- Sep 29, 2020
-
-
vlorentz authored
swh.journal.writer.kafka imports it from serializers.
-
- Sep 17, 2020
-
-
Antoine Lambert authored
Related to T2610
-
Antoine Lambert authored
Related to T2610
-
- Aug 19, 2020
-
-
vlorentz authored
kafka_to_value didn't recursively convert to tuples, so they were of type Tuple[List[bytes], ...] instead of Tuple[Tuple[bytes, bytes], ...]
-
- Aug 07, 2020
-
-
Antoine R. Dumont authored
Following swh.model 0.6.6 bump
-
- Aug 06, 2020
-
-
Antoine R. Dumont authored
Related to T2501
-
- Jul 31, 2020
-
-
vlorentz authored
Required, to have the 'object_type' attribute on metadata object classes.
-
- Jul 30, 2020
- Jul 06, 2020
-
-
David Douard authored
instead of dicts. This is needed because we are beginning to use converters in swh.model, so the dict used as input is not guaranteed to be the exact same one as the one retrieved from the journal. For this, we need to include the data attribute in journal_data's Content objects so we have "true" Content objects in tests. Which then requires a few adjustments in journal tests because the Content's data is never sent to the journal.
-
- Jul 01, 2020
-
-
Antoine R. Dumont authored
-