Skip to content

deposit: Fix loader deposit inconsistency in revision committer date

The current deposit loader use the wrong date values for the committer date. This needs to be fixed to realign with the specification [5]

+-------------------+-----------------------------------------+----------------+----------------+
| SWH revision field| Description                             | CodeMeta term  | Fallback value |
+===================+=========================================+================+================+
| date              | date of software artifact modification  | dateCreated    | reception_date |
+-------------------+-----------------------------------------+----------------+----------------+
| committer_date    | date of the commit in VCS               | datePublished  | reception_date |
+-------------------+-----------------------------------------+----------------+----------------+

Following revisions [1] [2] [3] which exposes or not issues.

In that regard, [1] is faulty because datePublished is provided so the committer date is wrong. Its author date is ok though.


Migrated from T2368 (view on Phabricator)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information