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

github: ".zenodo.json" dynamic overriding #1737

Open
slint opened this issue Mar 28, 2019 · 1 comment
Open

github: ".zenodo.json" dynamic overriding #1737

slint opened this issue Mar 28, 2019 · 1 comment

Comments

@slint
Copy link
Member

slint commented Mar 28, 2019

Sometimes users might just want to keep the default metadata values added by the integration (e.g. related identifiers, collaborators) but just extend the value in some way. This could be done e.g. by using some special placeholder value (e.g. <DEFAULT>). Example:

.zenodo.json

{
  "related_identifiers": [
    {"identifier": "10.1234/foobar", "relation": "references"},
    "<DEFAULT>" // <---- keep default metadata
  ]
}

Final metadata:

{
  ...
  "related_identifiers": [
    // added by .zenodo.json
    {"identifier": "10.1234/foobar", "relation": "references"},
    // added by default
    {"identifier": "https://github.com/foo/bar/tree/v1.1.0", "relation": "isSupplementTo"}
  ],
  ...
}
@dimpase
Copy link

dimpase commented Oct 7, 2020

yes, this would simplify things a lot. E.g. we need to override the contributors list (we can't list our 540 contributors, it seems that zenodo has a limit of 30, anyway) so we'd replace this with "The Developers" or something like this.
Naturally, we can fill in the rest ourselves, but this means at least version, date needs to be filled into the template in the repo (by hand or otherwise).

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

No branches or pull requests

3 participants