C# Class Leeroy.Watcher

Watches a single build repository, monitoring its submodules for changes.
Afficher le fichier Open project: LogosBible/Leeroy

Méthodes publiques

Méthode Description
CreateTask ( ) : Task
Watcher ( BuildProject project, BuildServerClient buildServerClient, GitHubClient gitHubClient, CancellationToken token ) : System

Private Methods

Méthode Description
CreateBlob ( string content ) : Logos.Git.GitHub.GitBlob
CreateNewCommit ( Logos.Git.GitHub.GitCommit parentCommit, string baseTreeSha, List treeItems, string commitMessage ) : Logos.Git.GitHub.GitCommit
GetSubmodules ( ) : void
LoadSubmodules ( Logos.Git.GitHub.GitTree buildRepoTree ) : void
ParseConfigFile ( TextReader reader ) : IEnumerable>>
ReadGitModulesBlob ( Logos.Git.GitHub.GitTree tree ) : string
ReadSubmodulesFromConfig ( ) : void
Run ( object obj ) : void
SplitRepoUrl ( string url, string &server, string &user, string &repo ) : bool
StartBuild ( ) : void
SyncSubmodules ( Logos.Git.GitHub.GitCommit buildRepoCommit, Logos.Git.GitHub.GitTree buildRepoTree ) : void
TryAdvanceBranch ( string newSha ) : bool
UpdateSubmodules ( string>.IDictionary updatedSubmodules ) : bool
UpdateSubmodules ( Logos.Git.GitHub.GitCommit buildRepoCommit, Logos.Git.GitHub.GitTree buildRepoTree, bool rewriteGitModules ) : void

Method Details

CreateTask() public méthode

public CreateTask ( ) : Task
Résultat Task

Watcher() public méthode

public Watcher ( BuildProject project, BuildServerClient buildServerClient, GitHubClient gitHubClient, CancellationToken token ) : System
project Leeroy.Json.BuildProject
buildServerClient BuildServerClient
gitHubClient GitHubClient
token System.Threading.CancellationToken
Résultat System