Skip to content

replayer: add a --known-mismatched-hashes argument to the replay cli command

David Douard requested to merge douardda/swh-storage:replay-known-invalid into master

This accepts a file of swhids of objects that are known to be invalid (hash mismatch) but should be replayed anyway.

The file is expected to have one swhid per line.

Note that the cli only accepts swhids in the exception file, while the backend (ModelObjectDeserializer) support all HashableObject. But we currently do not need this feature on the cli tool for other object types, and doing it this way is simpler in terms of type annotation.

Merge request reports