Page MenuHomeSoftware Heritage

Allow deprecated endpoints to be missing from a backend class.
ClosedPublic

Authored by vlorentz on Jan 29 2020, 4:17 PM.

Details

Summary

Needed for the Cassandra backend, which doesn't implement them.

Diff Detail

Repository
rDSTO Storage manager
Branch
deprecated-endpoints
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10361
Build 15412: tox-on-jenkinsJenkins
Build 15411: arc lint + arc unit

Event Timeline

anlambert added a subscriber: anlambert.

Looks good !

swh/storage/interface.py
1181

I think we can later safely remove those endpoints from the storage interface as only the webapp use diff features and it now relies on the function located in swh.storage.algos.diff instead of those storage methods.

This revision is now accepted and ready to land.Jan 29 2020, 4:43 PM
This revision was landed with ongoing or failed builds.Jan 29 2020, 4:50 PM
This revision was automatically updated to reflect the committed changes.
swh/storage/interface.py
1181

will do