Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/nuget-binary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ward <ward.matt@gmail.com>2014-06-27 11:56:57 +0400
committerMatt Ward <ward.matt@gmail.com>2014-06-27 11:56:57 +0400
commit23ff26bc603fbae56dbc3e0bd080d1adf5465f20 (patch)
tree4ff39dae78e8ef381c8fc17822867c72564eaa2b
parentbaab2c4fe82ecc5563a331a677e26d884c598ef1 (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.dllbin562176 -> 562176 bytes
-rw-r--r--NuGet.exebin1064448 -> 1064448 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/NuGet.Core.dll b/NuGet.Core.dll
index 18f769e..2e2d1fa 100644
--- a/NuGet.Core.dll
+++ b/NuGet.Core.dll
Binary files differ
diff --git a/NuGet.exe b/NuGet.exe
index fe07295..bddc71c 100644
--- a/NuGet.exe
+++ b/NuGet.exe
Binary files differ