hermes.commands.deposit.rodare
Classes
Settings for Rodare deposit plugin. |
|
Custom Rodare client with updated |
|
Custom Rodare resolver using custom client. |
|
Deposit plugin for the HZDR data repository Rodare (https://rodare.hzdr.de). |
Module Contents
- class hermes.commands.deposit.rodare.RodareDepositSettings(/, **data: Any)
Bases:
hermes.commands.deposit.invenio.InvenioDepositSettingsSettings for Rodare deposit plugin.
This extends the base class by the Robis publication identifier that is required when creating deposits on Rodare.
The
site_urlis overridden as it will be the same for all users.
- class hermes.commands.deposit.rodare.RodareClient(config, auth_token=None, platform_name=None)
Bases:
hermes.commands.deposit.invenio.InvenioClientCustom Rodare client with updated
platform_namefor correct config access.
- class hermes.commands.deposit.rodare.RodareResolver(client=None)
Bases:
hermes.commands.deposit.invenio.InvenioResolverCustom Rodare resolver using custom client.
- class hermes.commands.deposit.rodare.RodareDepositPlugin(command: hermes.commands.deposit.base.HermesDepositCommand, ctx: hermes.model.context.CodeMetaContext, client=None, resolver=None)
Bases:
hermes.commands.deposit.invenio.InvenioDepositPluginDeposit plugin for the HZDR data repository Rodare (https://rodare.hzdr.de).
- prepare() None
Update the context with the Robis identifier from the config.
All HZDR publications must be registered in Robis (https://www.hzdr.de/robis). The first release of a software may only be performed when the registration in Robis is finalized and approved, and a publication form was added.
Update the related identifiers with link to Robis.
Add the Robis Publ-Id as a related identifier. This is additional metadata which is not required by Rodare or Robis. It helps users find the related publication on Robis at
https://www.hzdr.de/publications/Publ-{pub_id}.An example publication on Rodare: https://rodare.hzdr.de/api/records/2
The associated Robis page: https://www.hzdr.de/publications/Publ-27151