public DownloadUefi(string destination, IFileSystemOperations fileSystemOperations, IZipExtractor extractor, IObserver <double> progressObserver) { this.destination = destination; this.fileSystemOperations = fileSystemOperations; this.extractor = extractor; this.progressObserver = progressObserver; }
public FetchGitHubBranch(string repositoryUrl, string branchName, IZipExtractor zipExtractor, IDownloader downloader, IGitHubClient gitHubClient, IOperationProgress progressObserver, IDeploymentContext deploymentContext, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(repositoryUrl, branchName, zipExtractor, downloader, gitHubClient, progressObserver, deploymentContext, fileSystemOperations, operationContext) { }
public AzureDevOpsUnpack(string descriptor, IAzureDevOpsBuildClient buildClient, IZipExtractor extractor) { ParseDescriptor(descriptor); this.buildClient = buildClient; this.extractor = extractor; }
public GitHubUnpack(string downloadUrl, IGitHubDownloader downloader, IZipExtractor extractor) { ParseUrl(downloadUrl); this.downloadUrl = downloadUrl; this.downloader = downloader; this.extractor = extractor; }
public DownloadUefi(string destination, IFileSystemOperations fileSystemOperations, IZipExtractor extractor, IOperationProgress progress, IDownloader downloader) { this.destination = destination; this.fileSystemOperations = fileSystemOperations; this.extractor = extractor; this.progress = progress; this.downloader = downloader; }
public FetchAzureDevOpsArtifact(string descriptor, IAzureDevOpsBuildClient buildClient, IZipExtractor extractor, IDownloader downloader, IDownloadProgress progressObserver) { ParseDescriptor(descriptor); this.buildClient = buildClient; this.extractor = extractor; this.downloader = downloader; this.progressObserver = progressObserver; }
public Fetch(string url, string destination, IZipExtractor extractor, IFileSystemOperations fileSystemOperations, IDownloader downloader, IDownloadProgress progressObserver) { this.url = url; this.destination = destination; this.extractor = extractor; this.fileSystemOperations = fileSystemOperations; this.downloader = downloader; this.progressObserver = progressObserver; }
public Fetch(string url, string destination, IZipExtractor extractor, IDownloader downloader, IOperationProgress progressObserver, IDeploymentContext deploymentContext, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(deploymentContext, fileSystemOperations, operationContext) { this.url = url; this.destination = destination; this.extractor = extractor; this.fileSystemOperations = fileSystemOperations; this.downloader = downloader; this.progressObserver = progressObserver; }
public FetchGitHubFolder(string url, string relativePath, string destination, IZipExtractor zipExtractor, IFileSystemOperations fileSystemOperations, IDownloader downloader, IDownloadProgress progressObserver) { this.url = url; this.relativePath = relativePath; this.destination = destination; this.zipExtractor = zipExtractor; this.fileSystemOperations = fileSystemOperations; this.downloader = downloader; this.progressObserver = progressObserver; }
public FetchGitHubLatestReleaseAsset(string repoUrl, string assetName, IZipExtractor extractor, IGitHubClient gitHubClient, IDownloader downloader, IDownloadProgress progressObserver) { this.repoUrl = repoUrl ?? throw new ArgumentNullException(nameof(repoUrl)); this.assetName = assetName ?? throw new ArgumentNullException(nameof(assetName)); this.extractor = extractor ?? throw new ArgumentNullException(nameof(extractor)); this.gitHubClient = gitHubClient; this.downloader = downloader; this.progressObserver = progressObserver; folderPath = Path.Combine(SubFolder, Path.GetFileNameWithoutExtension(assetName)); }
public FetchAzureDevOpsArtifact(string descriptor, IAzureDevOpsBuildClient buildClient, IZipExtractor extractor, IDownloader downloader, IOperationProgress progressObserver, IDeploymentContext deploymentContext, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(deploymentContext, fileSystemOperations, operationContext) { ParseDescriptor(descriptor); this.buildClient = buildClient; this.extractor = extractor; this.downloader = downloader; this.progressObserver = progressObserver; }
public FetchGitHubLatestReleaseAsset(string repoUrl, string assetName, IZipExtractor extractor, IGitHubClient gitHubClient, IDownloader downloader, IOperationProgress progressObserver, IDeploymentContext deploymentContext, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(deploymentContext, fileSystemOperations, operationContext) { this.repoUrl = repoUrl ?? throw new ArgumentNullException(nameof(repoUrl)); this.assetName = assetName ?? throw new ArgumentNullException(nameof(assetName)); this.extractor = extractor ?? throw new ArgumentNullException(nameof(extractor)); this.gitHubClient = gitHubClient ?? throw new ArgumentNullException(nameof(gitHubClient)); this.downloader = downloader ?? throw new ArgumentNullException(nameof(downloader)); this.progressObserver = progressObserver ?? throw new ArgumentNullException(nameof(progressObserver)); }
protected FetchGitHubBase(string repositoryUrl, string branchName, IZipExtractor zipExtractor, IDownloader downloader, IGitHubClient gitHubClient, IOperationProgress progressObserver, IDeploymentContext deploymentContext, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(deploymentContext, fileSystemOperations, operationContext) { this.repositoryUrl = repositoryUrl; this.branchName = branchName; this.zipExtractor = zipExtractor; this.downloader = downloader; this.progressObserver = progressObserver; this.gitHubClient = gitHubClient; repoInfo = GitHubMixin.GetRepoInfo(repositoryUrl); repository = repoInfo.Repository; }
public FetchGitHubBase(string repoBaseUrl, string branch, IZipExtractor extractor, IDownloader downloader, IDownloadProgress progressObserver) { this.repoBaseUrl = repoBaseUrl; this.branch = branch; this.extractor = extractor; this.downloader = downloader; this.progressObserver = progressObserver; var repoInfo = GitHubMixin.GetRepoInfo(repoBaseUrl); repository = repoInfo.Repository; var folderName = repository; folderPath = Path.Combine(SubFolder, folderName); }
public FetchGitHubFolder(string repositoryUrl, string branchName, string relativePath, string destination, IZipExtractor zipExtractor, IDownloader downloader, IGitHubClient gitHubClient, IOperationProgress progressObserver, IDeploymentContext deploymentContext, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(deploymentContext, fileSystemOperations, operationContext) { this.repositoryUrl = repositoryUrl; this.branchName = branchName; this.relativePath = relativePath; this.destination = destination; this.zipExtractor = zipExtractor; this.downloader = downloader; this.gitHubClient = gitHubClient; this.progressObserver = progressObserver; repoInfo = GitHubMixin.GetRepoInfo(repositoryUrl); ArtifactName = $"{repoInfo.Owner}-{repoInfo.Repository}"; }
public ArtifactsDownloader(ITeamCityCaller teamCityCaller, IZipExtractor zipExtractor, IFileSystem fileSystem) { m_TeamCityCaller = teamCityCaller; m_ZipExtractor = zipExtractor; m_FileSystem = fileSystem; }
public ExcelImporter(IZipExtractor zippExtractor) { this.zipExtractor = zippExtractor; }
public FetchGitHub(string repositoryUrl, IZipExtractor zipExtractor, IDownloader downloader, IGitHubClient gitHubClient, IOperationProgress progressObserver, IDeploymentContext context, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(repositoryUrl, "master", zipExtractor, downloader, gitHubClient, progressObserver, context, fileSystemOperations, operationContext) { }
public Unzip(IZipExtractor extractor, IDownloader downloader, IOperationProgress progress, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(fileSystemOperations, operationContext) { this.extractor = extractor; this.downloader = downloader; this.progress = progress; }
public FetchGitHub(string repoBaseUrl, IZipExtractor extractor, IDownloader downloader, IDownloadProgress progressObserver) : base(repoBaseUrl, "master", extractor, downloader, progressObserver) { }
public Unzip(IZipExtractor extractor, IDownloader downloader, IOperationProgress progress, IFileSystemOperations fileSystemOperations, IOperationContext operationContext) : base(extractor, downloader, progress, fileSystemOperations, operationContext) { }
public FetchGitHubBranch(string repoBaseUrl, string branch, IZipExtractor extractor, IDownloader downloader, IDownloadProgress progressObserver) : base(repoBaseUrl, branch, extractor, downloader, progressObserver) { }