Splash image

Research data support at the Bolin Centre

Code repository

How to publish source code

Browse to git.bolin.su.se/bolin.

  1. Register a user account, if you are a new user. Send an email to bolindata@su.se and ask us to approve your account.
  2. Sign in, when you have an approved account.
  3. Upload your code. You can use the web interface or a command line interface, whichever you prefer.

Using git

You can work with your code project, share it with colleagues, and create new revisions in the same way as you may already be familiar with from working with git. Currently, we have a limit of 100 MB for each project.

You can choose to set the project visibility to private or internal. If you want it to be public, we can help you.

Citing source code

If you want to make it possible to cite a particular version of your source code, we can provide a DOI. In order to do so the following steps are done.

  1. Review project — We will curate your project according to our standard.
  2. Transfer project — We will transfer your project to the bolin user under our ownership, in order to ensure that the project and the specific version is permanently accessible. Nobody else can then delete the project.
  3. Tag version — We will create a tag that identifies a specific version. This tag will be named e.g. '1.0.0'. This is to tag or 'freeze' a specific point in a project's history. This 'frozen' point in time can then be cited.
  4. Assign DOI — We will assign a DOI to the specific tag. The DOI will be created when the dataset is published.

DOI

We can provide a DOI to a specific version published by the Bolin Centre. If a code project has more than one public version, each version will have its own DOI.

License

Please make sure to choose a license for your code. We recommend the MIT licence.

README file

Please use our template for a README.md file that briefly describes the code repository and how to use it.

README examples

Jupyter Notebooks

We promote and encourage you to publish Jupyter Notebooks along with your code.

More information

There are many places with more information about git on the web, e.g. git-scm.com or a short cheat sheet. There is also a simple tutorial for GitLab.