Skip to content

Commit 3cd9059

Browse files
committed
(chocolatey#612) Do not fail on failing repos
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.
1 parent 6b446a5 commit 3cd9059

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

lib/NuGet-Chocolatey/NuGet.Core.dll

512 Bytes
Binary file not shown.

lib/NuGet-Chocolatey/NuGet.Core.pdb

4 KB
Binary file not shown.

src/chocolatey/infrastructure.app/nuget/NugetCommon.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ public static IPackageRepository GetRemoteRepository(ChocolateyConfiguration con
160160
configuration.Sources = updatedSources.Remove(updatedSources.Length - 1, 1).to_string();
161161
}
162162

163-
//todo well that didn't work on failing repos... grrr
164-
var repository = new AggregateRepository(repositories)
163+
var repository = new AggregateRepository(repositories, ignoreFailingRepositories: true)
165164
{
166165
IgnoreFailingRepositories = true,
167166
Logger = nugetLogger,

0 commit comments

Comments
 (0)