Skip to content

Keep Hermes DOI used for IsCompiledBy relation up to date #487

Description

@zyzzyxdonta

When making a deposit to an Invenio- or InvenioRDM-based platform, hermes sets a IsCompiledBy relation on the created record, to indicate that it was created by hermes. Currently, the DOI used for this, is hard-coded.

"identifier": hermes_doi,

This leads to two issues:

  1. The DOI needs to be updated manually which can easily be forgotten.
  2. We run into a chicken-and-egg problem. While a new version of hermes is being published and pushed to PyPI, the DOI of this version is not known yet and can't be included in the release.

There are two different ways to fix this:

  1. Use the hermes concept DOI as the related identifier
    • ➕ Easy to implement
    • ➖ We "loose track" of which hermes versions are used and we loose valuable debugging information in case we find issues in publications. Though this might not be too bad as hermes is still in its infancy.
  2. Figure out the DOI at runtime
    • ➕ Enables more insights
    • ➖ Complex implementation that needs to find all possible hermes DOIs on DataCite and then select the one which matches best (could go wrong with pre-released versions, forks, in development, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    4️ prepare/depositThe preparation/deposition step in the workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions