Skip to content

deposit moderation view: Improve deposit types visualization

This explicits the deposit's type, either 'code' or 'meta'. The uri column is now filled depending on that type. Mostly, the parsing of the deposit's raw xml content is done to try and extract that potentially provided information.

If not found, this uses the same heuristics as before (either use the origin_url if provided or extract the origin out of the swhid_context).

Screenshot:

2022-02-25_18-19-53

Related to swh-deposit#3680

Test Plan

  • tox
  • cypress
  • docker-compose happy (see screenshot, out of staging data)

Migrated from D7262 (view on Phabricator)

Merge request reports