Page MenuHomeSoftware Heritage

Update swh.storage.validate for swh.model 0.7.2
ClosedPublic

Authored by olasd on Oct 27 2020, 2:12 PM.

Details

Summary

swh.model.model.ModelObject.compute_hash was changed to a method instead of a
staticmethod.

Of course, now that I notice that it was used elsewhere than swh.model, this would have warranted a swh.model 0.8.0...

Test Plan

tox tests pass again

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Oct 27 2020, 2:17 PM

Build is green

Patch application report for D4362 (id=15424)

Rebasing onto 4f35f7f928...

Current branch diff-target is up to date.
Changes applied before test
commit 581968322a47df9b3c7b137cd56328441c77e414
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Oct 27 14:09:23 2020 +0100

    Update swh.storage.validate for swh.model 0.7.2
    
    swh.model.model.ModelObject.compute_hash was changed to a method instead of a
    staticmethod.

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