Page MenuHomeSoftware Heritage

Add option --exclude-sha1-file to content-replay.
ClosedPublic

Authored by vlorentz on Thu, Jul 25, 3:10 PM.

Details

Diff Detail

Repository
rDJNL Journal infrastructure
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Thu, Jul 25, 3:10 PM
douardda accepted this revision.Mon, Jul 29, 2:07 PM
douardda added a subscriber: douardda.

Thanks for this stack. Note my small comment about using the hardcoded value 20 in there. These values should come somehow from swh.model I guess...

swh/journal/cli.py
196

Bit odd to read here the constant '20' while SHA1_SIZE is defined in replay.py

This revision is now accepted and ready to land.Mon, Jul 29, 2:07 PM
vlorentz updated this revision to Diff 6138.Tue, Aug 6, 2:37 PM

Use SHA1_SIZE constant from swh.model.

vlorentz updated this revision to Diff 6139.Tue, Aug 6, 2:46 PM

Fix import path

This revision was automatically updated to reflect the committed changes.