Version control (GitLab)

GitLab

GitLab is a collaboration platform primarily designed for software development, but it is also well suited for use in other types of projects.

 

TUHH's GitLab instance is available at https://collaborating.tuhh.de and is publicly accessible worldwide. Only TUHH members are permitted to create their own projects. However, external users can be invited to participate in and contribute to projects.

TUHH's GitLab instance is operated by the Computer Centre, and all data is stored on our own servers.

Access

 

Every TUHH member has access to the GitLab instance and can create up to 50 private projects. Archived projects also count towards this limit.

 

External users can also register for an account. However, unlike TUHH members, they cannot create their own projects. They can only contribute to existing projects or groups, with their role determined by the project owner.

All GitLab accounts require an email address.

After logging in, users can access GitLab's comprehensive help documentation.

The role

Access permissions in GitLab are managed through roles, with each role granting different permissions.

 

A user can be a member of multiple projects and is assigned a specific role in each project.

Groups

Groups are only available to TUHH institutions and can be requested by the departmental IT representative (DVB) by sending an email to the IT Service Centre.

 

An unlimited number of subgroups or projects can be created within a group. Additional members can also be added to groups, subgroups or projects and assigned different roles. In general, members can have different roles at different levels, but permissions are always inherited by structures at lower levels. This means that a member can be assigned a role with additional permissions in a subgroup or project, but their existing permissions cannot be restricted (even if the interface appears to allow this).

By default, the Computer Centre sets the visibility of a group to “public”. This means that the group is visible worldwide. The reason for this decision is that the visibility of subgroups and projects can be changed from “public” to “private”, but not the other way around. It is therefore advisable to create a subgroup with its visibility set to “private” and place all non-public projects and subgroups within it. Alternatively, the visibility of the main group can also be set to “private”.

The Computer Centre recommends granting access to the top level of a group to only a very small number of users. Instead, it is preferable to create several subgroups and delegate responsibilities within them. Any user assigned the Owner role has full control over the group, including the ability to delete groups.

Projects

 

Projects can be moved, either from personal projects to a group or from one group to another. The prerequisite for this is that you are the owner of the project[1] and that you have permission to create projects in the group to which you want to move it.

 

[1] For personal projects, the "Owner" is shown as "Maintainer".

Functional accounts

 

Functional accounts are not necessary for using GitLab. The data center generally advises against using GitLab with functional accounts, as this offers no advantages, obscures authorship, and complicates the permissions system.

 

FAQ - Problems with account switching

I'm getting a new TUHH account and my email address is moving with it.

In this case, your account will be retained, and you can continue using it. However, after logging in with your new TUHH account for the first time, we recommend updating your username in the settings, as your old username will still be displayed.

I'm getting a new TUHH account and a new email address.

You will receive a new TUHH account in GitLab, which you can use as normal. Of course, you will still need to add the account to the projects you intend to use it for.

I'm getting a new TUHH account with an email address, but this will be moved later.

The easiest approach is to wait until your email address has changed before using your new account. You will then need to log in once with your old account and remove your old email address in the settings. Afterwards, you can log in normally with your new account. Otherwise, you must assign a new email address to your old account before switching. Everything else will remain unchanged.