HomeSoftware Heritage

converters: normalize timestamps using swh.model
ec8cebfbaac6Unpublished

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 Feb 16 2017, 4:29 PM
Parents
R65:c6abed2ca3b7: sql/archiver: get the count of objects in each archive
Branches
Unknown
Tags
Unknown