Page MenuHomeSoftware Heritage

model: Add OriginVisitUpdate model object
ClosedPublic

Authored by ardumont on Wed, Mar 25, 6:00 PM.

Details

Summary

(pairing with @vlorentz)

  • Need to be updated according to @douardda's latest improvments on model (if that got merged before ;)

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.Wed, Mar 25, 6:00 PM
ardumont edited the summary of this revision. (Show Details)Tue, Mar 31, 10:12 AM
ardumont added a subscriber: douardda.
ardumont updated this revision to Diff 10431.Tue, Mar 31, 5:08 PM

Add tests

ardumont edited the summary of this revision. (Show Details)Tue, Mar 31, 5:08 PM

Build is green

Patch application report for D2880 (id=10431)

Rebasing onto accca603c4...

Current branch diff-target is up to date.
Changes applied before test
commit f35783e3e9e01f6c80af75ec8ee97376fa9faabf
Author: Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com>
Date:   Wed Mar 25 18:00:03 2020 +0100

    model: Add new OriginVisitUpdate model object + test strategy
    
    (pairing with @vlorentz)
    
    Related to T2310

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

lgtm, but I'll let @douardda accept the diff

swh/model/hypothesis_strategies.py
92

plural, for consistency

ardumont updated this revision to Diff 10433.Tue, Mar 31, 6:02 PM

Adapt according to review

Build is green

Patch application report for D2880 (id=10433)

Rebasing onto accca603c4...

Current branch diff-target is up to date.
Changes applied before test
commit e9a4c7519e4e2d9763294461f8628a519a3af308
Author: Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com>
Date:   Wed Mar 25 18:00:03 2020 +0100

    model: Add new OriginVisitUpdate model object + test strategy
    
    (pairing with @vlorentz)
    
    Related to T2310

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

douardda accepted this revision.Wed, Apr 1, 9:59 AM
This revision is now accepted and ready to land.Wed, Apr 1, 9:59 AM