HomeSoftware Heritage

indexer: open drop/skip policy update on duplicates (language/mimetype)

Description

indexer: open drop/skip policy update on duplicates (language/mimetype)

This adds the optional conflict_update parameter which specifies what to
do when conflicts on sha1 occurs.

conflict_update by default is false which ignores duplicates.
Otherwise, conflich_update to true, overwrite existing data.

Related T582

Details

Provenance
ardumontAuthored on Oct 12 2016, 6:50 PM
ardumontPushed on Oct 13 2016, 3:35 PM
Parents
rDSTOdddbc4c05c3b: Fix: Remove nose test attribute 'one'
Branches
Unknown
Tags
Unknown
Build Status
Buildable 533
Build 758: Software Heritage Python tests