HomeSoftware Heritage

converters: normalize timestamps using swh.model
e3542921402eUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

converters: normalize timestamps using swh.model

To make sure corruptions such as T680 don't happen again, use the same
normalization function as swh.model before inserting timestamps into our
database.

This makes swh.storage reject non-integer timestamp values as well.

Update tests to reflect this change.

Details

Provenance
olasdAuthored on Feb 14 2017, 7:14 PM
seirlPushed on May 5 2017, 4:49 PM
seirlPushed on May 5 2017, 4:45 PM
Parents
rDVAUe19430c3ac48: requirements: split internal and external requirements in two separate files
Branches
Unknown
Tags
Unknown