Skip to content

deposit.cli.client: Allow user to define the metadata provenance url

If the user is providing the --metadata-provenance-url, the xml generated will forward that information to the deposit server. If the user is providing the metadata file directly, a warning will be logged to notify the user of the missing metadata provenance url (if it is missing).

$ swh deposit upload  --help | grep -C2 metadata-provenance
                                  server.

  --metadata-provenance-url TEXT  (Optional) Provenance metadata url to
                                  indicate from where the metadata is coming
                                  from.

Related to #3677 (closed) Depends on !281 (closed)

Test Plan

tox


Migrated from D7214 (view on Phabricator)

Merge request reports

Loading