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

Offline/client-side GitHub Release metadata validator #992

Open
slint opened this issue Sep 18, 2024 · 1 comment
Open

Offline/client-side GitHub Release metadata validator #992

slint opened this issue Sep 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@slint
Copy link
Member

slint commented Sep 18, 2024

Users have a lot of trouble validating their CITATION.cff or .zenodo.json files before enabling the GitHub integration for their repositories and pushing releases to Zenodo. Given that the validations are based on JSONSchemas, we could provide a simple interface that:

  • Performs a client-side validation of the CITATION.cff
  • Optionally, spits out what metadata we would parse on Zenodo (this would be much easier on our backend though, since we could just pass the file through our marshmallow schema).
@slint slint added the enhancement New feature or request label Sep 18, 2024
@RichardJActon
Copy link

Is it documented somewhere what zenodo uses parse CITATION.cff so I can set something up to so this? I've just run into a case where my CITATION.cff is valid according to cffinit but the github integration is throwing an error which just says 'Citation metadata load failed' which is not useful for debugging and the prospect of tweaking the cff file and making new releases on github until it works is not a very appealing one.

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