{"action":"opened","number":657,"pull_request":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/657","id":27172443,"html_url":"https://github.com/cooperative-computing-lab/cctools/pull/657","diff_url":"https://github.com/cooperative-computing-lab/cctools/pull/657.diff","patch_url":"https://github.com/cooperative-computing-lab/cctools/pull/657.patch","issue_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/657","number":657,"state":"open","locked":false,"title":"Before fullcopy of a file to new_path, remove new_path if it exists.","user":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"body":"Currently fullcopy of a file to new_path is implemented by `copy_file_to_file`. However,  if the new_path exists, `copy_file_to_file` will fail. \r\nSolution: Before each `copy_file_to_file`, remove new_path if if exists.","created_at":"2015-01-12T02:21:47Z","updated_at":"2015-01-12T02:21:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/657/commits","review_comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/657/comments","review_comment_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/657/comments","statuses_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/statuses/5c2153114d72b0667614ece0ecc357108ac7bc49","head":{"label":"hmeng-19:parrot_package_create_copyfile","ref":"parrot_package_create_copyfile","sha":"5c2153114d72b0667614ece0ecc357108ac7bc49","user":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"repo":{"id":12068793,"name":"cctools","full_name":"hmeng-19/cctools","owner":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hmeng-19/cctools","description":"The Cooperative Computing Tools (cctools) enable large scale distributed computations to harness hundreds to thousands of machines from clusters, clouds, and grids.","fork":true,"url":"https://api.github.com/repos/hmeng-19/cctools","forks_url":"https://api.github.com/repos/hmeng-19/cctools/forks","keys_url":"https://api.github.com/repos/hmeng-19/cctools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmeng-19/cctools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmeng-19/cctools/teams","hooks_url":"https://api.github.com/repos/hmeng-19/cctools/hooks","issue_events_url":"https://api.github.com/repos/hmeng-19/cctools/issues/events{/number}","events_url":"https://api.github.com/repos/hmeng-19/cctools/events","assignees_url":"https://api.github.com/repos/hmeng-19/cctools/assignees{/user}","branches_url":"https://api.github.com/repos/hmeng-19/cctools/branches{/branch}","tags_url":"https://api.github.com/repos/hmeng-19/cctools/tags","blobs_url":"https://api.github.com/repos/hmeng-19/cctools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmeng-19/cctools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmeng-19/cctools/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmeng-19/cctools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmeng-19/cctools/statuses/{sha}","languages_url":"https://api.github.com/repos/hmeng-19/cctools/languages","stargazers_url":"https://api.github.com/repos/hmeng-19/cctools/stargazers","contributors_url":"https://api.github.com/repos/hmeng-19/cctools/contributors","subscribers_url":"https://api.github.com/repos/hmeng-19/cctools/subscribers","subscription_url":"https://api.github.com/repos/hmeng-19/cctools/subscription","commits_url":"https://api.github.com/repos/hmeng-19/cctools/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmeng-19/cctools/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmeng-19/cctools/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmeng-19/cctools/issues/comments/{number}","contents_url":"https://api.github.com/repos/hmeng-19/cctools/contents/{+path}","compare_url":"https://api.github.com/repos/hmeng-19/cctools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmeng-19/cctools/merges","archive_url":"https://api.github.com/repos/hmeng-19/cctools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmeng-19/cctools/downloads","issues_url":"https://api.github.com/repos/hmeng-19/cctools/issues{/number}","pulls_url":"https://api.github.com/repos/hmeng-19/cctools/pulls{/number}","milestones_url":"https://api.github.com/repos/hmeng-19/cctools/milestones{/number}","notifications_url":"https://api.github.com/repos/hmeng-19/cctools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmeng-19/cctools/labels{/name}","releases_url":"https://api.github.com/repos/hmeng-19/cctools/releases{/id}","created_at":"2013-08-12T23:37:42Z","updated_at":"2014-12-19T19:34:35Z","pushed_at":"2015-01-12T02:17:56Z","git_url":"git://github.com/hmeng-19/cctools.git","ssh_url":"git@github.com:hmeng-19/cctools.git","clone_url":"https://github.com/hmeng-19/cctools.git","svn_url":"https://github.com/hmeng-19/cctools","homepage":"http://www.nd.edu/~ccl/","size":23901,"stargazers_count":0,"watchers_count":0,"language":"C","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":"master"}},"base":{"label":"cooperative-computing-lab:master","ref":"master","sha":"07a7366dd73e87f5f38471d409c354d1353937aa","user":{"login":"cooperative-computing-lab","id":2520573,"avatar_url":"https://avatars.githubusercontent.com/u/2520573?v=3","gravatar_id":"","url":"https://api.github.com/users/cooperative-computing-lab","html_url":"https://github.com/cooperative-computing-lab","followers_url":"https://api.github.com/users/cooperative-computing-lab/followers","following_url":"https://api.github.com/users/cooperative-computing-lab/following{/other_user}","gists_url":"https://api.github.com/users/cooperative-computing-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperative-computing-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperative-computing-lab/subscriptions","organizations_url":"https://api.github.com/users/cooperative-computing-lab/orgs","repos_url":"https://api.github.com/users/cooperative-computing-lab/repos","events_url":"https://api.github.com/users/cooperative-computing-lab/events{/privacy}","received_events_url":"https://api.github.com/users/cooperative-computing-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":8759937,"name":"cctools","full_name":"cooperative-computing-lab/cctools","owner":{"login":"cooperative-computing-lab","id":2520573,"avatar_url":"https://avatars.githubusercontent.com/u/2520573?v=3","gravatar_id":"","url":"https://api.github.com/users/cooperative-computing-lab","html_url":"https://github.com/cooperative-computing-lab","followers_url":"https://api.github.com/users/cooperative-computing-lab/followers","following_url":"https://api.github.com/users/cooperative-computing-lab/following{/other_user}","gists_url":"https://api.github.com/users/cooperative-computing-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperative-computing-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperative-computing-lab/subscriptions","organizations_url":"https://api.github.com/users/cooperative-computing-lab/orgs","repos_url":"https://api.github.com/users/cooperative-computing-lab/repos","events_url":"https://api.github.com/users/cooperative-computing-lab/events{/privacy}","received_events_url":"https://api.github.com/users/cooperative-computing-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cooperative-computing-lab/cctools","description":"The Cooperative Computing Tools (cctools) enable large scale distributed computations to harness hundreds to thousands of machines from clusters, clouds, and grids.","fork":false,"url":"https://api.github.com/repos/cooperative-computing-lab/cctools","forks_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/forks","keys_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/teams","hooks_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/hooks","issue_events_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/events{/number}","events_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/events","assignees_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/assignees{/user}","branches_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/branches{/branch}","tags_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/tags","blobs_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/refs{/sha}","trees_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/statuses/{sha}","languages_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/languages","stargazers_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/stargazers","contributors_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/contributors","subscribers_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/subscribers","subscription_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/subscription","commits_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/commits{/sha}","git_commits_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/git/commits{/sha}","comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/comments{/number}","issue_comment_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/comments/{number}","contents_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/contents/{+path}","compare_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/merges","archive_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/downloads","issues_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues{/number}","pulls_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls{/number}","milestones_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/milestones{/number}","notifications_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/labels{/name}","releases_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/releases{/id}","created_at":"2013-03-13T19:39:45Z","updated_at":"2015-01-08T15:40:28Z","pushed_at":"2015-01-08T15:40:25Z","git_url":"git://github.com/cooperative-computing-lab/cctools.git","ssh_url":"git@github.com:cooperative-computing-lab/cctools.git","clone_url":"https://github.com/cooperative-computing-lab/cctools.git","svn_url":"https://github.com/cooperative-computing-lab/cctools","homepage":"http://ccl.cse.nd.edu","size":70862,"stargazers_count":21,"watchers_count":21,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":56,"forks":37,"open_issues":56,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/657"},"html":{"href":"https://github.com/cooperative-computing-lab/cctools/pull/657"},"issue":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/657"},"comments":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/657/comments"},"review_comments":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/657/comments"},"review_comment":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/657/commits"},"statuses":{"href":"https://api.github.com/repos/cooperative-computing-lab/cctools/statuses/5c2153114d72b0667614ece0ecc357108ac7bc49"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":3,"changed_files":1}}