GitHub PullRequestReviewCommentEvent at 2014-06-30 08:33:19
Repository: staypuft
Actor: pitr-ch
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/staypuft/pulls/comments/14339957","id":14339957,"diff_hunk":"@@ -13,6 +13,11 @@ def open_stack_assigned?\n         respond_to?(:hostgroup) &&\n             hostgroup.try(:parent).try(:parent) == Hostgroup.get_base_hostgroup\n       end\n+\n+      def open_stack_unassign\n+        hostgroup = nil","path":"app/models/staypuft/concerns/host_open_stack_affiliation.rb","position":6,"original_position":6,"commit_id":"41713704d12b81f06340a191e9d374e873ea37d4","original_commit_id":"41713704d12b81f06340a191e9d374e873ea37d4","user":{"login":"pitr-ch","id":204460,"avatar_url":"https://avatars.githubusercontent.com/u/204460?","gravatar_id":"1390a7fcbc3337885de95bb9b1bcecfd","url":"https://api.github.com/users/pitr-ch","html_url":"https://github.com/pitr-ch","followers_url":"https://api.github.com/users/pitr-ch/followers","following_url":"https://api.github.com/users/pitr-ch/following{/other_user}","gists_url":"https://api.github.com/users/pitr-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/pitr-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitr-ch/subscriptions","organizations_url":"https://api.github.com/users/pitr-ch/orgs","repos_url":"https://api.github.com/users/pitr-ch/repos","events_url":"https://api.github.com/users/pitr-ch/events{/privacy}","received_events_url":"https://api.github.com/users/pitr-ch/received_events","type":"User","site_admin":false},"body":"This line is noop. Please be extra careful what you are merging since we do not have tests. Please revert this and back-port fix which is in `ui` branch.","created_at":"2014-06-30T08:33:19Z","updated_at":"2014-06-30T08:33:19Z","html_url":"https://github.com/theforeman/staypuft/pull/161#discussion_r14339957","pull_request_url":"https://api.github.com/repos/theforeman/staypuft/pulls/161","_links":{"self":{"href":"https://api.github.com/repos/theforeman/staypuft/pulls/comments/14339957"},"html":{"href":"https://github.com/theforeman/staypuft/pull/161#discussion_r14339957"},"pull_request":{"href":"https://api.github.com/repos/theforeman/staypuft/pulls/161"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/staypuft/pulls/161","id":17705361,"html_url":"https://github.com/theforeman/staypuft/pull/161","diff_url":"https://github.com/theforeman/staypuft/pull/161.diff","patch_url":"https://github.com/theforeman/staypuft/pull/161.patch","issue_url":"https://api.github.com/repos/theforeman/staypuft/issues/161","number":161,"state":"closed","title":"Fixes 1102925: Unassign hosts before deployment delete","user":{"login":"mtaylor","id":230091,"avatar_url":"https://avatars.githubusercontent.com/u/230091?","gravatar_id":"935b1d08b54dbe30e38d8864362b52e1","url":"https://api.github.com/users/mtaylor","html_url":"https://github.com/mtaylor","followers_url":"https://api.github.com/users/mtaylor/followers","following_url":"https://api.github.com/users/mtaylor/following{/other_user}","gists_url":"https://api.github.com/users/mtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaylor/subscriptions","organizations_url":"https://api.github.com/users/mtaylor/orgs","repos_url":"https://api.github.com/users/mtaylor/repos","events_url":"https://api.github.com/users/mtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/mtaylor/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-27T14:25:35Z","updated_at":"2014-06-30T08:33:19Z","closed_at":"2014-06-27T15:02:18Z","merged_at":"2014-06-27T15:02:18Z","merge_commit_sha":"5fe50046db77cfbc824bca8d21146366b4179b19","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/staypuft/pulls/161/commits","review_comments_url":"https://api.github.com/repos/theforeman/staypuft/pulls/161/comments","review_comment_url":"https://api.github.com/repos/theforeman/staypuft/pulls/comments/{number}","comments_url":"https://api.github.com/repos/theforeman/staypuft/issues/161/comments","statuses_url":"https://api.github.com/repos/theforeman/staypuft/statuses/41713704d12b81f06340a191e9d374e873ea37d4","head":{"label":"mtaylor:deployment_destroy","ref":"deployment_destroy","sha":"41713704d12b81f06340a191e9d374e873ea37d4","user":{"login":"mtaylor","id":230091,"avatar_url":"https://avatars.githubusercontent.com/u/230091?","gravatar_id":"935b1d08b54dbe30e38d8864362b52e1","url":"https://api.github.com/users/mtaylor","html_url":"https://github.com/mtaylor","followers_url":"https://api.github.com/users/mtaylor/followers","following_url":"https://api.github.com/users/mtaylor/following{/other_user}","gists_url":"https://api.github.com/users/mtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaylor/subscriptions","organizations_url":"https://api.github.com/users/mtaylor/orgs","repos_url":"https://api.github.com/users/mtaylor/repos","events_url":"https://api.github.com/users/mtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/mtaylor/received_events","type":"User","site_admin":false},"repo":{"id":17363129,"name":"OFI","full_name":"mtaylor/OFI","owner":{"login":"mtaylor","id":230091,"avatar_url":"https://avatars.githubusercontent.com/u/230091?","gravatar_id":"935b1d08b54dbe30e38d8864362b52e1","url":"https://api.github.com/users/mtaylor","html_url":"https://github.com/mtaylor","followers_url":"https://api.github.com/users/mtaylor/followers","following_url":"https://api.github.com/users/mtaylor/following{/other_user}","gists_url":"https://api.github.com/users/mtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaylor/subscriptions","organizations_url":"https://api.github.com/users/mtaylor/orgs","repos_url":"https://api.github.com/users/mtaylor/repos","events_url":"https://api.github.com/users/mtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/mtaylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtaylor/OFI","description":"Openstack Foreman Installer","fork":true,"url":"https://api.github.com/repos/mtaylor/OFI","forks_url":"https://api.github.com/repos/mtaylor/OFI/forks","keys_url":"https://api.github.com/repos/mtaylor/OFI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtaylor/OFI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtaylor/OFI/teams","hooks_url":"https://api.github.com/repos/mtaylor/OFI/hooks","issue_events_url":"https://api.github.com/repos/mtaylor/OFI/issues/events{/number}","events_url":"https://api.github.com/repos/mtaylor/OFI/events","assignees_url":"https://api.github.com/repos/mtaylor/OFI/assignees{/user}","branches_url":"https://api.github.com/repos/mtaylor/OFI/branches{/branch}","tags_url":"https://api.github.com/repos/mtaylor/OFI/tags","blobs_url":"https://api.github.com/repos/mtaylor/OFI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtaylor/OFI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtaylor/OFI/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtaylor/OFI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtaylor/OFI/statuses/{sha}","languages_url":"https://api.github.com/repos/mtaylor/OFI/languages","stargazers_url":"https://api.github.com/repos/mtaylor/OFI/stargazers","contributors_url":"https://api.github.com/repos/mtaylor/OFI/contributors","subscribers_url":"https://api.github.com/repos/mtaylor/OFI/subscribers","subscription_url":"https://api.github.com/repos/mtaylor/OFI/subscription","commits_url":"https://api.github.com/repos/mtaylor/OFI/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtaylor/OFI/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtaylor/OFI/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtaylor/OFI/issues/comments/{number}","contents_url":"https://api.github.com/repos/mtaylor/OFI/contents/{+path}","compare_url":"https://api.github.com/repos/mtaylor/OFI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtaylor/OFI/merges","archive_url":"https://api.github.com/repos/mtaylor/OFI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtaylor/OFI/downloads","issues_url":"https://api.github.com/repos/mtaylor/OFI/issues{/number}","pulls_url":"https://api.github.com/repos/mtaylor/OFI/pulls{/number}","milestones_url":"https://api.github.com/repos/mtaylor/OFI/milestones{/number}","notifications_url":"https://api.github.com/repos/mtaylor/OFI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtaylor/OFI/labels{/name}","releases_url":"https://api.github.com/repos/mtaylor/OFI/releases{/id}","created_at":"2014-03-03T10:50:50Z","updated_at":"2014-06-06T15:55:37Z","pushed_at":"2014-06-27T14:47:45Z","git_url":"git://github.com/mtaylor/OFI.git","ssh_url":"git@github.com:mtaylor/OFI.git","clone_url":"https://github.com/mtaylor/OFI.git","svn_url":"https://github.com/mtaylor/OFI","homepage":null,"size":1146,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theforeman:master","ref":"master","sha":"20d5ddaf360d34075b1ac5e3adad450916049486","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?","gravatar_id":"debaffa7d317b9ec76a588682fb1e640","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":17242516,"name":"staypuft","full_name":"theforeman/staypuft","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?","gravatar_id":"debaffa7d317b9ec76a588682fb1e640","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/staypuft","description":"Openstack Foreman Installer","fork":false,"url":"https://api.github.com/repos/theforeman/staypuft","forks_url":"https://api.github.com/repos/theforeman/staypuft/forks","keys_url":"https://api.github.com/repos/theforeman/staypuft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/staypuft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/staypuft/teams","hooks_url":"https://api.github.com/repos/theforeman/staypuft/hooks","issue_events_url":"https://api.github.com/repos/theforeman/staypuft/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/staypuft/events","assignees_url":"https://api.github.com/repos/theforeman/staypuft/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/staypuft/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/staypuft/tags","blobs_url":"https://api.github.com/repos/theforeman/staypuft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/staypuft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/staypuft/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/staypuft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/staypuft/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/staypuft/languages","stargazers_url":"https://api.github.com/repos/theforeman/staypuft/stargazers","contributors_url":"https://api.github.com/repos/theforeman/staypuft/contributors","subscribers_url":"https://api.github.com/repos/theforeman/staypuft/subscribers","subscription_url":"https://api.github.com/repos/theforeman/staypuft/subscription","commits_url":"https://api.github.com/repos/theforeman/staypuft/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/staypuft/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/staypuft/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/staypuft/issues/comments/{number}","contents_url":"https://api.github.com/repos/theforeman/staypuft/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/staypuft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/staypuft/merges","archive_url":"https://api.github.com/repos/theforeman/staypuft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/staypuft/downloads","issues_url":"https://api.github.com/repos/theforeman/staypuft/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/staypuft/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/staypuft/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/staypuft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/staypuft/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/staypuft/releases{/id}","created_at":"2014-02-27T08:49:11Z","updated_at":"2014-06-29T13:09:00Z","pushed_at":"2014-06-30T08:23:54Z","git_url":"git://github.com/theforeman/staypuft.git","ssh_url":"git@github.com:theforeman/staypuft.git","clone_url":"https://github.com/theforeman/staypuft.git","svn_url":"https://github.com/theforeman/staypuft","homepage":null,"size":5786,"stargazers_count":13,"watchers_count":13,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":14,"mirror_url":null,"open_issues_count":7,"forks":14,"open_issues":7,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/staypuft/pulls/161"},"html":{"href":"https://github.com/theforeman/staypuft/pull/161"},"issue":{"href":"https://api.github.com/repos/theforeman/staypuft/issues/161"},"comments":{"href":"https://api.github.com/repos/theforeman/staypuft/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/staypuft/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/staypuft/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/theforeman/staypuft/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/staypuft/statuses/41713704d12b81f06340a191e9d374e873ea37d4"}}}}