Page MenuHomeSoftware Heritage

model.OriginVisit: Make obsolete fields optional
ClosedPublic

Authored by ardumont on Tue, Jun 23, 5:32 PM.

Details

Summary

In order to smoothly transition to origin visit without those fields, let's
make them optional first.

Then we'll be able to drop them as D3337 suggests without breaking the world.

Related to T2310

Test Plan

tox

Diff Detail

Repository
rDMOD Data model
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Tue, Jun 23, 5:32 PM

Build is green

Patch application report for D3340 (id=11848)

Rebasing onto f349bdc628...

Current branch diff-target is up to date.
Changes applied before test
commit 636f8c2aa40419045908a537a647d22fc368533c
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jun 23 17:29:53 2020 +0200

    model.OriginVisit: Make obsolete fields optional
    
    Related to T2310

See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/77/ for more details.

vlorentz accepted this revision.Wed, Jun 24, 10:13 AM
This revision is now accepted and ready to land.Wed, Jun 24, 10:13 AM
This revision was automatically updated to reflect the committed changes.