HomeSoftware Heritage

Graph export: add labels to the export CSV format

Description

Graph export: add labels to the export CSV format

We want to have the labels in the edge dataset to differentiate between
the file names and branch names that have the same src/dst.

This changes the format of the edge files to be:

<SRC> <DST> [LABEL] [PERMISSION]

Where LABEL is an optional base64-encoded label of the file or branch
name, and PERMISSION an integer in base 10 corresponding to the
permission of the file.

Details

Provenance
seirlAuthored on Dec 8 2020, 7:30 PM
seirlPushed on Dec 11 2020, 5:38 PM
Differential Revision
D4707: graph export: handle labels
Parents
rDDATASETb21d4a5ca327: graph exporter: schema upgrade for origin_visit_status
Branches
Unknown
Tags
Unknown