{"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments/77709099","id":77709099,"diff_hunk":"@@ -74,16 +110,30 @@ def _copyRecursive(syn, entity, destinationId, mapping = dict(), **kwargs):\n         elif isinstance(ent, Folder):\n             copiedId = _copyFolder(syn, ent.id, destinationId, mapping=mapping, **kwargs)\n         elif isinstance(ent, File):\n-            copiedId = _copyFile(syn, ent.id, destinationId, version=version, replace=replace, setProvenance=setProvenance)","path":"synapseutils/copy.py","position":87,"original_position":87,"commit_id":"9fdbe6700cc61f95608a70a854a67cc58697acc4","original_commit_id":"9fdbe6700cc61f95608a70a854a67cc58697acc4","user":{"login":"thomasyu888","id":10556275,"avatar_url":"https://avatars.githubusercontent.com/u/10556275?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasyu888","html_url":"https://github.com/thomasyu888","followers_url":"https://api.github.com/users/thomasyu888/followers","following_url":"https://api.github.com/users/thomasyu888/following{/other_user}","gists_url":"https://api.github.com/users/thomasyu888/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasyu888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasyu888/subscriptions","organizations_url":"https://api.github.com/users/thomasyu888/orgs","repos_url":"https://api.github.com/users/thomasyu888/repos","events_url":"https://api.github.com/users/thomasyu888/events{/privacy}","received_events_url":"https://api.github.com/users/thomasyu888/received_events","type":"User","site_admin":false},"body":"having special case for projects with destinatioId==None seems unecesary.\r\n","created_at":"2016-09-06T20:11:45Z","updated_at":"2016-09-06T20:11:45Z","html_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/310#discussion_r77709099","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments/77709099"},"html":{"href":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/310#discussion_r77709099"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310","id":74278002,"html_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/310","diff_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/310.diff","patch_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/310.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/310","number":310,"state":"open","locked":false,"title":"Synapse copy function 2.0","user":{"login":"thomasyu888","id":10556275,"avatar_url":"https://avatars.githubusercontent.com/u/10556275?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasyu888","html_url":"https://github.com/thomasyu888","followers_url":"https://api.github.com/users/thomasyu888/followers","following_url":"https://api.github.com/users/thomasyu888/following{/other_user}","gists_url":"https://api.github.com/users/thomasyu888/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasyu888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasyu888/subscriptions","organizations_url":"https://api.github.com/users/thomasyu888/orgs","repos_url":"https://api.github.com/users/thomasyu888/repos","events_url":"https://api.github.com/users/thomasyu888/events{/privacy}","received_events_url":"https://api.github.com/users/thomasyu888/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-17T17:32:41Z","updated_at":"2016-09-06T20:11:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e8f1926569f6e74aeb1a7c5148b3c8909710aaf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/310/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/statuses/9fdbe6700cc61f95608a70a854a67cc58697acc4","head":{"label":"thomasyu888:develop","ref":"develop","sha":"9fdbe6700cc61f95608a70a854a67cc58697acc4","user":{"login":"thomasyu888","id":10556275,"avatar_url":"https://avatars.githubusercontent.com/u/10556275?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasyu888","html_url":"https://github.com/thomasyu888","followers_url":"https://api.github.com/users/thomasyu888/followers","following_url":"https://api.github.com/users/thomasyu888/following{/other_user}","gists_url":"https://api.github.com/users/thomasyu888/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasyu888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasyu888/subscriptions","organizations_url":"https://api.github.com/users/thomasyu888/orgs","repos_url":"https://api.github.com/users/thomasyu888/repos","events_url":"https://api.github.com/users/thomasyu888/events{/privacy}","received_events_url":"https://api.github.com/users/thomasyu888/received_events","type":"User","site_admin":false},"repo":{"id":45168062,"name":"synapsePythonClient","full_name":"thomasyu888/synapsePythonClient","owner":{"login":"thomasyu888","id":10556275,"avatar_url":"https://avatars.githubusercontent.com/u/10556275?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasyu888","html_url":"https://github.com/thomasyu888","followers_url":"https://api.github.com/users/thomasyu888/followers","following_url":"https://api.github.com/users/thomasyu888/following{/other_user}","gists_url":"https://api.github.com/users/thomasyu888/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasyu888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasyu888/subscriptions","organizations_url":"https://api.github.com/users/thomasyu888/orgs","repos_url":"https://api.github.com/users/thomasyu888/repos","events_url":"https://api.github.com/users/thomasyu888/events{/privacy}","received_events_url":"https://api.github.com/users/thomasyu888/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thomasyu888/synapsePythonClient","description":"Programmatic interface to Synapse services for Python","fork":true,"url":"https://api.github.com/repos/thomasyu888/synapsePythonClient","forks_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/forks","keys_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/teams","hooks_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/hooks","issue_events_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/issues/events{/number}","events_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/events","assignees_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/assignees{/user}","branches_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/branches{/branch}","tags_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/tags","blobs_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/statuses/{sha}","languages_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/languages","stargazers_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/stargazers","contributors_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/contributors","subscribers_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/subscribers","subscription_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/subscription","commits_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/contents/{+path}","compare_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/merges","archive_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/downloads","issues_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/issues{/number}","pulls_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/pulls{/number}","milestones_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/milestones{/number}","notifications_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/labels{/name}","releases_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/releases{/id}","deployments_url":"https://api.github.com/repos/thomasyu888/synapsePythonClient/deployments","created_at":"2015-10-29T07:44:28Z","updated_at":"2016-01-12T21:48:51Z","pushed_at":"2016-08-30T22:37:22Z","git_url":"git://github.com/thomasyu888/synapsePythonClient.git","ssh_url":"git@github.com:thomasyu888/synapsePythonClient.git","clone_url":"https://github.com/thomasyu888/synapsePythonClient.git","svn_url":"https://github.com/thomasyu888/synapsePythonClient","homepage":"https://www.synapse.org","size":3270,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Sage-Bionetworks:develop","ref":"develop","sha":"e5e233ba0841403ea699d4d949a0ba3768b1c426","user":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":5497036,"name":"synapsePythonClient","full_name":"Sage-Bionetworks/synapsePythonClient","owner":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage-Bionetworks/synapsePythonClient","description":"Programmatic interface to Synapse services for Python","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient","forks_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/releases{/id}","deployments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/deployments","created_at":"2012-08-21T15:32:00Z","updated_at":"2016-08-23T00:04:20Z","pushed_at":"2016-09-01T18:19:55Z","git_url":"git://github.com/Sage-Bionetworks/synapsePythonClient.git","ssh_url":"git@github.com:Sage-Bionetworks/synapsePythonClient.git","clone_url":"https://github.com/Sage-Bionetworks/synapsePythonClient.git","svn_url":"https://github.com/Sage-Bionetworks/synapsePythonClient","homepage":"https://www.synapse.org","size":3306,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":5,"forks":26,"open_issues":5,"watchers":21,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310"},"html":{"href":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/310"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/310"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/310/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/310/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/statuses/9fdbe6700cc61f95608a70a854a67cc58697acc4"}}}}
{"actor":{"display_login":"thomasyu888"}}