GitHub and GitLab Connector Configuration

The GitHub and GitLab connectors use the same settings interface. You can use this page to view and edit the connector settings and the repositories available to 3DEXPERIENCE platform applications.

This page discusses:

Administration

These settings apply to both the GitHub and GitLab connectors.

Field Description
Temporary Workspaces Path Specifies the base directory for temporary workspaces on the server used to perform operations that need to be run in a workspace. The server stores a limited number of workspaces. If all the temporary workspaces are in use, the system with provide an appropriate error for the administrator to clean the temporary space. (Required)
Apply Saves the new temporary workspace value, replacing the previous value.
Reset Resets the Temporary Workspaces Path to the last saved value.
Help Starts this documentation.

Registered Servers

This section contains the list of registered servers and the repositories registered for use with the 3DEXPERIENCE platform on each server.

Field Description
GitHub Server URL

GitLab Server URL

The URL to the GitHub or GitLab server, for example, https://github.com or https://gitlab.com.

The path must be a valid server.

Credential Name The user-friendly identifier associated with the credential being used to access the repositories on the server.

The special credential name PublicRepositories is automatically used for registered repositories from the public repositories table on a server. Any user on the internet can access public repositories.

Note: Because there are so many public repositories available on these servers, you must register each public repository being exposed to 3DEXPERIENCE platform individually.

Credential Type Indicates whether the credential name references private repositories that use an access token, or public respositories. Possible values are:
  • AccessToken
  • Public
These values are read-only and are not entered by the user.
Access Token The actual token generated by the GitHub or GitLab server used by the Connector when it communicates to the server. The token provides access to all repositories that the user generating the token can access. The repositories can be declared to be private or public by GitHub or GitLab. A GitHub personal access token (classic) must have a minimum scope of repo. A GitLab personal access token must have a minimum scope of api. When generating the token from the GitHub or GitLab server, enable the token for API access to the server.
Edit Edit the server and repository.
List Repositories Provides a List of Accessible Repositories of all the repositories to which you have access using these credentials.
Add Add a server definition.
Delete Remove the selected server definition.
Help Opens this document.

List of Accessible Repositories

The list of available repositories for the specified credential.

Table 1. Registered Public Repositories
Field Description
Credential Name The user-friendly identifier created when the server definition was added.
Path The location of the repository accessible on the registered server. The Path value is appended to the GitHub or GitLab server URL to create the full URL to the repository.