{"action":"created","comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/58376662","id":58376662,"diff_hunk":"@@ -530,7 +802,7 @@ public void adjustGraphPolicy(Function<GraphPolicy, GraphPolicy> adjuster) {\n \n     @Override\n     public int getStepProvidingCompleteResponse() {\n-        return dryRun ? 0 : 5;\n+        return dryRun ? 0 : 6;","path":"components/blitz/src/omero/cmd/graphs/DuplicateI.java","position":559,"original_position":559,"commit_id":"39f3bdf587121ccb145e056b728ac3bc9421906e","original_commit_id":"39f3bdf587121ccb145e056b728ac3bc9421906e","user":{"login":"joshmoore","id":88113,"avatar_url":"https://avatars.githubusercontent.com/u/88113?v=3","gravatar_id":"","url":"https://api.github.com/users/joshmoore","html_url":"https://github.com/joshmoore","followers_url":"https://api.github.com/users/joshmoore/followers","following_url":"https://api.github.com/users/joshmoore/following{/other_user}","gists_url":"https://api.github.com/users/joshmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/joshmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshmoore/subscriptions","organizations_url":"https://api.github.com/users/joshmoore/orgs","repos_url":"https://api.github.com/users/joshmoore/repos","events_url":"https://api.github.com/users/joshmoore/events{/privacy}","received_events_url":"https://api.github.com/users/joshmoore/received_events","type":"User","site_admin":false},"body":"How does the `6` here match with https://github.com/openmicroscopy/openmicroscopy/pull/4546/files#diff-5e2f58efa615b81632d4ab5b9186dd45R187 ?","created_at":"2016-04-04T13:42:37Z","updated_at":"2016-04-04T13:42:37Z","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4546#discussion_r58376662","pull_request_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546","_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/58376662"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4546#discussion_r58376662"},"pull_request":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546"}}},"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546","id":64436437,"html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4546","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4546.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4546.patch","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4546","number":4546,"state":"open","locked":false,"title":"refactor DuplicateI to copy more complex subgraphs","user":{"login":"mtbc","id":2630707,"avatar_url":"https://avatars.githubusercontent.com/u/2630707?v=3","gravatar_id":"","url":"https://api.github.com/users/mtbc","html_url":"https://github.com/mtbc","followers_url":"https://api.github.com/users/mtbc/followers","following_url":"https://api.github.com/users/mtbc/following{/other_user}","gists_url":"https://api.github.com/users/mtbc/gists{/gist_id}","starred_url":"https://api.github.com/users/mtbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtbc/subscriptions","organizations_url":"https://api.github.com/users/mtbc/orgs","repos_url":"https://api.github.com/users/mtbc/repos","events_url":"https://api.github.com/users/mtbc/events{/privacy}","received_events_url":"https://api.github.com/users/mtbc/received_events","type":"User","site_admin":false},"body":"`DuplicateI` failed in duplicating `ome/data_repo/curated/mias/frans/siRNA_PRIM1_03102008/001-365700055641`. This PR adjusts for Hibernate so as to,\r\n\r\n* not rely on deferring flushes\r\n* never persist an object whose properties contain transient instances\r\n* never try to reorder an existing collection\r\n* fill in back-references before persisting objects.\r\n\r\nFixes http://trac.openmicroscopy.org/ome/ticket/13171. Will probably conflict with regions so I will do that rebasing myself. (I have kept most graphs changes to regions, but this is a bugfix.)\r\n\r\nhttps://ci.openmicroscopy.org/job/OMERO-DEV-merge-integration-java/lastCompletedBuild/testngreports/integration/DuplicationTest/ should continue to pass. Also feel free to try submitting `DuplicateI` requests yourself, including for the above plate. Graph structure should be duplicated *except* for anything relating to files on disk, such as thumbnails and pixel data: see https://trello.com/c/8GbXbGqx/6-duplicate-original-files.","created_at":"2016-03-29T09:27:09Z","updated_at":"2016-04-04T13:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e9626bdb0ee23908e6a96b592cbc3fdda81423d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4546/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/39f3bdf587121ccb145e056b728ac3bc9421906e","head":{"label":"mtbc:MIAS-duplication","ref":"MIAS-duplication","sha":"39f3bdf587121ccb145e056b728ac3bc9421906e","user":{"login":"mtbc","id":2630707,"avatar_url":"https://avatars.githubusercontent.com/u/2630707?v=3","gravatar_id":"","url":"https://api.github.com/users/mtbc","html_url":"https://github.com/mtbc","followers_url":"https://api.github.com/users/mtbc/followers","following_url":"https://api.github.com/users/mtbc/following{/other_user}","gists_url":"https://api.github.com/users/mtbc/gists{/gist_id}","starred_url":"https://api.github.com/users/mtbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtbc/subscriptions","organizations_url":"https://api.github.com/users/mtbc/orgs","repos_url":"https://api.github.com/users/mtbc/repos","events_url":"https://api.github.com/users/mtbc/events{/privacy}","received_events_url":"https://api.github.com/users/mtbc/received_events","type":"User","site_admin":false},"repo":{"id":6350479,"name":"openmicroscopy","full_name":"mtbc/openmicroscopy","owner":{"login":"mtbc","id":2630707,"avatar_url":"https://avatars.githubusercontent.com/u/2630707?v=3","gravatar_id":"","url":"https://api.github.com/users/mtbc","html_url":"https://github.com/mtbc","followers_url":"https://api.github.com/users/mtbc/followers","following_url":"https://api.github.com/users/mtbc/following{/other_user}","gists_url":"https://api.github.com/users/mtbc/gists{/gist_id}","starred_url":"https://api.github.com/users/mtbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtbc/subscriptions","organizations_url":"https://api.github.com/users/mtbc/orgs","repos_url":"https://api.github.com/users/mtbc/repos","events_url":"https://api.github.com/users/mtbc/events{/privacy}","received_events_url":"https://api.github.com/users/mtbc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtbc/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":true,"url":"https://api.github.com/repos/mtbc/openmicroscopy","forks_url":"https://api.github.com/repos/mtbc/openmicroscopy/forks","keys_url":"https://api.github.com/repos/mtbc/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtbc/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtbc/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/mtbc/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/mtbc/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/mtbc/openmicroscopy/events","assignees_url":"https://api.github.com/repos/mtbc/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/mtbc/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/mtbc/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/mtbc/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtbc/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtbc/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtbc/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtbc/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/mtbc/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/mtbc/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/mtbc/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/mtbc/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/mtbc/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/mtbc/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtbc/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtbc/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtbc/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtbc/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/mtbc/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtbc/openmicroscopy/merges","archive_url":"https://api.github.com/repos/mtbc/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtbc/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/mtbc/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/mtbc/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/mtbc/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/mtbc/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtbc/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/mtbc/openmicroscopy/releases{/id}","deployments_url":"https://api.github.com/repos/mtbc/openmicroscopy/deployments","created_at":"2012-10-23T10:26:50Z","updated_at":"2014-11-11T21:10:21Z","pushed_at":"2016-04-01T09:20:43Z","git_url":"git://github.com/mtbc/openmicroscopy.git","ssh_url":"git@github.com:mtbc/openmicroscopy.git","clone_url":"https://github.com/mtbc/openmicroscopy.git","svn_url":"https://github.com/mtbc/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2102496,"stargazers_count":1,"watchers_count":1,"language":"Java","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":1,"default_branch":"develop"}},"base":{"label":"openmicroscopy:develop","ref":"develop","sha":"028bd71f78f3fdd8c81038864576867cf6be5cd5","user":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"repo":{"id":2228226,"name":"openmicroscopy","full_name":"openmicroscopy/openmicroscopy","owner":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmicroscopy/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":false,"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy","forks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/forks","keys_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/events","assignees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/merges","archive_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/releases{/id}","deployments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/deployments","created_at":"2011-08-18T14:26:02Z","updated_at":"2016-02-11T18:15:03Z","pushed_at":"2016-04-04T12:56:41Z","git_url":"git://github.com/openmicroscopy/openmicroscopy.git","ssh_url":"git@github.com:openmicroscopy/openmicroscopy.git","clone_url":"https://github.com/openmicroscopy/openmicroscopy.git","svn_url":"https://github.com/openmicroscopy/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2146305,"stargazers_count":80,"watchers_count":80,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":32,"forks":73,"open_issues":32,"watchers":80,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4546"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4546"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4546/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4546/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/39f3bdf587121ccb145e056b728ac3bc9421906e"}}}}