HomeSoftware Heritage

client: support optional date in Revision and Release

Description

client: support optional date in Revision and Release

From the model specification, the date attribute in Revision and
Release objects is optional. This commit handles the date attribute
set to the None value.

It also tests the "typification" of a minimal Revision object to avoid
regressions on this usecase.

Details

Provenance
lewoAuthored on Oct 15 2020, 11:06 AM
ardumontCommitted on Oct 15 2020, 11:27 AM
ardumontPushed on Oct 15 2020, 11:44 AM
Differential Revision
D2958: client: support optional date in Revision and Release
Parents
rDWCLI5d04bc970f17: client: make API response typify-ing optional
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16306
Build 25101: test-and-buildJenkins console · Jenkins