{"action":"opened","number":7500,"pull_request":{"url":"https://api.github.com/repos/mono/monodevelop/pulls/7500","id":277062632,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc3MDYyNjMy","html_url":"https://github.com/mono/monodevelop/pull/7500","diff_url":"https://github.com/mono/monodevelop/pull/7500.diff","patch_url":"https://github.com/mono/monodevelop/pull/7500.patch","issue_url":"https://api.github.com/repos/mono/monodevelop/issues/7500","number":7500,"state":"open","locked":false,"title":"[NuGet] Fix format exception in Add Packages dialog","user":{"login":"mrward","id":372361,"node_id":"MDQ6VXNlcjM3MjM2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/372361?v=4","gravatar_id":"","url":"https://api.github.com/users/mrward","html_url":"https://github.com/mrward","followers_url":"https://api.github.com/users/mrward/followers","following_url":"https://api.github.com/users/mrward/following{/other_user}","gists_url":"https://api.github.com/users/mrward/gists{/gist_id}","starred_url":"https://api.github.com/users/mrward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrward/subscriptions","organizations_url":"https://api.github.com/users/mrward/orgs","repos_url":"https://api.github.com/users/mrward/repos","events_url":"https://api.github.com/users/mrward/events{/privacy}","received_events_url":"https://api.github.com/users/mrward/received_events","type":"User","site_admin":false},"body":"Exceptions from the NSUrlSessionHandler contain curly braces in the\r\nerror messages, such as:\r\n\r\n```\r\n[nuget.org] The Internet connection appears to be offline.\r\n  Error Domain=NSURLErrorDomain Code=-1009 \"The Internet connection appears to be offline.\" UserInfo={NSUnderlyingError=0x7fce42892a80 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 \"(null)\" UserInfo={_kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=https://api-v2v3search-1.nuget.org/query?q=&skip=0&take=26&prerelease=false&supportedFramework=Xamarin.iOS,Version=v1.0&semVerLevel=2.0.0, NSErrorFailingURLKey=https://api-v2v3search-1.nuget.org/query?q=&skip=0&take=26&prerelease=false&supportedFramework=Xamarin.iOS,Version=v1.0&semVerLevel=2.0.0, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=50, NSLocalizedDescription=The Internet connection appears to be offline.}\r\n```\r\n\r\nThis text was then being passed to string.Format in the Add Packages\r\ndialog and would cause a FormatException. The error would then not be\r\ndisplayed in the Add Packages dialog. The text now has the curly braces\r\nescaped to prevent the FormatException.\r\n\r\nFixes VSTS #889359 - NuGet Add Packages - FormatException when offline","created_at":"2019-05-08T16:15:21Z","updated_at":"2019-05-08T16:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mono/monodevelop/pulls/7500/commits","review_comments_url":"https://api.github.com/repos/mono/monodevelop/pulls/7500/comments","review_comment_url":"https://api.github.com/repos/mono/monodevelop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mono/monodevelop/issues/7500/comments","statuses_url":"https://api.github.com/repos/mono/monodevelop/statuses/2fc6577209bccd6eb281599791a4310745e16141","head":{"label":"mono:nuget-format-exception-add-packages-dialog","ref":"nuget-format-exception-add-packages-dialog","sha":"2fc6577209bccd6eb281599791a4310745e16141","user":{"login":"mono","id":53395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzk1","avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":791299,"node_id":"MDEwOlJlcG9zaXRvcnk3OTEyOTk=","name":"monodevelop","full_name":"mono/monodevelop","private":false,"owner":{"login":"mono","id":53395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzk1","avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mono/monodevelop","description":"MonoDevelop is a cross platform .NET IDE","fork":false,"url":"https://api.github.com/repos/mono/monodevelop","forks_url":"https://api.github.com/repos/mono/monodevelop/forks","keys_url":"https://api.github.com/repos/mono/monodevelop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/monodevelop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/monodevelop/teams","hooks_url":"https://api.github.com/repos/mono/monodevelop/hooks","issue_events_url":"https://api.github.com/repos/mono/monodevelop/issues/events{/number}","events_url":"https://api.github.com/repos/mono/monodevelop/events","assignees_url":"https://api.github.com/repos/mono/monodevelop/assignees{/user}","branches_url":"https://api.github.com/repos/mono/monodevelop/branches{/branch}","tags_url":"https://api.github.com/repos/mono/monodevelop/tags","blobs_url":"https://api.github.com/repos/mono/monodevelop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/monodevelop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/monodevelop/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/monodevelop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/monodevelop/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/monodevelop/languages","stargazers_url":"https://api.github.com/repos/mono/monodevelop/stargazers","contributors_url":"https://api.github.com/repos/mono/monodevelop/contributors","subscribers_url":"https://api.github.com/repos/mono/monodevelop/subscribers","subscription_url":"https://api.github.com/repos/mono/monodevelop/subscription","commits_url":"https://api.github.com/repos/mono/monodevelop/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/monodevelop/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/monodevelop/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/monodevelop/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/monodevelop/contents/{+path}","compare_url":"https://api.github.com/repos/mono/monodevelop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/monodevelop/merges","archive_url":"https://api.github.com/repos/mono/monodevelop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/monodevelop/downloads","issues_url":"https://api.github.com/repos/mono/monodevelop/issues{/number}","pulls_url":"https://api.github.com/repos/mono/monodevelop/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/monodevelop/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/monodevelop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/monodevelop/labels{/name}","releases_url":"https://api.github.com/repos/mono/monodevelop/releases{/id}","deployments_url":"https://api.github.com/repos/mono/monodevelop/deployments","created_at":"2010-07-22T16:09:08Z","updated_at":"2019-05-08T15:38:40Z","pushed_at":"2019-05-08T16:14:39Z","git_url":"git://github.com/mono/monodevelop.git","ssh_url":"git@github.com:mono/monodevelop.git","clone_url":"https://github.com/mono/monodevelop.git","svn_url":"https://github.com/mono/monodevelop","homepage":"http://www.monodevelop.com","size":353870,"stargazers_count":2321,"watchers_count":2321,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":854,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":678,"license":null,"forks":854,"open_issues":678,"watchers":2321,"default_branch":"master"}},"base":{"label":"mono:master","ref":"master","sha":"ef8484daf7a8c071133731683b491316843a62f6","user":{"login":"mono","id":53395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzk1","avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":791299,"node_id":"MDEwOlJlcG9zaXRvcnk3OTEyOTk=","name":"monodevelop","full_name":"mono/monodevelop","private":false,"owner":{"login":"mono","id":53395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzk1","avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mono/monodevelop","description":"MonoDevelop is a cross platform .NET IDE","fork":false,"url":"https://api.github.com/repos/mono/monodevelop","forks_url":"https://api.github.com/repos/mono/monodevelop/forks","keys_url":"https://api.github.com/repos/mono/monodevelop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/monodevelop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/monodevelop/teams","hooks_url":"https://api.github.com/repos/mono/monodevelop/hooks","issue_events_url":"https://api.github.com/repos/mono/monodevelop/issues/events{/number}","events_url":"https://api.github.com/repos/mono/monodevelop/events","assignees_url":"https://api.github.com/repos/mono/monodevelop/assignees{/user}","branches_url":"https://api.github.com/repos/mono/monodevelop/branches{/branch}","tags_url":"https://api.github.com/repos/mono/monodevelop/tags","blobs_url":"https://api.github.com/repos/mono/monodevelop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/monodevelop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/monodevelop/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/monodevelop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/monodevelop/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/monodevelop/languages","stargazers_url":"https://api.github.com/repos/mono/monodevelop/stargazers","contributors_url":"https://api.github.com/repos/mono/monodevelop/contributors","subscribers_url":"https://api.github.com/repos/mono/monodevelop/subscribers","subscription_url":"https://api.github.com/repos/mono/monodevelop/subscription","commits_url":"https://api.github.com/repos/mono/monodevelop/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/monodevelop/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/monodevelop/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/monodevelop/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/monodevelop/contents/{+path}","compare_url":"https://api.github.com/repos/mono/monodevelop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/monodevelop/merges","archive_url":"https://api.github.com/repos/mono/monodevelop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/monodevelop/downloads","issues_url":"https://api.github.com/repos/mono/monodevelop/issues{/number}","pulls_url":"https://api.github.com/repos/mono/monodevelop/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/monodevelop/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/monodevelop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/monodevelop/labels{/name}","releases_url":"https://api.github.com/repos/mono/monodevelop/releases{/id}","deployments_url":"https://api.github.com/repos/mono/monodevelop/deployments","created_at":"2010-07-22T16:09:08Z","updated_at":"2019-05-08T15:38:40Z","pushed_at":"2019-05-08T16:14:39Z","git_url":"git://github.com/mono/monodevelop.git","ssh_url":"git@github.com:mono/monodevelop.git","clone_url":"https://github.com/mono/monodevelop.git","svn_url":"https://github.com/mono/monodevelop","homepage":"http://www.monodevelop.com","size":353870,"stargazers_count":2321,"watchers_count":2321,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":854,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":678,"license":null,"forks":854,"open_issues":678,"watchers":2321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mono/monodevelop/pulls/7500"},"html":{"href":"https://github.com/mono/monodevelop/pull/7500"},"issue":{"href":"https://api.github.com/repos/mono/monodevelop/issues/7500"},"comments":{"href":"https://api.github.com/repos/mono/monodevelop/issues/7500/comments"},"review_comments":{"href":"https://api.github.com/repos/mono/monodevelop/pulls/7500/comments"},"review_comment":{"href":"https://api.github.com/repos/mono/monodevelop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mono/monodevelop/pulls/7500/commits"},"statuses":{"href":"https://api.github.com/repos/mono/monodevelop/statuses/2fc6577209bccd6eb281599791a4310745e16141"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"mrward"}}