- Jun 23, 2020
-
-
Antoine R. Dumont authored
Related to T2310
-
- Jun 22, 2020
-
-
Antoine R. Dumont authored
-
- 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.
-
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
-
-
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
-
-
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
-
-
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 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
-
- May 05, 2020
-
- Apr 30, 2020
-
-
Reviewers: rdicosmo Reviewed By: rdicosmo Differential Revision: https://forge.softwareheritage.org/D3108
-
- Apr 29, 2020
-
-
Stefano Zacchiroli authored
-
vlorentz authored
Production should only use aware datetimes.
-
Stefano Zacchiroli authored
Closes T1003
-
- Apr 28, 2020
-
-
Roberto Di Cosmo authored
- merge grammars into a single one - explain better that SWHIDs are made up of core identifier + qualifiers - separate qualifier into context and fragment onex - add reference to swh-identify
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Apr 27, 2020
-
-
Stefano Zacchiroli authored
-
- Apr 26, 2020
-
-
Stefano Zacchiroli authored
Closes T2379
-
- Apr 24, 2020
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Apr 21, 2020
-
-
David Douard authored
Make it possible to generate Content and SkippedContent under different object types (namely "content" and "skipped_content"). Default to False to keep backward compat.
-
David Douard authored
so one can choose not to generate some of the object types. Blacklist "origin_visit_status" by default to prevent breaking dependent packages' tests.
-
- Apr 20, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
Related to T2367
-
- Apr 17, 2020
-
-
Stefano Zacchiroli authored
and user required=True to check that, as it is the preferred way
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
hat tip to @rdicosmo for noticing
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Apr 16, 2020
-
-
Stefano Zacchiroli authored
-
- Apr 10, 2020
-
-
Antoine R. Dumont authored
This also adapts the hypothesis strategies, using the plural form origin_visit_statuses. That plural form is acceptable because in our context, the statuses are countable. Related to T2310
-
Antoine R. Dumont authored
-
- Apr 08, 2020
-
-
David Douard authored
-