Skip to content

api/deposit_status: Make swh-id be a directory id derivative

Adds:

  • swh-id as directory derivative persistent identifier
  • swh-id-context the same as swh-id with origin as context in the pid
  • swh-anchor-id as revision derivative persistent identifier
  • swh-anchor-id-context the same as swh-anchor-id with origin as context in the pid

Impacts:

  • deposit status api
  • private deposit update api
  • loader
  • deposit client (returned status endpoint result)

Related T1152

Note that you cannot arc patch locally this diff as the commit parent is the prior opened diff (!362 (closed)).

Test Plan

Tests are ok


Migrated from D396 (view on Phabricator)

Merge request reports

Loading