Skip to content
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

Possibility to ignore overwriting manual adjustments to .zenodo.json-file by update_citation()? #144

Open
wlangera opened this issue Nov 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wlangera
Copy link
Contributor

wlangera commented Nov 7, 2024

Is there any way to add related identifiers or any other metadata automatically to .zenodo.json using update_citation() , or is there any way for update_citation() to ignore manual additions?

Description
This is my Zenodo publication. I want to add related works. E.g.:

Is described by
Preprint: 10.37044/osf.io/vcyr7 (DOI)

However, with checklist, a new release is created each time I merge with the main.
This means each time I merge with the main, a new release is published on Zenodo (due to Zenodo-GitHub integration).
And this means, each time I need to add related works again and again in the Zenodo metadata manually ...

I think I can add this to .zenodo.json manually in the GitHub repo:

"related_identifiers": [{
  "identifier": "https://doi.org/10.37044/osf.io/vcyr7",
  "relation": "isDescribedBy",
  "scheme": "doi"
}]

Unfortunately, update_citation() will overwrite this file each time deleting this manual addition.

@ThierryO ThierryO added the enhancement New feature or request label Nov 7, 2024
@ThierryO
Copy link
Collaborator

ThierryO commented Nov 7, 2024

This is a nice suggestion. However I have to place it on the back burner. Maybe I will implement it, maybe I won't. Feel free to submit a PR.

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

No branches or pull requests

2 participants