Page MenuHomeSoftware Heritage

Start migrating the validate proxy toward using BaseModel objects
ClosedPublic

Authored by ardumont on Jun 13 2020, 8:41 AM.

Details

Summary

This will allow to progress incrementally towards removing it.

When it allows to use BaseModel objects everywhere (and tests in test_storage
are adapted to use this property), it will be time to remove it entirely (as
it's only used in test).

It's preparatory work for future diffs.

Test Plan

tox

Diff Detail

Repository
rDSTO Storage manager
Branch
in-mem-orig-visit-status-add-idempotent
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 12826
Build 19522: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 19521: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D3277 (id=11619)

Rebasing onto 33efdb0dd4...

Current branch diff-target is up to date.
Changes applied before test
commit 874da2dee1957ac5e9f5b17a81e11d9d9e8690f0
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Sat Jun 13 08:37:57 2020 +0200

    Start migrating the validate proxy toward using BaseModel objects
    
    This will allow to progress incrementally towards removing it.
    
    When it allows to use BaseModel objects everywhere (and tests in test_storage
    are adapted to use this property), it will be time to remove it entirely (as
    it's only used in test).
    
    It's preparatory work for future diffs.

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

This revision is now accepted and ready to land.Jun 15 2020, 12:09 PM