Page MenuHomeSoftware Heritage

Make the OriginMetadataIndexer call storage.revision_get a single time for all revisions.
ClosedPublic

Authored by vlorentz on Feb 6 2019, 4:57 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda added a subscriber: douardda.

Could you please explain in the commit message why you do this diff? Also the 'assert False' looks really strange. What is its practical purpose?

This revision now requires changes to proceed.Feb 7 2019, 10:02 AM
  • Make Indexer.index a non-abstract method.

Could you please explain in the commit message why you do this diff? Also the 'assert False' looks really strange. What is its practical purpose?

That was because index was an abstract method of the parent class. Fixed.

This revision is now accepted and ready to land.Feb 8 2019, 10:42 AM