Codiga is happy to announce the availability of a new feature that has been requested by our users frequently: multi-branch support.
How does it work?
It’s very simple! Just go to your project preferences, specify a default branch and add other branches to track! Before adding new branches, you need to specifically define a default branch. Without a default branch, no other branch can be added. The default branch is the one shown by default on Codiga (dashboard, analyses, etc.).
Selecting the branch
On the dashboard
You can display the dashboard of a project for a particular branch. Simply select the branch on the top-right corner of the page and select the branch you want to analyze.
Note that by default, the analysis shows the default branch.
Similar to the dashboard, you can see the list of analyses for a particular branch: simply select the branch on the top right corner and the list of analyses for this branch will populate.
Comparing branches can be done through the compare menu. If your project supports multiple branchs, each branch of each project is then shown in the list of projects to compare with, a shown below where the project protobuf has two branches: master and testing.
This functionality is available for all paying users. The eligibility is based on the owner of a project: if the project is owned by a group, the level (Basic, Silver or Gold) of the group specifies its eligibility to use multiple branches.