HomeSoftware Heritage

origin layer: retrieve multiple levels of revision history at once

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

origin layer: retrieve multiple levels of revision history at once

Replace revision_get_parents with revision_get_some_outbound_edges,
which can optionally retrieve more levels of history than just a single
one. This allows us to do way fewer queries on the swh.graph or
swh.storage backend if the revision exists there.

The swh.storage backend does limited recursion, so we still process the
origin in multiple steps to fetch the whole history.

Details

Provenance
olasdAuthored on Aug 12 2022, 11:26 AM
olasdPushed on Aug 16 2022, 12:35 PM
Differential Revision
D8243: All the current swh.provenance changes that are running in production...
Build Status
Buildable 30803
Build 48159: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.