Page MenuHomeSoftware Heritage

storages: Refactor objstorage operations with a dedicated collaborator
ClosedPublic

Authored by vlorentz on Fri, Feb 7, 6:07 PM.

Details

Summary

Prior to this commit, the code was triplicated across the storage backends. Now
all storages use the same collaborator whose concern is writing to the
objstorage.

Test Plan

tox

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

ardumont created this revision.Fri, Feb 7, 6:07 PM
vlorentz accepted this revision.Mon, Feb 10, 12:02 PM
This revision is now accepted and ready to land.Mon, Feb 10, 12:02 PM
vlorentz commandeered this revision.Mon, Feb 10, 12:02 PM
vlorentz edited reviewers, added: ardumont; removed: vlorentz.
This revision now requires review to proceed.Mon, Feb 10, 12:02 PM
vlorentz updated this revision to Diff 9460.Mon, Feb 10, 1:38 PM

make flake8 happy

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Feb 10, 2:13 PM
This revision was automatically updated to reflect the committed changes.