Skip to content

GitLab

The GitLab resource type enables you to manage metadata for GitLab repositories in Coscine.

Background

  • Allows data in GitLab projects to be tagged with metadata
  • Advantage: linking of files with metadata in Coscine
  • Security and accessibility of data depends on external provider. As a resource creator it is up to you to ensure that all members of the project follow the terms of use and privacy policy of the underlying storage provider.

How to use the GitLab resource

  • Select GitLab when creating a resource in step 1
  • Specify the GitLab instance domain name (e.g. "https://git.rwth-aachen.de/")
  • Fill in the GitLab project or group access token (see GitLab - project access token and GitLab - group access token)
    • New Access Tokens can be created via the settings in GitLab. Access to the resources in Coscine will later be possible according to the selected authorizations of the Gitlab token.
    • Token is created and can be copied to resource creation page.
  • Verify the GitLab connection by pressing the blue button
  • Select the GitLab project and the project branch
  • Accept that you adhere to the terms of use and privacy policy of the underlying storage provider. Since the storage provider may differ between instances (institutions can run their own GitLab instance), you need to figure out the specific guidelines of the provider that you have specified in the domain field.

Image

Figure 1 - GitLab resource setup

Storage space for GitLab resource

This resource type does not require any storage space, since data is not stored in Coscine.