HomeSoftware Heritage

Add parameter 'ignore_unresolved' to snapshot_git_object

Description

Add parameter 'ignore_unresolved' to snapshot_git_object

It allows building a snapshot manifest despite some branches being
unresolved (instead of raising an error).

This feature was removed in 57ae405d312879bec19107d29a20c2c290d7861d
but in the end, Snapshot.compute_hash() will need to use it so that
swh-scrubber does not crash when checksum such snapshots.

Details

Provenance
vlorentzAuthored on Aug 5 2022, 2:20 PM
vlorentzPushed on Aug 8 2022, 2:44 PM
Differential Revision
D8201: Add parameter 'ignore_unresolved' to snapshot_git_object
Parents
rDMOD79ed55054633: hypothesis_strategies: Avoid generating timestamps which overflow datetime.
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
Build Status
Buildable 30686
Build 47981: test-and-buildJenkins console · Jenkins