Gitlab
How to connect your Github account with Village Labs.
Last updated
Was this helpful?
How to connect your Github account with Village Labs.
Last updated
Was this helpful?
A Gitlab account with access to the repositories you wish to sync with Village Labs.
Depending on the configuration, either a Free or a Premium/Ultimate Gitlab plan
Click 'Add new token'
Do not enter an expiration date, as you'll need to reconnect once it expires. You can always revoke Village Labs' access to this token in future if required.
Select the required scopes:
api
Next click 'Create personal access token' and copy / save your token.
access_token
: The access token created above
groups_list
: Your group ID, or a a comma-separated (no spaces) list of the group ids which should be synchronized. This field is required and cannot be left blank.
This requires a Gitlab Premium/Ultimate/Self-managed instance
projects_list
: A comma-separated (no spaces) list of the projects (or repositories) that should be synchronized. If left empty, Village will synchronize all projects that can be accessed (or within the groups configured above).
start_date
: Date of the first record to synchronize, in the following format: 2024-01-01T00:00:00Z
. Commits before this date will not be synchronized.
You can generate a personal access token at
Premium Tiers: If you wish to synchronize all repositories (projects) under a group (see config below), a Gitlab Premium/Ultimate/Self-managed instance is required: data will be (in part) synchronized through , which are not available in the Free Tier.
Free Tier: If you have a Free Tier Gitlab instance, you will need to provide an explicit list of the projects to synchronize: the data will be synchronized (in part) through .