You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Connecting your figshare and Github account is the first step to archiving your Github repos in figshare so that they can be cited and reused along with any related datasets.

Note:

  • Figshare will zip your entire repo and import a copy.
  • If your repo has multiple releases, you can choose which release to import. If your repo does not have releases, it will import the latest commit.
  • You can choose to auto-sync figshare and github, which will automatically import and version a copy of your github repo every time you create a new release of that repo.


Steps:

  1. Login to figshare, and under the My data tab click on the Octocat icon next to the Create a new item button. 

  2. Or....Login to figshare and click on your user icon in the upper right
    choose Applications from the menu that appears


    and then choose Connect under the GitHub Octocat icon
  3. If you are already logged into Github it will prompt you to authorize figshare to access your account

  4. To turn on auto-sync, toggle the on/off "switch" in the resulting configuration window.
    If auto-sync is enabled, fighsare will automatically import a zipped file of your repo every time you publish a new version.
    Your figshare item will be versioned as well, so older zipped archives of your repo are accessible in both places.


(info) You can always leave syncing turned off, and selectively enable syncing for specific repos by

    1. Going to My data and check the box next to the figshare item that contains your repo
    2. change the toggle "switch" to on for that item

5. Import your repo

    1. click on the Octocat icon next to Create a new item
    2. check the box next to the repo you want to import - if there is no release, the latest commit will be chosen) then click the button to Import selected repos
    3. You will now be able to turn on syncing for that repo, and add metadata by clicking the Add info button




  • No labels