HomeSoftware Heritage

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

Description

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

Instead of indexing origins one by one in the 'index' method
(which calls storage.revision_get for each one of them),
the commit implements the indexing in 'index_list' to index
them all at once, allowing to call storage.revision_get
a single time for all revisions at once.