We will shortly be upgrading this wiki site. Please find out more information: HERE
Page tree
Skip to end of metadata
Go to start of metadata

GitLab allow to maintain public repositories visible for anyone without active user account. Access to public repositories doesn't require user authorization.
All public repositories are listed on  GitLab https://gitlab.geant.org main page. Each public repository is also accessible directly through it's URL (for example https://gitlab.geant.org/kkaminski/simple-page)

Access to public project (e.g. issues) can be however restricted in project configuration.

For more details please refer to https://docs.gitlab.com/ee/public_access/public_access.html

To create a project you need an access to gitlab.geant.org.

For more info how to get access to GitLab, please refer to Accessing GÉA​NT GitLab

How to setup project public

In order to setting up the project or some it's elements public you weed to configure project visibility and permissions.
All settings are located in Project Settings → General → Visibility, project features, permissions



If some options in Project visibility drop down menu are inactive (grayed out) it probably means that project belongs to some group. In such case please set up public visibility for that group first. See How to set group public instructions below.

How to setup group public

  1. Determine group the project belongs to. In project general view check out the project path and click on the group name in the path (red underscore on screenshot below)



  2. In group view go to Settings → General → Naming, visibility and change Visibility level to Public (see screenshot below)



  3. Now it is possible to change project visibility to public as described How-to setup project public

How to access public project directly

Project with public visibility can be accessed by direct project link. 

In order to obtain direct link go to your project, go to https://gitlab.geant.org/public and search for your project. Then click on your project name to go to the project main page. Now you can simply copy URL from your web browser.



2 Comments

  1. The title of this document is wrong: with the above setting I still do not have public access, as users still need to login. If they are not in the project they need to create an account and go through manual vetting. That is silly.
    I have 500+ users who need access. What is the procedure for that?

    1. It looks like the example project has been moved - I've changed to another currently working example.

      If the access configuration problem persists please report it via http://help.software.geant.org .
      After testing another publicly available repo without logging in I can download (clone) the code. This indicates a configuration problem, which we are happy to help with.