HomeSoftware Heritage

git2graph: add (static) support for filtering desired nodes & edges

Description

git2graph: add (static) support for filtering desired nodes & edges

This allows to select desired nodes and edges based on their types, similarly
to what the edges restriction field in the swh-graph REST API does. (It is in
fact strictly more expressive, as one can also select nodes without the
corresponding edges.)

The support is only static for now: boolean arrays (or matrices) have to be
changed in the source code to alter the selection, which by default is "all".
Support for making this user-selectable on the CLI is upcoming.

Details

Provenance
zackAuthored on Oct 4 2019, 10:01 PM
zackPushed on Oct 6 2019, 7:43 PM
Parents
rDGRPHfc8c19bdfc9c: git2graph Makefile: factor out definition of wanted libs
Branches
Unknown
Tags
Unknown
Build Status
Buildable 8131
Build 11721: test-and-buildJenkins