[PATCH 0 of 3 file] make hash algorithm configurable

David Douard david.douard at logilab.fr
Tue Jun 12 12:00:48 CEST 2018


This patch makes the hash algorithm configurable.

We replace the data_sha1hex by a data_hash attribute which stores the hash
with a "header" (of the form "{ALG}"), and refactor
the code around this (configuration, hooks, entities, and tests).

This code should ne reasoinably bw-compliant.

Also note that the migration script allows to run the migration stuff for
File and all its derivated entity types (but can be skipped).


More information about the cubicweb-devel mailing list