- Jun 30, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.5' with Debian dir 94038e94a4a7870e94ddd3c21607eb5765f55955
-
- 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.
-
- Jun 15, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.1' with Debian dir c220a7827eb7e16e523e5ae2dfd279c01e471c4a
-
David Douard authored
thus in TimestampWithTimezone.from_dict(). This is needed to help consuming existing (invalid) messages from kafka. Warning: tests added in this revision do not cover the whole normalize_timestamp() function.
- Jun 03, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.3.0' with Debian dir debf07387de123cf96eaad3d7d77bbfac925a2f7
-
Jenkins for Software Heritage authored
Update to upstream version '0.2.2' with Debian dir 51aef6acf2244bde6600fde8bbf280e818def7ee
-
David Douard authored
This is a step forward having model objects, declared as frozen, immutable. This requires attrs_strict >= 0.0.7.
-
David Douard authored
the visit attribute is expected to be strictly positive.
- May 29, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.2.1' with Debian dir 4b98cf559c2be2a001dbedc9894b2431ce1b9373
-
David Douard authored
this attribute is not an intrinsic property of a content object, so it should not be used when comparing or hashing.
- May 25, 2020
-
-
Jenkins for Software Heritage authored
Update to upstream version '0.2.0' with Debian dir 8fcf4e24544576e706428aa2483d4697a23e8b3b
- May 20, 2020
-
-
David Douard authored
Simply add a BaseModel.anonymize() method. Default implementation returns None, meaning the object is not anonymizable. For Person, the method returns a Person whith hashed fullname (and unset name and email). For Revision and Release, the method returns an anonymized version of the object, i.e. with instance of Person replaced by anonymized ones.
-
- May 14, 2020
-
-
Stefano Zacchiroli authored
-