diff options
author | Matt Ward <ward.matt@gmail.com> | 2014-06-27 11:56:57 +0400 |
---|---|---|
committer | Matt Ward <ward.matt@gmail.com> | 2014-06-27 11:56:57 +0400 |
commit | 23ff26bc603fbae56dbc3e0bd080d1adf5465f20 (patch) | |
tree | 4ff39dae78e8ef381c8fc17822867c72564eaa2b | |
parent | baab2c4fe82ecc5563a331a677e26d884c598ef1 (diff) |
[NuGet] Aggregate repository failing repository handling.
Allow AggregateRepository to return packages if one repository fails.
https://github.com/mrward/nuget/commit/bdfb90a93d7165b2b3b76202ee363ec185721348
Give AggregateRepository classes access to failed repositories.
https://github.com/mrward/nuget/commit/495751e7c70c8bedc4a73de5e97bd4cbbdb59d27
Previously when IgnoreFailingRepositories was true and the Search
method was called on the AggregateRepository then if any
repository throw an exception then this exception would not be caught.
The other methods on AggregateRepository do not have this behaviour.
GetPackages, for example, will not throw an exception if one package
source throws an exception. All the methods on AggregateRepository
apart from Search use the Wrap method to handle any exceptions thrown.
Now when IgnoreFailingRepositories is true calling the Search will now
return packages even if one package source fails. The Search method
now also uses the Wrap method to handle any exceptions thrown.
When IgnoreFailingRepositories is true and a repository fails a
derived class is now informed about the failure instead of the error
just being logged.
-rw-r--r-- | NuGet.Core.dll | bin | 562176 -> 562176 bytes |
-rw-r--r-- | NuGet.exe | bin | 1064448 -> 1064448 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/NuGet.Core.dll b/NuGet.Core.dll Binary files differBinary files differindex 18f769e..2e2d1fa 100644 --- a/NuGet.Core.dll +++ b/NuGet.Core.dll |