HomeSoftware Heritage

Add support for model object anonymization

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add support for model object anonymization

Simply add a BaseModel.anonymize() method. Default implementation returns
None, meaning the object is not anonymizable.

For Person, the method returns a Person whith hashed fullname (and unset
name and email).

For Revision and Release, the method returns an anonymized version of
the object, i.e. with instance of Person replaced by anonymized ones.

Details

Provenance
douarddaAuthored on May 19 2020, 4:04 PM
douarddaPushed on May 20 2020, 4:32 PM
Differential Revision
D3171: Add support for model object anonymization
Build Status
Buildable 12460
Build 18912: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.