- 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.
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.4' with Debian dir e334e0831ed8569265e5d10f4d9516a48cf060af
-
Antoine R. Dumont authored
Related to T2310
-
- Jun 23, 2020
-
-
Antoine R. Dumont authored
Related to T2310
-
- Jun 22, 2020
-
-
Antoine R. Dumont authored
-
- Jun 17, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.3' with Debian dir 9db77e99e1d97178ca2fa7289a0004b6147bdb0f
- Jun 16, 2020
-
-
Antoine R. Dumont authored
This is not used. This is broken storage wise (origin-visit-add does not deal correctly with it and it so happens there is no test around it). And finally, this will soon go away with T2310.
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.2' with Debian dir dab2ec29758546752e72a90100424daa98318438
-
David Douard authored
And adapt the revisions_d() strategy accordingly.
-
David Douard authored
This can be None, according to the model.
-
David Douard authored
for the sake of consistency.
-