Skip to content

Commit

Permalink
(#612) Do not fail on failing repos
Browse files Browse the repository at this point in the history
When a repository is failing, it should not cause everything to stop
working. The other configured repos should continue to provide results.
Update Nuget-Chocolatey (NuGet.Core.dll) with version that contains
a fix for issue
chocolatey/nuget-chocolatey#14.
  • Loading branch information
ferventcoder committed Mar 5, 2019
1 parent 6b446a5 commit 3cd9059
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file modified lib/NuGet-Chocolatey/NuGet.Core.dll
Binary file not shown.
Binary file modified lib/NuGet-Chocolatey/NuGet.Core.pdb
Binary file not shown.
3 changes: 1 addition & 2 deletions src/chocolatey/infrastructure.app/nuget/NugetCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ public static IPackageRepository GetRemoteRepository(ChocolateyConfiguration con
configuration.Sources = updatedSources.Remove(updatedSources.Length - 1, 1).to_string();
}

//todo well that didn't work on failing repos... grrr
var repository = new AggregateRepository(repositories)
var repository = new AggregateRepository(repositories, ignoreFailingRepositories: true)
{
IgnoreFailingRepositories = true,
Logger = nugetLogger,
Expand Down

0 comments on commit 3cd9059

Please sign in to comment.