HomeSoftware Heritage

indexer: Change from policy_update to a boolean named skip_existing

Description

indexer: Change from policy_update to a boolean named skip_existing

policy_update is a variable to determine whether to update or ignore
duplicates. Prior to this commit, this was conflated with the
incremental nature of the indexer. This declares a meaningful name
instead 'incremental' and force the db policy update writing to always
update conflicting data (if any).

This policy_update variable should probably go away.

Details

Provenance
ardumontAuthored on Nov 16 2018, 3:53 PM
ardumontPushed on Nov 17 2018, 9:35 AM
Differential Revision
D666: indexer: Change confusing name policy_update to skip_existing boolean
Parents
rDCIDXc5c535754110: indexer: Use the right type information
Branches
Unknown
Tags
Unknown