Page MenuHomeSoftware Heritage

mimetype: use ContentMimetypeRow in the storage interface instead of dicts.
ClosedPublic

Authored by vlorentz on Oct 6 2020, 3:44 PM.

Details

Summary

This temporarily adds mess in the generic tests to support both rows and dicts,
but I'll remove it once I migrated all endpoints.

Diff Detail

Repository
rDCIDX Metadata indexer
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 D4158 (id=14661)

Rebasing onto 51b10e891d...

Current branch diff-target is up to date.
Changes applied before test
commit c3caf300830030f0cd1b3002d715e430582db8f1
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Oct 6 15:35:39 2020 +0200

    mimetype: use ContentMimetypeRow in the storage interface instead of dicts.
    
    This temporarily adds mess in the generic tests to support both rows and dicts,
    but I'll remove it once I migrated all endpoints.

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

This revision is now accepted and ready to land.Oct 6 2020, 5:04 PM