Page MenuHomeSoftware Heritage

Remove 'negative_utc'.
ClosedPublic

Authored by vlorentz on Wed, Jan 12, 6:21 PM.

Details

Summary

The next release of swh-model will remove it from the constructor, attributes, and dict.
However, this keeps using 'offset' despite the removable from swh-model, because it
needs to be JSON-serializable.

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6929 (id=25111)

Rebasing onto 5e98c39f98...

Current branch diff-target is up to date.
Changes applied before test
commit bcb97eb7be273296ded6231593333c91e1ab1139
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Jan 12 18:09:36 2022 +0100

    Remove 'negative_utc'.
    
    The next release of swh-model will remove it from the constructor, attributes, and dict.
    However, this keeps using 'offset' despite the removable from swh-model, because it
    needs to be JSON-serializable.

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

This revision is now accepted and ready to land.Thu, Jan 13, 12:41 PM
This revision was automatically updated to reflect the committed changes.