HomeSoftware Heritage

journal_data: Make origin-visit optional fields to None

Description

journal_data: Make origin-visit optional fields to None

This sets the fields status, metadata and snapshot from the origin-visit
entries to None (as per the recent model change D3340)

This pulls the creation of origin-visit-status with almost the same
origin-visit entries as before. The origin-visit-status dates are slightly
larger than the origin-visit ones so we are able to reflect the reality of
operations (first creation of origin visits, then creation of
origin-visit-status associated to that origin-visit).

Related to T2310

Details

Provenance
ardumontAuthored on Jun 24 2020, 1:38 PM
ardumontPushed on Jun 25 2020, 9:29 AM
Differential Revision
D3344: journal_data: Make origin-visit optional fields to None
Parents
rDJNL6ea2d6e4c8ae: Set origin visits' metadata to None in journal_data
Branches
Unknown
Tags
Unknown
References
tag: v0.3.3
Tasks
T2310: Make origin visits immutable
Build Status
Buildable 13090
Build 19966: test-and-buildJenkins console · Jenkins