public async Task <List <PackageUpdateSet> > FindPackageUpdateSets(IFolder workingFolder) { // scan for nuget packages var packages = _repositoryScanner.FindAllNuGetPackages(workingFolder) .ToList(); _logger.Log(PackagesFoundLogger.Log(packages)); // look for updates to these packages var updates = await _packageUpdatesLookup.FindUpdatesForPackages(packages); _logger.Log(UpdatesLogger.Log(updates)); return(updates); }
public async Task <IReadOnlyCollection <PackageUpdateSet> > FindPackageUpdateSets( IFolder workingFolder, NuGetSources sources, VersionChange allowedChange) { var packages = FindPackages(workingFolder); _logger.Log(PackagesFoundLogger.Log(packages)); // look for updates to these packages var updates = await _packageUpdatesLookup.FindUpdatesForPackages( packages, sources, allowedChange); _logger.Log(UpdatesLogger.Log(updates)); return(updates); }
public async Task <IReadOnlyCollection <PackageUpdateSet> > FindPackageUpdateSets( IFolder workingFolder, NuGetSources sources, VersionChange allowedChange) { // scan for nuget packages var packages = _repositoryScanner.FindAllNuGetPackages(workingFolder) .ToList(); _logger.Log(PackagesFoundLogger.Log(packages)); // look for updates to these packages var updates = await _packageUpdatesLookup.FindUpdatesForPackages( packages, sources, allowedChange); _logger.Log(UpdatesLogger.Log(updates)); return(updates); }
public async Task <IReadOnlyCollection <PackageUpdateSet> > FindPackageUpdateSets( IFolder workingFolder, NuGetSources sources, VersionChange allowedChange, UsePrerelease usePrerelease, Regex includes = null, Regex excludes = null) { var packages = FindPackages(workingFolder); _logger.Normal($"Found {packages.Count} packages"); var filtered = FilteredByIncludeExclude(packages, includes, excludes); _logger.Log(PackagesFoundLogger.Log(filtered)); // look for updates to these packages var updates = await _packageUpdatesLookup.FindUpdatesForPackages( filtered, sources, allowedChange, usePrerelease); _logger.Log(UpdatesLogger.Log(updates)); return(updates); }