Page MenuHomeSoftware Heritage

Convert 'transplant_source' extra header to bytehex
ClosedPublic

Authored by vlorentz on Sep 10 2019, 4:24 PM.

Details

Summary

extra header values should always be bytes, and make swh-storage
crash if they are not.

Bug introduced in D1507.

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Looks like we're heading to bytehex digests instead of bytes digests

use bytehex instead of bytes

vlorentz retitled this revision from Convert 'transplant_source' extra header to bytes. to Convert 'transplant_source' extra header to bytehex.Sep 11 2019, 11:32 AM
This revision is now accepted and ready to land.Sep 11 2019, 11:45 AM

no more need for raw string

This revision was landed with ongoing or failed builds.Sep 11 2019, 11:45 AM
This revision was automatically updated to reflect the committed changes.