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

DOIs for versions. #1

Open
martinjuckes opened this issue Nov 30, 2020 · 4 comments
Open

DOIs for versions. #1

martinjuckes opened this issue Nov 30, 2020 · 4 comments

Comments

@martinjuckes
Copy link
Contributor

https://help.zenodo.org/ .. zenodo granted access to cmip6dr org. Waiting for it to show.

version 01.00.10 in https://github.com/cmip6dr/CMIP6-Data-Request-XML .. need to check process of creating tagged "version" and exporting to Zenodo.

Added now.

git tag -a v01.00.10 -m "Tagged version 01.00.10"
git push origin v01.00.10

Release created. https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/managing-releases-in-a-repository

This automatically creates a Zenodo repo https://zenodo.org/record/4292247

This is a reasonably smooth process, but does not give constructable URLs for each version (there is a quasi-randon Zenodo id in the URL changing for each version). These two done by manual release creation.

https://developers.zenodo.org/#representation .. manual deposit may give more options ... can perhaps capture DOI.

@martinjuckes
Copy link
Contributor Author

Tried scripted upload ... works OK ... ; uses token .. different token for sandbox vs. live site.

Need to run a more detailed test, uploading a zipped file ...

@martinjuckes
Copy link
Contributor Author

See Data-Request-2.0 repo, "z.py" code. Upload to sandbox appears to work, but {'status': 400, 'message': "Validation error: u'resource_type' is a required property."} ... need to provide metadata to publish ... drafts are at https://sandbox.zenodo.org/deposit/710018 ...

@martinjuckes
Copy link
Contributor Author

Need Publication type (dataset), publication date, title, authors. full list in API documentation.

Can we specify "conceptrecid" to get a new dataset in an existing concept collection?

@martinjuckes
Copy link
Contributor Author

The conceptrecid can be specified ... but does not appear to be working (is overwritten in response ....). Need to check this using an established conceptredid.

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