Interface GithubRepositoryService
- All Known Implementing Classes:
GithubRepositoryServiceImpl
public interface GithubRepositoryService
-
Method Summary
Modifier and TypeMethodDescriptionanalyseGithub(Project project) analyse github repositoryorg.kohsuke.github.GHRepositorycreateRepository(GithubRepositoryDto githubRepositoryDto) create a new repository in github
-
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
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
-