Setting up your repository

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

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

1. Requirements

  • Git Server: We support GitHub, Bitbucket, GitLab (for Self-hosted only). Codacy does not support other version control systems.
  • Repository Access: The server hosting your repository must be accessible by Codacy servers. This is already the case for GitHub or Bitbucket repositories (both private and public). You need to have Admin rights for the repository you wish to set up.
  • Programming Language Requirements: Codacy supports Scala, Java, JavaScript, PHP, Ruby, Python, and many others. You can view the full list of Supported Languages.

2. Setting up a GitHub repository

If you are logged in to GitHub account, you should be presented with a list of GitHub projects when you click on the Add project button. If not, click Import from GitHub on the left.
 
If your repository is private on GitHub, you might have to select Include private repositories (on the left) to grant additional permissions to Codacy. Select the organization and team where you want to add the project.
 
After finding your repository, click the check box to add your project. Your repository is now imported, and a first analysis will begin. If you wish to analyze other repositories, there is no need to repeat the wizard, just select the other repositories. When you have added your projects, click on the bottom message to set up your 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 must provide Codacy the following permissions:

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.

 

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.