{"action":"created","comment":{"url":"https://api.github.com/repos/ehelms/tool_belt/pulls/comments/53979435","id":53979435,"diff_hunk":"@@ -27,7 +27,7 @@ def find_cherry_picks(project, release, repo_names)\n         commits = issue['changesets']\n \n         commits.each do |commit|\n-          if !commit['comments'].start_with?('Merge pull request') && !@release_environment.commit_in_release_branch?(repo_names, commit['comments'])\n+          if commit['comments'].downcase.start_with?('fixes', 'refs') && !@release_environment.commit_in_release_branch?(repo_names, commit['comments'])","path":"lib/tool_belt/cherry_picker.rb","position":5,"original_position":5,"commit_id":"5fd1a89eca127b3c663aaef3fc076154b35da035","original_commit_id":"5fd1a89eca127b3c663aaef3fc076154b35da035","user":{"login":"cpeters","id":510906,"avatar_url":"https://avatars.githubusercontent.com/u/510906?v=3","gravatar_id":"","url":"https://api.github.com/users/cpeters","html_url":"https://github.com/cpeters","followers_url":"https://api.github.com/users/cpeters/followers","following_url":"https://api.github.com/users/cpeters/following{/other_user}","gists_url":"https://api.github.com/users/cpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/cpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpeters/subscriptions","organizations_url":"https://api.github.com/users/cpeters/orgs","repos_url":"https://api.github.com/users/cpeters/repos","events_url":"https://api.github.com/users/cpeters/events{/privacy}","received_events_url":"https://api.github.com/users/cpeters/received_events","type":"User","site_admin":false},"body":"Those should be the only legitimate prefixes to a commit that should be cherry-picked. Right? I thought that was the agreed upon standard; refs if it's still in progress and fixes if it's complete.","created_at":"2016-02-24T18:04:42Z","updated_at":"2016-02-24T18:04:42Z","html_url":"https://github.com/ehelms/tool_belt/pull/19#discussion_r53979435","pull_request_url":"https://api.github.com/repos/ehelms/tool_belt/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/ehelms/tool_belt/pulls/comments/53979435"},"html":{"href":"https://github.com/ehelms/tool_belt/pull/19#discussion_r53979435"},"pull_request":{"href":"https://api.github.com/repos/ehelms/tool_belt/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/ehelms/tool_belt/pulls/19","id":59414941,"html_url":"https://github.com/ehelms/tool_belt/pull/19","diff_url":"https://github.com/ehelms/tool_belt/pull/19.diff","patch_url":"https://github.com/ehelms/tool_belt/pull/19.patch","issue_url":"https://api.github.com/repos/ehelms/tool_belt/issues/19","number":19,"state":"open","locked":false,"title":"Updating cherry_picker for bugzilla use case","user":{"login":"cpeters","id":510906,"avatar_url":"https://avatars.githubusercontent.com/u/510906?v=3","gravatar_id":"","url":"https://api.github.com/users/cpeters","html_url":"https://github.com/cpeters","followers_url":"https://api.github.com/users/cpeters/followers","following_url":"https://api.github.com/users/cpeters/following{/other_user}","gists_url":"https://api.github.com/users/cpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/cpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpeters/subscriptions","organizations_url":"https://api.github.com/users/cpeters/orgs","repos_url":"https://api.github.com/users/cpeters/repos","events_url":"https://api.github.com/users/cpeters/events{/privacy}","received_events_url":"https://api.github.com/users/cpeters/received_events","type":"User","site_admin":false},"body":"(cherry picked from commit 09d29114b50cfeaf5f1ac08e0288a58435584247)","created_at":"2016-02-15T21:22:39Z","updated_at":"2016-02-24T18:04:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"830cfd9b7d01c7dca6619eee538412a1e55cd0af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ehelms/tool_belt/pulls/19/commits","review_comments_url":"https://api.github.com/repos/ehelms/tool_belt/pulls/19/comments","review_comment_url":"https://api.github.com/repos/ehelms/tool_belt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ehelms/tool_belt/issues/19/comments","statuses_url":"https://api.github.com/repos/ehelms/tool_belt/statuses/5fd1a89eca127b3c663aaef3fc076154b35da035","head":{"label":"cpeters:cherry-picker-bz","ref":"cherry-picker-bz","sha":"5fd1a89eca127b3c663aaef3fc076154b35da035","user":{"login":"cpeters","id":510906,"avatar_url":"https://avatars.githubusercontent.com/u/510906?v=3","gravatar_id":"","url":"https://api.github.com/users/cpeters","html_url":"https://github.com/cpeters","followers_url":"https://api.github.com/users/cpeters/followers","following_url":"https://api.github.com/users/cpeters/following{/other_user}","gists_url":"https://api.github.com/users/cpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/cpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpeters/subscriptions","organizations_url":"https://api.github.com/users/cpeters/orgs","repos_url":"https://api.github.com/users/cpeters/repos","events_url":"https://api.github.com/users/cpeters/events{/privacy}","received_events_url":"https://api.github.com/users/cpeters/received_events","type":"User","site_admin":false},"repo":{"id":39851809,"name":"tool_belt","full_name":"cpeters/tool_belt","owner":{"login":"cpeters","id":510906,"avatar_url":"https://avatars.githubusercontent.com/u/510906?v=3","gravatar_id":"","url":"https://api.github.com/users/cpeters","html_url":"https://github.com/cpeters","followers_url":"https://api.github.com/users/cpeters/followers","following_url":"https://api.github.com/users/cpeters/following{/other_user}","gists_url":"https://api.github.com/users/cpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/cpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpeters/subscriptions","organizations_url":"https://api.github.com/users/cpeters/orgs","repos_url":"https://api.github.com/users/cpeters/repos","events_url":"https://api.github.com/users/cpeters/events{/privacy}","received_events_url":"https://api.github.com/users/cpeters/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpeters/tool_belt","description":"","fork":true,"url":"https://api.github.com/repos/cpeters/tool_belt","forks_url":"https://api.github.com/repos/cpeters/tool_belt/forks","keys_url":"https://api.github.com/repos/cpeters/tool_belt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpeters/tool_belt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpeters/tool_belt/teams","hooks_url":"https://api.github.com/repos/cpeters/tool_belt/hooks","issue_events_url":"https://api.github.com/repos/cpeters/tool_belt/issues/events{/number}","events_url":"https://api.github.com/repos/cpeters/tool_belt/events","assignees_url":"https://api.github.com/repos/cpeters/tool_belt/assignees{/user}","branches_url":"https://api.github.com/repos/cpeters/tool_belt/branches{/branch}","tags_url":"https://api.github.com/repos/cpeters/tool_belt/tags","blobs_url":"https://api.github.com/repos/cpeters/tool_belt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpeters/tool_belt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpeters/tool_belt/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpeters/tool_belt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpeters/tool_belt/statuses/{sha}","languages_url":"https://api.github.com/repos/cpeters/tool_belt/languages","stargazers_url":"https://api.github.com/repos/cpeters/tool_belt/stargazers","contributors_url":"https://api.github.com/repos/cpeters/tool_belt/contributors","subscribers_url":"https://api.github.com/repos/cpeters/tool_belt/subscribers","subscription_url":"https://api.github.com/repos/cpeters/tool_belt/subscription","commits_url":"https://api.github.com/repos/cpeters/tool_belt/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpeters/tool_belt/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpeters/tool_belt/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpeters/tool_belt/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpeters/tool_belt/contents/{+path}","compare_url":"https://api.github.com/repos/cpeters/tool_belt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpeters/tool_belt/merges","archive_url":"https://api.github.com/repos/cpeters/tool_belt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpeters/tool_belt/downloads","issues_url":"https://api.github.com/repos/cpeters/tool_belt/issues{/number}","pulls_url":"https://api.github.com/repos/cpeters/tool_belt/pulls{/number}","milestones_url":"https://api.github.com/repos/cpeters/tool_belt/milestones{/number}","notifications_url":"https://api.github.com/repos/cpeters/tool_belt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpeters/tool_belt/labels{/name}","releases_url":"https://api.github.com/repos/cpeters/tool_belt/releases{/id}","deployments_url":"https://api.github.com/repos/cpeters/tool_belt/deployments","created_at":"2015-07-28T18:47:21Z","updated_at":"2015-07-28T18:47:22Z","pushed_at":"2016-02-15T21:49:08Z","git_url":"git://github.com/cpeters/tool_belt.git","ssh_url":"git@github.com:cpeters/tool_belt.git","clone_url":"https://github.com/cpeters/tool_belt.git","svn_url":"https://github.com/cpeters/tool_belt","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ehelms:master","ref":"master","sha":"8ba827d1d64ed7dc5e7146e917efb00e8f99e7f6","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"repo":{"id":32885481,"name":"tool_belt","full_name":"ehelms/tool_belt","owner":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehelms/tool_belt","description":"","fork":false,"url":"https://api.github.com/repos/ehelms/tool_belt","forks_url":"https://api.github.com/repos/ehelms/tool_belt/forks","keys_url":"https://api.github.com/repos/ehelms/tool_belt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehelms/tool_belt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehelms/tool_belt/teams","hooks_url":"https://api.github.com/repos/ehelms/tool_belt/hooks","issue_events_url":"https://api.github.com/repos/ehelms/tool_belt/issues/events{/number}","events_url":"https://api.github.com/repos/ehelms/tool_belt/events","assignees_url":"https://api.github.com/repos/ehelms/tool_belt/assignees{/user}","branches_url":"https://api.github.com/repos/ehelms/tool_belt/branches{/branch}","tags_url":"https://api.github.com/repos/ehelms/tool_belt/tags","blobs_url":"https://api.github.com/repos/ehelms/tool_belt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehelms/tool_belt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehelms/tool_belt/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehelms/tool_belt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehelms/tool_belt/statuses/{sha}","languages_url":"https://api.github.com/repos/ehelms/tool_belt/languages","stargazers_url":"https://api.github.com/repos/ehelms/tool_belt/stargazers","contributors_url":"https://api.github.com/repos/ehelms/tool_belt/contributors","subscribers_url":"https://api.github.com/repos/ehelms/tool_belt/subscribers","subscription_url":"https://api.github.com/repos/ehelms/tool_belt/subscription","commits_url":"https://api.github.com/repos/ehelms/tool_belt/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehelms/tool_belt/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehelms/tool_belt/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehelms/tool_belt/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehelms/tool_belt/contents/{+path}","compare_url":"https://api.github.com/repos/ehelms/tool_belt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehelms/tool_belt/merges","archive_url":"https://api.github.com/repos/ehelms/tool_belt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehelms/tool_belt/downloads","issues_url":"https://api.github.com/repos/ehelms/tool_belt/issues{/number}","pulls_url":"https://api.github.com/repos/ehelms/tool_belt/pulls{/number}","milestones_url":"https://api.github.com/repos/ehelms/tool_belt/milestones{/number}","notifications_url":"https://api.github.com/repos/ehelms/tool_belt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehelms/tool_belt/labels{/name}","releases_url":"https://api.github.com/repos/ehelms/tool_belt/releases{/id}","deployments_url":"https://api.github.com/repos/ehelms/tool_belt/deployments","created_at":"2015-03-25T19:12:47Z","updated_at":"2016-02-12T19:46:42Z","pushed_at":"2016-02-24T13:19:42Z","git_url":"git://github.com/ehelms/tool_belt.git","ssh_url":"git@github.com:ehelms/tool_belt.git","clone_url":"https://github.com/ehelms/tool_belt.git","svn_url":"https://github.com/ehelms/tool_belt","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ehelms/tool_belt/pulls/19"},"html":{"href":"https://github.com/ehelms/tool_belt/pull/19"},"issue":{"href":"https://api.github.com/repos/ehelms/tool_belt/issues/19"},"comments":{"href":"https://api.github.com/repos/ehelms/tool_belt/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/ehelms/tool_belt/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/ehelms/tool_belt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ehelms/tool_belt/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/ehelms/tool_belt/statuses/5fd1a89eca127b3c663aaef3fc076154b35da035"}}}}