- Oct 27, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.7.3' with Debian dir 52148284bb73fc33b424821f1624f3f539a5e6d3
-
Nicolas Dandrimont authored
This avoids throwing the deprecation warning when id and target are present and have the same value, which makes a from_dict / to_dict round-trip throw no deprecation warnings.
-
Jenkins for Software Heritage authored
Update to upstream version '0.7.2' with Debian dir 3d28dbc49bced19e4411f3c3f60af57d08510a4a
-
- Oct 26, 2020
-
-
Nicolas Dandrimont authored
This backwards-compatible change prepares the transition to give RawExtrinsicMetadata an `id` field that is computed intrinsically from its contents (using the HashableObject mixin).
-
- Oct 23, 2020
-
-
Nicolas Dandrimont authored
This will enable a gradual enhancement of the functions in identifiers.py to take model objects directly, and return the bytes of the hash instead of an hex representation.
-
Antoine R. Dumont authored
-
Antoine Cezar authored
-
- Oct 14, 2020
-
-
Nicolas Dandrimont authored
This collapses the shared logic between these two identifier computations into a few more explicit steps: - generate data for the manifest (in either identifier computation); - format the manifest (in the new format_manifest function); - hash the manifest (in the new hash_manifest function). This will enable reusing this logic for more object types, as well as stronger typing for the manifest computation.
-
- Oct 12, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.7.1' with Debian dir 7e580ad70508156c42e6cc2a3b98a9d95aee1a5a
- Oct 08, 2020
-
-
vlorentz authored
that returns a value suitable for unicity constraints. Motivation: * this is somewhat more of a model concern than a journal/kafka concern IMO * this is one step toward adding support for non-model objects in KafkaJournalWriter Implementation of the unique_key methods comes from `swh.journal.serializers.object_key`.
-
- Oct 07, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.7.0' with Debian dir 61c3aaf791f4b23b6e9369720b4f00ecc2ba94b6
- Oct 05, 2020
-
-
Thibault Allançon authored
-
- Oct 02, 2020
-
-
Stefano Zacchiroli authored
-
- Sep 29, 2020
-
-
vlorentz authored
I created one in the wrong directory and didn't see the existing one.
-
- Sep 25, 2020
-
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
Jenkins for Software Heritage authored
Update to upstream version '0.6.7' with Debian dir ff33196235173497970db1401a7c8d6ad3f8d9ce
-
David Douard authored
The addition of '-p no:pytest_swh_core' in pytest.ini is needed to prevent pytest from loading the pytest_swh_core plugin which we do not need here and which would require some more dependencies (e.g. requests).
-
- Sep 18, 2020
-
-
Thibault Allançon authored
Use the new SWHID naming convention instead of SWH PID.
-
- 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
move most import statements in functions. Related to T2575.
-
- Aug 25, 2020
-
-
Antoine Lambert authored
-
vlorentz authored
pytest wastes a lot of time in .hypothesis and .git; this commit excludes them.
-
- Aug 14, 2020
-
-
vlorentz authored
We may unknowingly pass naive datetimes to the storage through them, causing the underlying DB to assign them a timezone that might not match the actual one. It already happens in swh.model and swh.loader.package tests.
-
- Aug 07, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.6.6' with Debian dir eb61da2c1a41951fa2201d289612aa6ab413e0b7
-
Antoine R. Dumont authored
Same as for the field data, it helps for code not yet migrated to use model object.