- Jul 20, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.6.0' with Debian dir 6ec0655eab06eabec5fc4ae57da2ada6fef40bf7
-
- Jul 09, 2020
-
-
Nicolas Dandrimont authored
- Use dia directly to convert from .dia to .svg (inkscape would use dia via a plugin anyway) - Add proper runes to detect inkscape >= 1 and use the export options for that.
-
- Jul 08, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.5.0' with Debian dir c111ef899fc4093736b1efc9323461869db09568
-
Antoine Lambert authored
- Jul 07, 2020
-
-
vlorentz authored
As NamedTuple inherits from tuple, msgpack serializes it like a tuple, which makes it indistinguishable from a tuple when deserializing, which is an issue for the RPC API.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
It allows easy conversion of Union[ImmutableDict, Dict] to ImmutableDict.
-
vlorentz authored
-
vlorentz authored
So they are truly immutable now.
-
vlorentz authored
This will allow swh-storage to have a signature for *_metadata_add that is consistent with other *_add endpoints.
-
- Jul 06, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.4.0' with Debian dir 893a7b17ab26f448f7c269752543c1775b072045
-
David Douard authored
Add a new extra_headers attribute on Revision and use it for computing the revision's id instead of extract it from the metadata field. Only accept (bytes, bytes) as extra_header. Add a post init hook to Revision to initialize this new attribute from given metadata, if any, for bw compat. Also amend the revision_d hyptothesis strategy to generate extra_headers.
- Jul 03, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.8' with Debian dir 6542410c69982a1fbb034862d80255f390caa5b1
-
Antoine Lambert authored
-
Antoine Lambert authored
When Software Heritage persistent identifiers were introduced, they were not yet abbreviated as SWHIDs. Now that abbreviation is growing adoption, rename some functions and types in swh.model.identifiers for consistency: - PersistentId -> SWHID - persistent_identifier -> swhid - parse_persistent_identifier -> parse_swhid Backward compatibility with previous naming is maintained but deprecation warnings are introduced to encourage the use of the new names. Numerous variables in swh.model codebase have also been renamed accordingly. Also rework and improve documentation.
- Jul 02, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.7' with Debian dir 4b528677b5793bfff8d84d77383fe7aeffb13664
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
- Jul 01, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.6' with Debian dir b0b3790969b9e2899982cecf19527c203935ecfb
- Jun 30, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.5' with Debian dir 94038e94a4a7870e94ddd3c21607eb5765f55955
-
- Jun 29, 2020
-
-
Antoine R. Dumont authored
Related to T2310
-
- Jun 24, 2020
-
-
David Douard authored
this aims at preventing constant usage of isinstance() based dispatch code when writing generic code handling model entities. For example, the "object_type" argument of JournalWriter.write_addition() has become superflous now we only pass model entities, etc. This idea comes olasd's reading of mypy doc: https://mypy.readthedocs.io/en/latest/literal_types.html#tagged-unions This comes with a refactoring of from_dict.DiskBackedContent to make it *not* inherit from model.Content: object_type being Final, it cannot be overloaded.
-