Skip to content

Add Rodare option to hermes init #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zyzzyxdonta opened this issue May 20, 2025 · 0 comments
Open

Add Rodare option to hermes init #345

zyzzyxdonta opened this issue May 20, 2025 · 0 comments

Comments

@zyzzyxdonta
Copy link
Contributor

In hermes init it should be possible to select Rodare as the target for the deposit step.

The plugin is implemented here: https://github.com/softwarepub/hermes/blob/develop/src/hermes/commands/deposit/rodare.py

I would suggest showing "Rodare (for HZDR employees)" as an option for the deposit platform. If Rodare is selected, users should be shown the following text (or something similar):

In order to publish your software on Rodare, you first need to register it in Robis (https://www.hzdr.de/robis). Only enter the general metadata, but don't add a "publication form". Robis will assign an ID ("Publ.-Id") to your publication. Please enter this ID here.

And then they should enter this ID.

The snippet for the hermes.toml that should be generated looks like this (I used Publ.Id: 12345 in this example):

[deposit]
target = "rodare"

[deposit.rodare]
robis_pub_id = 12345

Additionally, [deposit.rodare] may have the following fields inherited from the Invenio plugin:

communities = ["rodare"]
access_right = "open"

For access_right, I think we should ask the user. communities should be pre-filled with ["rodare"] (which is the community for things to show up on the front page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant