{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/comments/40965526","id":40965526,"diff_hunk":"@@ -0,0 +1,3 @@\n+\"\"\"Constants\"\"\"\n+\n+DEFAULT_CONFLICT = 'warn'","path":"waterbutler/constants.py","position":3,"original_position":3,"commit_id":"be8dfcc9d8f1a685b1d87cba3b7fc76554696692","original_commit_id":"be8dfcc9d8f1a685b1d87cba3b7fc76554696692","user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"body":"+1 for this.\r\n\r\nI'd like to see more use of named constants instead of redundant strings... but that's outside scope for this PR.","created_at":"2015-10-01T20:59:02Z","updated_at":"2015-10-01T20:59:02Z","html_url":"https://github.com/CenterForOpenScience/waterbutler/pull/77#discussion_r40965526","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/comments/40965526"},"html":{"href":"https://github.com/CenterForOpenScience/waterbutler/pull/77#discussion_r40965526"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77","id":46327466,"html_url":"https://github.com/CenterForOpenScience/waterbutler/pull/77","diff_url":"https://github.com/CenterForOpenScience/waterbutler/pull/77.diff","patch_url":"https://github.com/CenterForOpenScience/waterbutler/pull/77.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues/77","number":77,"state":"open","locked":false,"title":"Catch rename duplicate","user":{"login":"Ghalko","id":5169088,"avatar_url":"https://avatars.githubusercontent.com/u/5169088?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghalko","html_url":"https://github.com/Ghalko","followers_url":"https://api.github.com/users/Ghalko/followers","following_url":"https://api.github.com/users/Ghalko/following{/other_user}","gists_url":"https://api.github.com/users/Ghalko/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghalko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghalko/subscriptions","organizations_url":"https://api.github.com/users/Ghalko/orgs","repos_url":"https://api.github.com/users/Ghalko/repos","events_url":"https://api.github.com/users/Ghalko/events{/privacy}","received_events_url":"https://api.github.com/users/Ghalko/received_events","type":"User","site_admin":false},"body":"Returns a 409 error.\r\n\r\nUpdate with a conflict default of warn. This is in the file waterbutler.constants.","created_at":"2015-09-29T20:27:37Z","updated_at":"2015-10-01T20:59:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56f36b3b86d6dd4dac2a09947ed1160b984ad08d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues/77/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/statuses/be8dfcc9d8f1a685b1d87cba3b7fc76554696692","head":{"label":"Ghalko:feature/name_conflict","ref":"feature/name_conflict","sha":"be8dfcc9d8f1a685b1d87cba3b7fc76554696692","user":{"login":"Ghalko","id":5169088,"avatar_url":"https://avatars.githubusercontent.com/u/5169088?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghalko","html_url":"https://github.com/Ghalko","followers_url":"https://api.github.com/users/Ghalko/followers","following_url":"https://api.github.com/users/Ghalko/following{/other_user}","gists_url":"https://api.github.com/users/Ghalko/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghalko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghalko/subscriptions","organizations_url":"https://api.github.com/users/Ghalko/orgs","repos_url":"https://api.github.com/users/Ghalko/repos","events_url":"https://api.github.com/users/Ghalko/events{/privacy}","received_events_url":"https://api.github.com/users/Ghalko/received_events","type":"User","site_admin":false},"repo":{"id":36815437,"name":"waterbutler","full_name":"Ghalko/waterbutler","owner":{"login":"Ghalko","id":5169088,"avatar_url":"https://avatars.githubusercontent.com/u/5169088?v=3","gravatar_id":"","url":"https://api.github.com/users/Ghalko","html_url":"https://github.com/Ghalko","followers_url":"https://api.github.com/users/Ghalko/followers","following_url":"https://api.github.com/users/Ghalko/following{/other_user}","gists_url":"https://api.github.com/users/Ghalko/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghalko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghalko/subscriptions","organizations_url":"https://api.github.com/users/Ghalko/orgs","repos_url":"https://api.github.com/users/Ghalko/repos","events_url":"https://api.github.com/users/Ghalko/events{/privacy}","received_events_url":"https://api.github.com/users/Ghalko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ghalko/waterbutler","description":"","fork":true,"url":"https://api.github.com/repos/Ghalko/waterbutler","forks_url":"https://api.github.com/repos/Ghalko/waterbutler/forks","keys_url":"https://api.github.com/repos/Ghalko/waterbutler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ghalko/waterbutler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ghalko/waterbutler/teams","hooks_url":"https://api.github.com/repos/Ghalko/waterbutler/hooks","issue_events_url":"https://api.github.com/repos/Ghalko/waterbutler/issues/events{/number}","events_url":"https://api.github.com/repos/Ghalko/waterbutler/events","assignees_url":"https://api.github.com/repos/Ghalko/waterbutler/assignees{/user}","branches_url":"https://api.github.com/repos/Ghalko/waterbutler/branches{/branch}","tags_url":"https://api.github.com/repos/Ghalko/waterbutler/tags","blobs_url":"https://api.github.com/repos/Ghalko/waterbutler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ghalko/waterbutler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ghalko/waterbutler/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ghalko/waterbutler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ghalko/waterbutler/statuses/{sha}","languages_url":"https://api.github.com/repos/Ghalko/waterbutler/languages","stargazers_url":"https://api.github.com/repos/Ghalko/waterbutler/stargazers","contributors_url":"https://api.github.com/repos/Ghalko/waterbutler/contributors","subscribers_url":"https://api.github.com/repos/Ghalko/waterbutler/subscribers","subscription_url":"https://api.github.com/repos/Ghalko/waterbutler/subscription","commits_url":"https://api.github.com/repos/Ghalko/waterbutler/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ghalko/waterbutler/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ghalko/waterbutler/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ghalko/waterbutler/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ghalko/waterbutler/contents/{+path}","compare_url":"https://api.github.com/repos/Ghalko/waterbutler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ghalko/waterbutler/merges","archive_url":"https://api.github.com/repos/Ghalko/waterbutler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ghalko/waterbutler/downloads","issues_url":"https://api.github.com/repos/Ghalko/waterbutler/issues{/number}","pulls_url":"https://api.github.com/repos/Ghalko/waterbutler/pulls{/number}","milestones_url":"https://api.github.com/repos/Ghalko/waterbutler/milestones{/number}","notifications_url":"https://api.github.com/repos/Ghalko/waterbutler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ghalko/waterbutler/labels{/name}","releases_url":"https://api.github.com/repos/Ghalko/waterbutler/releases{/id}","created_at":"2015-06-03T16:14:26Z","updated_at":"2015-06-03T16:14:26Z","pushed_at":"2015-09-30T16:04:20Z","git_url":"git://github.com/Ghalko/waterbutler.git","ssh_url":"git@github.com:Ghalko/waterbutler.git","clone_url":"https://github.com/Ghalko/waterbutler.git","svn_url":"https://github.com/Ghalko/waterbutler","homepage":"http://waterbutler.io","size":1650,"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":"CenterForOpenScience:develop","ref":"develop","sha":"74e3ff2c26a02f419089cca64ccb947826be8660","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":27130042,"name":"waterbutler","full_name":"CenterForOpenScience/waterbutler","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/waterbutler","description":"","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/waterbutler","forks_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/waterbutler/releases{/id}","created_at":"2014-11-25T14:42:31Z","updated_at":"2015-09-18T00:43:53Z","pushed_at":"2015-10-01T18:44:06Z","git_url":"git://github.com/CenterForOpenScience/waterbutler.git","ssh_url":"git@github.com:CenterForOpenScience/waterbutler.git","clone_url":"https://github.com/CenterForOpenScience/waterbutler.git","svn_url":"https://github.com/CenterForOpenScience/waterbutler","homepage":"http://waterbutler.io","size":3656,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":9,"forks":28,"open_issues":9,"watchers":12,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77"},"html":{"href":"https://github.com/CenterForOpenScience/waterbutler/pull/77"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues/77"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/waterbutler/statuses/be8dfcc9d8f1a685b1d87cba3b7fc76554696692"}}}}