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

github.com/mono/monodevelop.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 12:51:01 +0400
committerMatt Ward <ward.matt@gmail.com>2014-06-27 12:51:01 +0400
commit6b6b202cad03353f67354980ad6afc92768ba6c4 (patch)
tree6fa93cf1832abbb22381dfc713338b2725263cda /main/external/nuget-binary
parent217b7c18f840188b0c2a29c42c8800d05360d6a7 (diff)
[NuGet] Modified NuGet AggregateRepository error 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.
Diffstat (limited to 'main/external/nuget-binary')
m---------main/external/nuget-binary0
1 files changed, 0 insertions, 0 deletions
diff --git a/main/external/nuget-binary b/main/external/nuget-binary
-Subproject baab2c4fe82ecc5563a331a677e26d884c598ef
+Subproject 23ff26bc603fbae56dbc3e0bd080d1adf5465f2