Updated: March 6, 2025

How to Connect a Repository to a Project

This article explains how users can allow Enji to parse data from a repository, such as commits from Git services, for later analysis of individual and team engineering performance. Both individual repositories and repository groups (organizations) can be added for parsing.

Repositories

How to add a repository for parsing

1. Open Settings → Project List → Project ID → Repository tab → click on "+".

2. Complete the fields in the Group Settings tab:

  • Project name: Select the desired project.
  • Group/Repository URL: Enter the URL of the group or repository.
  • Process only the default branches: Enable this if it is necessary to parse data only from the default branches of the repository/group.
  • Git Branches*: If parsing data is needed from specific branches, list the branch names in quotes, separated by commas (Example: "main," "front"). Then, click the branch icon to run the check. If the branch names are correct and exist, they will appear in the list.
  • Git Platform: Select the repository type.
  • Token: Paste the token from GitHub / GitLab / Bitbucket / Gitea.
  • Is Active: Check the box.

*This field supports regular expressions, which should be wrapped in double quotes and separated by commas. For example, use "COL-.*" to parse only branches starting with "COL-".

3. Click Save

The parsers run every two hours, pulling data from the specified repository or group of repositories into Enji. A manual matching functionality has been added for cases when accounts from Git platforms are not matched in Enji for various reasons.

Group Repositories tab

This is an interactive mode that allows users to view already uploaded repositories for the selected group. The tab also lets them manually delete repositories — for example, if the group URL was changed (a group of repositories was previously parsed but was then switched to a single repository, leaving old data behind).