Make the loaders compute blake2s256 hash for new contents
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 swh/devel/swh-indexer#692 (closed) (about recomputing new hashes for the contents already stored in our storage).
Migrated from T703 (view on Phabricator)
Edited by Phabricator Migration user