Page MenuHomeSoftware Heritage

Prevent OriginMetadataIndexer from sending duplicate revisions to revision_metadata_add.
ClosedPublic

Authored by vlorentz on Feb 5 2019, 12:04 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
origin-meta-idx-duplicates2
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4162
Build 5486: tox-on-jenkinsJenkins
Build 5485: arc lint + arc unit

Event Timeline

ardumont added a subscriber: ardumont.
ardumont added inline comments.
swh/indexer/metadata.py
311

why not build the 2 lists (rev_metadata, orig_metadata) in one go since you iterate over it here already?

This revision is now accepted and ready to land.Feb 6 2019, 3:15 PM
vlorentz marked 2 inline comments as done.
  • Fix
swh/indexer/metadata.py
311

Good catch

This revision was automatically updated to reflect the committed changes.