Page MenuHomeSoftware Heritage

Make the loaders compute blake2s256 hash for new contents
Closed, MigratedEdits Locked

Description

This is about making the loaders compute a new hash for every new content we will be loading in the storage.
This new hash is blake2s256 (length 32) - https://docs.python.org/3/library/hashlib.html#blake2.

Impacts (on production):

  • swh-model
  • swh-storage
    • db schema table, index, trigger, ...
    • api functions
  • swh-loader-core
  • swh-loader-dir
  • swh-loader-tar
  • swh-loader-git
  • swh-loader-svn

Related T692 (about recomputing new hashes for the contents already stored in our storage).

Event Timeline

ardumont renamed this task from Make the loaders compute blake2s256 checksums to Make the loaders compute blake2s256 hash for new contents.Mar 24 2017, 2:12 PM
ardumont created this task.
ardumont updated the task description. (Show Details)
ardumont updated the task description. (Show Details)