Difference between revisions of "Zenodo and GitHub"

From SCECpedia
Jump to navigationJump to search
(Created page with "== Zenodo and GitHub == To publish a GitHub repo release on Zenodo, === Setup accounts === Zenodo account : Have an user account using your official email address GitH...")
 
Line 21: Line 21:
 
   Got to Zenodo.org, logon to your account
 
   Got to Zenodo.org, logon to your account
  
       click on YourID (upper right) -> Linked accounts
+
       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
 +
      <pre>
 +
@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.
 +
      </pre>
 +
 
 +
      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 ===
 +
 
 +
    On 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

Revision as of 22:37, 16 October 2025

Zenodo and GitHub

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

 Got to Zenodo.org, logon to your account
     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

   On 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