HomeSoftware Heritage

Make content_add validate its input using swh-model.

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

Description

Make content_add validate its input using swh-model.

The initial goal of this commit was to make the in-mem content_add raise
errors on input that would make postgresql error.

As a side-effect, the pgsql content_add now validate its input as well,
so clients get a nice/meaningful error instead of postgresql's error.

Details

Provenance
vlorentzAuthored on Aug 19 2019, 2:43 PM
vlorentzPushed on Aug 29 2019, 11:32 AM
Differential Revision
D1865: Make content_add validate its input using swh-model.
Build Status
Buildable 7506
Build 10730: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.