HomeSoftware Heritage

swh.indexer.rehash: Rename module to rehash + review adaptations

Description

swh.indexer.rehash: Rename module to rehash + review adaptations

  • Rename module from recompute to rehash
  • Rename options with more appropriate names
  • Improve methods' docstring and respect naming conventions
  • Fix wrong type value for option (use a boolean)
  • Fix wrong configuration key call

Related T692

Details

Provenance
ardumontAuthored on Mar 13 2017, 3:24 PM
ardumontPushed on Mar 21 2017, 10:50 AM
Differential Revision
D186: Recompute class to trigger an add/update hash checksums in storage
Parents
rDCIDX80eafec10b8f: swh.indexer.recompute: Add storage primary_key option for corruption check
Branches
Unknown
Tags
Unknown