HomeSoftware Heritage

utils: Raise ValueError when external definition could not be parsed

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

Description

utils: Raise ValueError when external definition could not be parsed

Such case can happen when an external definition is malformed.

Previously, the parsed malformed external was added to the directory state
with an empty external URL which could lead to unexpected side effects like
removing all previously exported valid externals.

Details

Provenance
anlambertAuthored on Dec 6 2022, 4:37 PM
anlambertPushed on Dec 8 2022, 5:20 PM
Differential Revision
D8942: utils: Raise ValueError when external definition could not be parsed
Build Status
Buildable 33193
Build 52040: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.