Setting up your repository

When you set up a project, select your source code repository first. At the moment we support GitHub, Bitbucket, and GitLab (for Enterprise only).  

Open source projects are free and set as public on Codacy by default.

1. Requirements

  • Git Server: We support any Git server, including GitHub, Bitbucket, GitLab (for Enterprise only). Codacy does not support other version control systems.
  • Repository Access: The server hosting your repository has to be accessible by Codacy servers. This is already the case for GitHub or Bitbucket repositories (private or public). 
  • Programming Language Requirements: Codacy supports Scala, Java, JavaScript, PHP, Ruby, Python, and many others, check the full list at Supported Languages.

2. Setting up a GitHub repository

Assuming you are logged in with your GitHub account, when you click on the Add project button, you are presented with a list of GitHub projects. If not, click Import from GitHub on the left side.
 
If your repository is private on GitHub, you might have to select Include private repositories (on the left) to grant additional permissions to Codacy,  to display private repositories. Select the organization and team you want to add the project on Codacy in.
 
After finding your repository, click the check box, and the project is added. Your repository is now imported, and a first analysis will begin. If you wish to analyze other repositories too, there’s no need to repeat the wizard, select the other repositories. When you have added your projects, click on the bottom message to move to the next steps for adding some useful integrations.

After finding your repository, select it and click Add. 

3. Setting up a Bitbucket repository

If your repository is hosted on Bitbucket, select Import from Bitbucket.
You have to provide access to Codacy to access your repositories as following:

Access to your account
After finding your repository, select it and click Add.
Your repository has now been imported, and a first analysis will start.

 

And that’s it! After the first analysis, you can customize the code patterns of your repositories, in the Code Patterns tab.
Have more questions? Submit a request

0 Comments

Article is closed for comments.