{"action":"opened","number":1120,"pull_request":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1120","id":37108852,"html_url":"https://github.com/doctrine/mongodb-odm/pull/1120","diff_url":"https://github.com/doctrine/mongodb-odm/pull/1120.diff","patch_url":"https://github.com/doctrine/mongodb-odm/pull/1120.patch","issue_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1120","number":1120,"state":"open","locked":false,"title":"Do not schedule collection for deletion if it is to be $set later","user":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"body":"Fixes #1011. It also takes care for similar situation we faced with `atomic` collections, two tests added in `AtomicSetTest` are relevant to removed lines in `DocumentPersister`","created_at":"2015-06-07T15:59:21Z","updated_at":"2015-06-07T15:59:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c8cc0f1941723d44dc646bd0f2758a17e83f9ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1120/commits","review_comments_url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1120/comments","review_comment_url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1120/comments","statuses_url":"https://api.github.com/repos/doctrine/mongodb-odm/statuses/eaadf1a912c3667e83ce244db8b41806e8cf57fe","head":{"label":"malarzm:gh1011","ref":"gh1011","sha":"eaadf1a912c3667e83ce244db8b41806e8cf57fe","user":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"repo":{"id":17143940,"name":"mongodb-odm","full_name":"malarzm/mongodb-odm","owner":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/malarzm/mongodb-odm","description":"Doctrine MongoDB Object Document Mapper (ODM)","fork":true,"url":"https://api.github.com/repos/malarzm/mongodb-odm","forks_url":"https://api.github.com/repos/malarzm/mongodb-odm/forks","keys_url":"https://api.github.com/repos/malarzm/mongodb-odm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malarzm/mongodb-odm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malarzm/mongodb-odm/teams","hooks_url":"https://api.github.com/repos/malarzm/mongodb-odm/hooks","issue_events_url":"https://api.github.com/repos/malarzm/mongodb-odm/issues/events{/number}","events_url":"https://api.github.com/repos/malarzm/mongodb-odm/events","assignees_url":"https://api.github.com/repos/malarzm/mongodb-odm/assignees{/user}","branches_url":"https://api.github.com/repos/malarzm/mongodb-odm/branches{/branch}","tags_url":"https://api.github.com/repos/malarzm/mongodb-odm/tags","blobs_url":"https://api.github.com/repos/malarzm/mongodb-odm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malarzm/mongodb-odm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malarzm/mongodb-odm/git/refs{/sha}","trees_url":"https://api.github.com/repos/malarzm/mongodb-odm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malarzm/mongodb-odm/statuses/{sha}","languages_url":"https://api.github.com/repos/malarzm/mongodb-odm/languages","stargazers_url":"https://api.github.com/repos/malarzm/mongodb-odm/stargazers","contributors_url":"https://api.github.com/repos/malarzm/mongodb-odm/contributors","subscribers_url":"https://api.github.com/repos/malarzm/mongodb-odm/subscribers","subscription_url":"https://api.github.com/repos/malarzm/mongodb-odm/subscription","commits_url":"https://api.github.com/repos/malarzm/mongodb-odm/commits{/sha}","git_commits_url":"https://api.github.com/repos/malarzm/mongodb-odm/git/commits{/sha}","comments_url":"https://api.github.com/repos/malarzm/mongodb-odm/comments{/number}","issue_comment_url":"https://api.github.com/repos/malarzm/mongodb-odm/issues/comments{/number}","contents_url":"https://api.github.com/repos/malarzm/mongodb-odm/contents/{+path}","compare_url":"https://api.github.com/repos/malarzm/mongodb-odm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malarzm/mongodb-odm/merges","archive_url":"https://api.github.com/repos/malarzm/mongodb-odm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malarzm/mongodb-odm/downloads","issues_url":"https://api.github.com/repos/malarzm/mongodb-odm/issues{/number}","pulls_url":"https://api.github.com/repos/malarzm/mongodb-odm/pulls{/number}","milestones_url":"https://api.github.com/repos/malarzm/mongodb-odm/milestones{/number}","notifications_url":"https://api.github.com/repos/malarzm/mongodb-odm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malarzm/mongodb-odm/labels{/name}","releases_url":"https://api.github.com/repos/malarzm/mongodb-odm/releases{/id}","created_at":"2014-02-24T17:15:20Z","updated_at":"2015-04-23T15:07:38Z","pushed_at":"2015-06-07T15:56:14Z","git_url":"git://github.com/malarzm/mongodb-odm.git","ssh_url":"git@github.com:malarzm/mongodb-odm.git","clone_url":"https://github.com/malarzm/mongodb-odm.git","svn_url":"https://github.com/malarzm/mongodb-odm","homepage":"http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/","size":7104,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"doctrine:master","ref":"master","sha":"d305acad9307a9f7419ec8a6f904de2fae38f770","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":677781,"name":"mongodb-odm","full_name":"doctrine/mongodb-odm","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/mongodb-odm","description":"Doctrine MongoDB Object Document Mapper (ODM)","fork":false,"url":"https://api.github.com/repos/doctrine/mongodb-odm","forks_url":"https://api.github.com/repos/doctrine/mongodb-odm/forks","keys_url":"https://api.github.com/repos/doctrine/mongodb-odm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/mongodb-odm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/mongodb-odm/teams","hooks_url":"https://api.github.com/repos/doctrine/mongodb-odm/hooks","issue_events_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/mongodb-odm/events","assignees_url":"https://api.github.com/repos/doctrine/mongodb-odm/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/mongodb-odm/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/mongodb-odm/tags","blobs_url":"https://api.github.com/repos/doctrine/mongodb-odm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/mongodb-odm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/mongodb-odm/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/mongodb-odm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/mongodb-odm/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/mongodb-odm/languages","stargazers_url":"https://api.github.com/repos/doctrine/mongodb-odm/stargazers","contributors_url":"https://api.github.com/repos/doctrine/mongodb-odm/contributors","subscribers_url":"https://api.github.com/repos/doctrine/mongodb-odm/subscribers","subscription_url":"https://api.github.com/repos/doctrine/mongodb-odm/subscription","commits_url":"https://api.github.com/repos/doctrine/mongodb-odm/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/mongodb-odm/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/mongodb-odm/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/mongodb-odm/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/mongodb-odm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/mongodb-odm/merges","archive_url":"https://api.github.com/repos/doctrine/mongodb-odm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/mongodb-odm/downloads","issues_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/mongodb-odm/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/mongodb-odm/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/mongodb-odm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/mongodb-odm/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/mongodb-odm/releases{/id}","created_at":"2010-05-20T20:20:00Z","updated_at":"2015-06-06T11:25:37Z","pushed_at":"2015-06-07T15:59:21Z","git_url":"git://github.com/doctrine/mongodb-odm.git","ssh_url":"git@github.com:doctrine/mongodb-odm.git","clone_url":"https://github.com/doctrine/mongodb-odm.git","svn_url":"https://github.com/doctrine/mongodb-odm","homepage":"http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/","size":13276,"stargazers_count":541,"watchers_count":541,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":314,"mirror_url":null,"open_issues_count":189,"forks":314,"open_issues":189,"watchers":541,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1120"},"html":{"href":"https://github.com/doctrine/mongodb-odm/pull/1120"},"issue":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1120"},"comments":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1120/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1120/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/pulls/1120/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/mongodb-odm/statuses/eaadf1a912c3667e83ce244db8b41806e8cf57fe"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":125,"deletions":9,"changed_files":4}}