Connect your Git platform
The Git integration lets Packmind AI capture your coding practices from your latest Git repositories changes.
Connect your Git Platform Provider
To enable this feature, go to Settings -> Git Configuration. Select the space of your choice and select your Git Provider among the available ones (GitLab and GitHub).
Check below to configure the authentication with your selected Git provider.
Basically, Packmind will fetch the REST API of your Git providers to access to:
The list of Git repositories
The list of Pull/Merge requests and their metadata
The list of discussions within each Pull/Merge request
Accessing some file's raw contents for a given Git commit
If you need to perform IP Whitelisting operations on your self-hosted Git platform, check our public IP addresses here.
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).

Link Git Repositories to spaces
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. Once the Git repositories are configured, you can now run extractions from the Inbox.
How to create coding practicesLast updated
Was this helpful?