GitHub and GitLab Connector Configuration: Add/Edit Repository

The GitHub and GitLab connectors use the same settings interface. You can add GitHub or GitLab servers and repositories to make them available to 3DEXPERIENCE platform applications. You can edit existing server repository definitions to correct any issues. When you connect a GitHub or GitLab repository, the repository is cloned, and that clone is maintained by the 3DEXPERIENCE platform.

This page discusses:

Validate Connector Configuration

To validate the settings, select Validate. Validate displays field errors in red.

Table 1. Status Messages
Configuration Status Message Description
The server configuration has not been validated. The server configuration has not yet been validated.
Changes made to settings but not yet saved The changes have not been saved. Click OK to save the changes and return to the main page.
Validating URLs... The connector is in the process of validating the settings. Wait until the validation is complete.
SUCCESS - All settings validated and no changes need saving. The connector is configured and validated. Select Ok to close the form.
ERROR - one or more settings have problems. The connector did not successfully validate. The error messages listed provide guidance for how to correct the error.

Server Information

The server that hosts the repositories defined for this connector.

Field Description
GitHub or 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.

Registered Credentials

The list of registered repositories on the specified server.

Table 2. Registered Credentials
Field Description
Credential Name A user-friendly name that allows you to identify the repositories for which this credential provides access. The credential name can contain alphanumeric characters, periods, dashes, or underscores. The credential name must be unique within each GitHub server.
Access Token A generated Access Token, available from the GitHub or GitLab server. The token is associate with a given user or organization account. All repositories accessible through the token are automatically registered with the connector.
List Repositories Provides a List of Accessible Repositories, which includes all repositories you have access to using these credentials.
Add Credentials Adds a newline to the table for you to enter a new credentials definition.
Delete Credentials Removes the selected credential entry.

Registered Public Repositories

The list of registered public repositories on the server.

Table 3. Registered Public Repositories
Field Description
Path The account name and repository name for the public repository, for example, github/datalibrary or https://gitlab.com/<path>.

The path must be a valid Git repository.

Note: The full repository URL address is the server URL concatenated with the path value.
Add Adds a newline to the table for you to enter a new repository path.
Delete Repository Removes the selected repository entry.

Validate and Save Settings

This command bar provides the validate, save, and cancel options.

Table 4. Validate and Save Settings
Validate Verify all the information entered on the page.
Save Saves the information and returns to the page.
Cancel Closes this page without saving the information and returns to the page.
Help Starts this document.