Zenodo and GitHub
Contents
To publish a GitHub repo release on Zenodo
Setup accounts
Zenodo account : Have an user account using your official email address
GitHub account : Have an user account and make sure you are in SCEC organization if the repo you are publishing resides in SCECcode space
click on YourID (upper right) -> Organizations
You should see SCECcode as an entry in Organizations section
If you are not, email SCECcode GitHub admin manager and supply your user account id to be included
Link Zenodo account to GitHub account
Logon to your Zenodo account (Zenodo.org)
click on YourID (upper right) -> Linked accounts -> click on Connect for GitHub
It will take you to the 'Authorize Zenodo' page where it shows you have the organization access for SCECcode but you need initiate a request to SCECcode's GitHub admin for allowing Zenodo to access it on your behalf
the Admin will receive an email from Zenodo to act on the request
@meihuisu has requested approval for a third-party application to access "Statewide California Earthquake Center" organization resources via the GitHub API:
"Zenodo" from Zenodo
Until it is approved, this application will have no access to private resources and will have read-only access to public resources belonging to your organization.
It will also ask you to 'Authorize zenodo', which is whether you are allowing your GitHub repo to be included or not
After Linking, how to check
Logon to Zenodo,
click on UserID -> GitHub
There should be several repo shows up at 'Repositories' table. If not, try to refresh the page by clicking on 'Sync now' button
Enable GitHub repo release to be published in Zenodo automatically
Look through the list of repositories in 'repositories' table.
slide the slider to the right of the repo entry to 'On'. This will move the entry to the 'Enabled Repositories' table and that links the GitHub repo to Zenodo
Note: If you don't see the repository you want to track in the 'Repositories' table, need to check with the GitHub admin to see whether the permission on that repositories is proper ??? (Phil)
How to make a GitHub release and publish on Zenodo
Logon to Zenodo,
click on UserID --> GitHub
Follow the 3 instructions on the top of the page and that will create a GitHub release, publish it to Zenodo and give you a Zenodo badge