{"action":"opened","number":33156,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/33156","id":227186711,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MTg2NzEx","html_url":"https://github.com/dotnet/corefx/pull/33156","diff_url":"https://github.com/dotnet/corefx/pull/33156.diff","patch_url":"https://github.com/dotnet/corefx/pull/33156.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/33156","number":33156,"state":"open","locked":false,"title":"Allow package relationships to be written multiple times","user":{"login":"Luciferius","id":2802526,"node_id":"MDQ6VXNlcjI4MDI1MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/2802526?v=4","gravatar_id":"","url":"https://api.github.com/users/Luciferius","html_url":"https://github.com/Luciferius","followers_url":"https://api.github.com/users/Luciferius/followers","following_url":"https://api.github.com/users/Luciferius/following{/other_user}","gists_url":"https://api.github.com/users/Luciferius/gists{/gist_id}","starred_url":"https://api.github.com/users/Luciferius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luciferius/subscriptions","organizations_url":"https://api.github.com/users/Luciferius/orgs","repos_url":"https://api.github.com/users/Luciferius/repos","events_url":"https://api.github.com/users/Luciferius/events{/privacy}","received_events_url":"https://api.github.com/users/Luciferius/received_events","type":"User","site_admin":false},"body":"The package in .Net Core throws an exception when the package is closed after a relationship was added twice.\r\n\r\nInternalRelationshipCollection.WriteRelationshipPart creates a part stream inside a IgnoreFlushAndCloseStream, but only the IgnoreFlushAndCloseStream is wrapped in a using. To fix this the part stream was also wrapped in a using.\r\n\r\nFixes #32296 ","created_at":"2018-10-31T07:40:30Z","updated_at":"2018-10-31T07:40:30Z","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/dotnet/corefx/pulls/33156/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/33156/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/33156/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/856ab0f5e9144cd55dbbf1deb226ad529bd8cb6c","head":{"label":"Luciferius:iopackage_relationshipflushimprovement","ref":"iopackage_relationshipflushimprovement","sha":"856ab0f5e9144cd55dbbf1deb226ad529bd8cb6c","user":{"login":"Luciferius","id":2802526,"node_id":"MDQ6VXNlcjI4MDI1MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/2802526?v=4","gravatar_id":"","url":"https://api.github.com/users/Luciferius","html_url":"https://github.com/Luciferius","followers_url":"https://api.github.com/users/Luciferius/followers","following_url":"https://api.github.com/users/Luciferius/following{/other_user}","gists_url":"https://api.github.com/users/Luciferius/gists{/gist_id}","starred_url":"https://api.github.com/users/Luciferius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luciferius/subscriptions","organizations_url":"https://api.github.com/users/Luciferius/orgs","repos_url":"https://api.github.com/users/Luciferius/repos","events_url":"https://api.github.com/users/Luciferius/events{/privacy}","received_events_url":"https://api.github.com/users/Luciferius/received_events","type":"User","site_admin":false},"repo":{"id":155432629,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU0MzI2Mjk=","name":"corefx","full_name":"Luciferius/corefx","private":false,"owner":{"login":"Luciferius","id":2802526,"node_id":"MDQ6VXNlcjI4MDI1MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/2802526?v=4","gravatar_id":"","url":"https://api.github.com/users/Luciferius","html_url":"https://github.com/Luciferius","followers_url":"https://api.github.com/users/Luciferius/followers","following_url":"https://api.github.com/users/Luciferius/following{/other_user}","gists_url":"https://api.github.com/users/Luciferius/gists{/gist_id}","starred_url":"https://api.github.com/users/Luciferius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luciferius/subscriptions","organizations_url":"https://api.github.com/users/Luciferius/orgs","repos_url":"https://api.github.com/users/Luciferius/repos","events_url":"https://api.github.com/users/Luciferius/events{/privacy}","received_events_url":"https://api.github.com/users/Luciferius/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Luciferius/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others. We welcome contributions.","fork":true,"url":"https://api.github.com/repos/Luciferius/corefx","forks_url":"https://api.github.com/repos/Luciferius/corefx/forks","keys_url":"https://api.github.com/repos/Luciferius/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Luciferius/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Luciferius/corefx/teams","hooks_url":"https://api.github.com/repos/Luciferius/corefx/hooks","issue_events_url":"https://api.github.com/repos/Luciferius/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/Luciferius/corefx/events","assignees_url":"https://api.github.com/repos/Luciferius/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/Luciferius/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/Luciferius/corefx/tags","blobs_url":"https://api.github.com/repos/Luciferius/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Luciferius/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Luciferius/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/Luciferius/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Luciferius/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/Luciferius/corefx/languages","stargazers_url":"https://api.github.com/repos/Luciferius/corefx/stargazers","contributors_url":"https://api.github.com/repos/Luciferius/corefx/contributors","subscribers_url":"https://api.github.com/repos/Luciferius/corefx/subscribers","subscription_url":"https://api.github.com/repos/Luciferius/corefx/subscription","commits_url":"https://api.github.com/repos/Luciferius/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/Luciferius/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/Luciferius/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/Luciferius/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/Luciferius/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/Luciferius/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Luciferius/corefx/merges","archive_url":"https://api.github.com/repos/Luciferius/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Luciferius/corefx/downloads","issues_url":"https://api.github.com/repos/Luciferius/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/Luciferius/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/Luciferius/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/Luciferius/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Luciferius/corefx/labels{/name}","releases_url":"https://api.github.com/repos/Luciferius/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/Luciferius/corefx/deployments","created_at":"2018-10-30T17:59:45Z","updated_at":"2018-10-30T18:00:40Z","pushed_at":"2018-10-31T07:33:39Z","git_url":"git://github.com/Luciferius/corefx.git","ssh_url":"git@github.com:Luciferius/corefx.git","clone_url":"https://github.com/Luciferius/corefx.git","svn_url":"https://github.com/Luciferius/corefx","homepage":"https://github.com/dotnet/core","size":189467,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"d5a680ca98d8fb6f55cd39e8aeb0166902b60102","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26295345,"node_id":"MDEwOlJlcG9zaXRvcnkyNjI5NTM0NQ==","name":"corefx","full_name":"dotnet/corefx","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others. We welcome contributions.","fork":false,"url":"https://api.github.com/repos/dotnet/corefx","forks_url":"https://api.github.com/repos/dotnet/corefx/forks","keys_url":"https://api.github.com/repos/dotnet/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefx/events","assignees_url":"https://api.github.com/repos/dotnet/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefx/merges","archive_url":"https://api.github.com/repos/dotnet/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/corefx/deployments","created_at":"2014-11-06T23:42:48Z","updated_at":"2018-10-31T07:26:33Z","pushed_at":"2018-10-31T05:16:46Z","git_url":"git://github.com/dotnet/corefx.git","ssh_url":"git@github.com:dotnet/corefx.git","clone_url":"https://github.com/dotnet/corefx.git","svn_url":"https://github.com/dotnet/corefx","homepage":"https://github.com/dotnet/core","size":190343,"stargazers_count":15060,"watchers_count":15060,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4452,"mirror_url":null,"archived":false,"open_issues_count":2577,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4452,"open_issues":2577,"watchers":15060,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/33156"},"html":{"href":"https://github.com/dotnet/corefx/pull/33156"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/33156"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/33156/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/33156/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/33156/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/856ab0f5e9144cd55dbbf1deb226ad529bd8cb6c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":33,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"Luciferius"}}