Interface GithubRepositoryService

All Known Implementing Classes:
GithubRepositoryServiceImpl

public interface GithubRepositoryService
  • Method Details

    • createRepository

      org.kohsuke.github.GHRepository createRepository(GithubRepositoryDto githubRepositoryDto) throws IOException
      create a new repository in github
      Parameters:
      githubRepositoryDto - an object containing name, owner, autoInit, licenseTemplate, gitIgnoreTemplate attributes
      Returns:
      the created repository
      Throws:
      IOException - : connection problems
    • analyseGithub

      GithubAnalyseResults analyseGithub(Project project) throws IOException
      analyse github repository
      Parameters:
      project - the correspondent project
      Returns:
      a githubAnalyseResults that contains readMe/license/gitignore ... analysis
      Throws:
      IOException - if any problem while connecting to the github api