| Package | Description |
|---|---|
| io.fabric8.updatebot.commands | |
| io.fabric8.updatebot.github | |
| io.fabric8.updatebot.repository |
| Modifier and Type | Method and Description |
|---|---|
protected LocalRepository |
PushSourceChanges.findLocalRepository(Configuration configuration)
Lets find the repository for the given directory so that we can extract any extra configuration like the
GitRepositoryConfig for a local repository |
LocalRepository |
CommandContext.getRepository() |
LocalRepository |
PushSourceChanges.getSourceRepository() |
| Modifier and Type | Method and Description |
|---|---|
List<LocalRepository> |
CommandSupport.cloneOrPullRepositories(Configuration configuration) |
List<LocalRepository> |
CommandSupport.getLocalRepositories(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected CommandContext |
PushSourceChanges.createCommandContext(LocalRepository repository,
Configuration configuration) |
protected CommandContext |
CommandSupport.createCommandContext(LocalRepository repository,
Configuration configuration) |
| Constructor and Description |
|---|
CommandContext(LocalRepository repository,
Configuration configuration) |
PushSourceChangesContext(CommandContext parentContext,
PushSourceChanges command,
LocalRepository sourceRepository) |
PushSourceChangesContext(LocalRepository repository,
Configuration configuration,
PushSourceChanges command,
LocalRepository sourceRepository) |
| Modifier and Type | Method and Description |
|---|---|
static org.kohsuke.github.GHRepository |
GitHubHelpers.getGitHubRepository(LocalRepository repository)
Returns the underlying GitHub repository if this repository is on github
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GitHubHelpers.closeOpenUpdateBotIssuesAndPullRequests(String prLabel,
List<LocalRepository> repositories) |
static void |
GitHubHelpers.deleteUpdateBotBranches(List<LocalRepository> localRepositories) |
| Modifier and Type | Method and Description |
|---|---|
static LocalRepository |
LocalRepository.findRepository(List<LocalRepository> localRepositories,
String name)
Returns the repository for the given name or null if it could not be found
|
static LocalRepository |
LocalRepository.fromDirectory(File dir)
Returns a local repository from a directory.
|
| Modifier and Type | Method and Description |
|---|---|
static List<LocalRepository> |
Repositories.cloneOrPullRepositories(CommandSupport command,
Configuration configuration,
RepositoryConfig repositoryConfig) |
protected static List<LocalRepository> |
Repositories.findRepositories(CommandSupport updateBot,
Configuration configuration,
RepositoryConfig repositoryConfig) |
| Modifier and Type | Method and Description |
|---|---|
static String |
LocalRepository.getRepositoryLink(LocalRepository repository)
Returns the link to the repository
|
static String |
LocalRepository.getRepositoryLink(LocalRepository repository,
String label)
Returns the link to the repository
|
static String |
LocalRepository.getRepositoryLink(LocalRepository repository,
String label,
String defaultValue)
Returns the link to the repository
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
Repositories.addGitHubRepositories(Map<String,LocalRepository> map,
org.kohsuke.github.GitHub github,
GithubOrganisation organisation,
File file) |
protected static void |
Repositories.addRepository(Map<String,LocalRepository> map,
File gitDir,
GitRepository gitRepository) |
static LocalRepository |
LocalRepository.findRepository(List<LocalRepository> localRepositories,
String name)
Returns the repository for the given name or null if it could not be found
|
Copyright © 2076–2017 Red Hat. All rights reserved.