Skip to content

Commit

Permalink
(GH-279) Resolve packages on first feed found
Browse files Browse the repository at this point in the history
For aggregate repositories, packages are supposed to be resolved on the
first feed it is found on in priority order, no matter if it is the
latest version of that package or not. This is how it worked in 0.9.8.x
and below and how it should work until v1 when we can switch the
default. This fixes the behavior to be what is expected.
  • Loading branch information
ferventcoder committed May 16, 2015
1 parent b7c619f commit f3e2084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chocolatey/infrastructure.app/nuget/NugetCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static IPackageRepository GetRemoteRepository(ChocolateyConfiguration con

//todo well that didn't work on failing repos... grrr
var repository = new AggregateRepository(repositories) {IgnoreFailingRepositories = true};
//repository.ResolveDependenciesVertically = true;
repository.ResolveDependenciesVertically = true;
if (configuration.Debug)
{
repository.Logger = nugetLogger;
Expand Down

0 comments on commit f3e2084

Please sign in to comment.