Connect your Git platform
Find out how to let Packmind AI capture your coding practices from your latest Git repositories changes.
Last updated
Was this helpful?
Find out how to let Packmind AI capture your coding practices from your latest Git repositories changes.
Last updated
Was this helpful?
You must be a Driver or an Administrator in your current space to access this page and update the configuration.
To enable this feature, click on your username/avatar in the top right corner and go to Administration -> Git Configuration. Select the space of your choice and select your Git Provider among the available ones (Gitlab, GitHub, Azure DevOps, or BitBucket).
Check below to configure the authentication with your selected Git provider.
This configuration is only for the selected space; however, you can use the same token as many times as you want. You may want to avoid this for providers like GitHub where the rate limit is set relative to the authenticated user.
Hostname
For this field, you must type your GitLab instance's hostname (usually a domain name).
For example, gitlab.example.com
or even an IP address such as 123.456.0.5:5555
.
By default, gitlab.com
will be used for the requests.
Authentication token
The authentication token can be generated on GitLab as an Access Token
, available for the following entities:
Repositories (only allows a single repository)
Projects (allows every repository in the project)
Groups / Subgroups (allows every repository in the group / subgroup)
Account (allows every repository on the account)
You can find the full list of tokens and how to create one here.
The minimum role required for the access token is Reporter (second lowest role), allowing access to the content of commits (to be displayed on Packmind).
Likewise, the read_api
scope is required, as the read_repository
scope does not allow for project discovery (to link repositories).
Once the authentication is valid, you can search for repositories through the Git repositories selection field, with a limit next to the list of repositories.
The changes will not be applied as long as the Save button is not pressed.
Once the Git repositores are configured, you can now run extractions from the Inbox.