staging instance, all data can be removed at all time

Skip to content

deposit.api.checks: Update api checks to allow more alternate fields

at least:

  • author or codemeta:author field must be present
  • title, name, codemeta:title, or codemeta:name must be present

This actually allows to use the generated metadata from the deposit client cli. The actual metadata generated by the cli uses codemeta:author and codemeta:name, which would fail the check in the metadata update scenario.

Test Plan

tox


Migrated from D4232 (view on Phabricator)

Merge request reports