Page MenuHomeSoftware Heritage

Display metadata provenance in the deposit web ui
Closed, MigratedEdits Locked

Event Timeline

Should be in the new version, but the uri field is empty.
To debug ASAP

moranegg changed the task status from Open to Work in Progress.Apr 7 2022, 12:00 PM
moranegg moved this task from Backlog to In progress on the SWORD deposit board.

While working on improving the performance of the deposits admin view, I also noticed the metadata provenance URL was still not displayed while it is well present in the metadata received from HAL (see for instance meta deposit 1056 on https://webapp.staging.swh.network/admin/deposit/).

After some analysis, I found out that the XMNLS URL for schema.org use the HTTPS protocol in HAL metadata while swh-deposit metadata provenance parsing code expects it to be HTTP.

According to the official schema.org FAQ, HTTPS should be preferred so the issue is on our side.

So we should use the HTTPS URL of schema.org instead to fix the metadata provenance URL extraction.