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.
-
[2] is faulty because, the committer date should be the reception date. Its author date is ok though.
-
[3] is ok though. As its the metadata fields provided are the same values (but that's plain luck ;)
Migrated from T2368 (view on Phabricator)