{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/84673969","pull_request_review_id":5435713,"id":84673969,"diff_hunk":"@@ -5,6 +5,10 @@ class ManageIQ::Providers::Vmware::InfraManager::Vm < ManageIQ::Providers::Infra\n   include_concern 'RemoteConsole'\n   include_concern 'Reconfigure'\n \n+  supports :clone do\n+    unsupported_reason_add(:clone, 'Clone operation is not supported') if blank? || orphaned? || archived?","path":"app/models/manageiq/providers/vmware/infra_manager/vm.rb","position":5,"original_position":5,"commit_id":"a068abf4cc593fe3f15f1fb377715230865809b5","original_commit_id":"a068abf4cc593fe3f15f1fb377715230865809b5","user":{"login":"durandom","id":161888,"avatar_url":"https://avatars.githubusercontent.com/u/161888?v=3","gravatar_id":"","url":"https://api.github.com/users/durandom","html_url":"https://github.com/durandom","followers_url":"https://api.github.com/users/durandom/followers","following_url":"https://api.github.com/users/durandom/following{/other_user}","gists_url":"https://api.github.com/users/durandom/gists{/gist_id}","starred_url":"https://api.github.com/users/durandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durandom/subscriptions","organizations_url":"https://api.github.com/users/durandom/orgs","repos_url":"https://api.github.com/users/durandom/repos","events_url":"https://api.github.com/users/durandom/events{/privacy}","received_events_url":"https://api.github.com/users/durandom/received_events","type":"User","site_admin":false},"body":"shouldnt this go into `app/models/miq_template/operations.rb` ?","created_at":"2016-10-24T12:17:23Z","updated_at":"2016-10-24T12:17:23Z","html_url":"https://github.com/ManageIQ/manageiq/pull/11928#discussion_r84673969","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/84673969"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/11928#discussion_r84673969"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928","id":89274696,"html_url":"https://github.com/ManageIQ/manageiq/pull/11928","diff_url":"https://github.com/ManageIQ/manageiq/pull/11928.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/11928.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11928","number":11928,"state":"open","locked":false,"title":"Refactor validate_clone to supports :clone","user":{"login":"cynepco3hahue","id":4704810,"avatar_url":"https://avatars.githubusercontent.com/u/4704810?v=3","gravatar_id":"","url":"https://api.github.com/users/cynepco3hahue","html_url":"https://github.com/cynepco3hahue","followers_url":"https://api.github.com/users/cynepco3hahue/followers","following_url":"https://api.github.com/users/cynepco3hahue/following{/other_user}","gists_url":"https://api.github.com/users/cynepco3hahue/gists{/gist_id}","starred_url":"https://api.github.com/users/cynepco3hahue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cynepco3hahue/subscriptions","organizations_url":"https://api.github.com/users/cynepco3hahue/orgs","repos_url":"https://api.github.com/users/cynepco3hahue/repos","events_url":"https://api.github.com/users/cynepco3hahue/events{/privacy}","received_events_url":"https://api.github.com/users/cynepco3hahue/received_events","type":"User","site_admin":false},"body":"fix #11737 ","created_at":"2016-10-13T20:19:33Z","updated_at":"2016-10-24T12:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37cd1881aebf6bce69c8d4288711968f64a0e2ce","assignee":{"login":"durandom","id":161888,"avatar_url":"https://avatars.githubusercontent.com/u/161888?v=3","gravatar_id":"","url":"https://api.github.com/users/durandom","html_url":"https://github.com/durandom","followers_url":"https://api.github.com/users/durandom/followers","following_url":"https://api.github.com/users/durandom/following{/other_user}","gists_url":"https://api.github.com/users/durandom/gists{/gist_id}","starred_url":"https://api.github.com/users/durandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durandom/subscriptions","organizations_url":"https://api.github.com/users/durandom/orgs","repos_url":"https://api.github.com/users/durandom/repos","events_url":"https://api.github.com/users/durandom/events{/privacy}","received_events_url":"https://api.github.com/users/durandom/received_events","type":"User","site_admin":false},"assignees":[{"login":"durandom","id":161888,"avatar_url":"https://avatars.githubusercontent.com/u/161888?v=3","gravatar_id":"","url":"https://api.github.com/users/durandom","html_url":"https://github.com/durandom","followers_url":"https://api.github.com/users/durandom/followers","following_url":"https://api.github.com/users/durandom/following{/other_user}","gists_url":"https://api.github.com/users/durandom/gists{/gist_id}","starred_url":"https://api.github.com/users/durandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durandom/subscriptions","organizations_url":"https://api.github.com/users/durandom/orgs","repos_url":"https://api.github.com/users/durandom/repos","events_url":"https://api.github.com/users/durandom/events{/privacy}","received_events_url":"https://api.github.com/users/durandom/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11928/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/a068abf4cc593fe3f15f1fb377715230865809b5","head":{"label":"cynepco3hahue:hacktoberfest_support_clone","ref":"hacktoberfest_support_clone","sha":"a068abf4cc593fe3f15f1fb377715230865809b5","user":{"login":"cynepco3hahue","id":4704810,"avatar_url":"https://avatars.githubusercontent.com/u/4704810?v=3","gravatar_id":"","url":"https://api.github.com/users/cynepco3hahue","html_url":"https://github.com/cynepco3hahue","followers_url":"https://api.github.com/users/cynepco3hahue/followers","following_url":"https://api.github.com/users/cynepco3hahue/following{/other_user}","gists_url":"https://api.github.com/users/cynepco3hahue/gists{/gist_id}","starred_url":"https://api.github.com/users/cynepco3hahue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cynepco3hahue/subscriptions","organizations_url":"https://api.github.com/users/cynepco3hahue/orgs","repos_url":"https://api.github.com/users/cynepco3hahue/repos","events_url":"https://api.github.com/users/cynepco3hahue/events{/privacy}","received_events_url":"https://api.github.com/users/cynepco3hahue/received_events","type":"User","site_admin":false},"repo":{"id":61523946,"name":"manageiq","full_name":"cynepco3hahue/manageiq","owner":{"login":"cynepco3hahue","id":4704810,"avatar_url":"https://avatars.githubusercontent.com/u/4704810?v=3","gravatar_id":"","url":"https://api.github.com/users/cynepco3hahue","html_url":"https://github.com/cynepco3hahue","followers_url":"https://api.github.com/users/cynepco3hahue/followers","following_url":"https://api.github.com/users/cynepco3hahue/following{/other_user}","gists_url":"https://api.github.com/users/cynepco3hahue/gists{/gist_id}","starred_url":"https://api.github.com/users/cynepco3hahue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cynepco3hahue/subscriptions","organizations_url":"https://api.github.com/users/cynepco3hahue/orgs","repos_url":"https://api.github.com/users/cynepco3hahue/repos","events_url":"https://api.github.com/users/cynepco3hahue/events{/privacy}","received_events_url":"https://api.github.com/users/cynepco3hahue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cynepco3hahue/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/cynepco3hahue/manageiq","forks_url":"https://api.github.com/repos/cynepco3hahue/manageiq/forks","keys_url":"https://api.github.com/repos/cynepco3hahue/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cynepco3hahue/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cynepco3hahue/manageiq/teams","hooks_url":"https://api.github.com/repos/cynepco3hahue/manageiq/hooks","issue_events_url":"https://api.github.com/repos/cynepco3hahue/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/cynepco3hahue/manageiq/events","assignees_url":"https://api.github.com/repos/cynepco3hahue/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/cynepco3hahue/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/cynepco3hahue/manageiq/tags","blobs_url":"https://api.github.com/repos/cynepco3hahue/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cynepco3hahue/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cynepco3hahue/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/cynepco3hahue/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cynepco3hahue/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/cynepco3hahue/manageiq/languages","stargazers_url":"https://api.github.com/repos/cynepco3hahue/manageiq/stargazers","contributors_url":"https://api.github.com/repos/cynepco3hahue/manageiq/contributors","subscribers_url":"https://api.github.com/repos/cynepco3hahue/manageiq/subscribers","subscription_url":"https://api.github.com/repos/cynepco3hahue/manageiq/subscription","commits_url":"https://api.github.com/repos/cynepco3hahue/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/cynepco3hahue/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/cynepco3hahue/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/cynepco3hahue/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/cynepco3hahue/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/cynepco3hahue/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cynepco3hahue/manageiq/merges","archive_url":"https://api.github.com/repos/cynepco3hahue/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cynepco3hahue/manageiq/downloads","issues_url":"https://api.github.com/repos/cynepco3hahue/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/cynepco3hahue/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/cynepco3hahue/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/cynepco3hahue/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cynepco3hahue/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/cynepco3hahue/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/cynepco3hahue/manageiq/deployments","created_at":"2016-06-20T06:59:49Z","updated_at":"2016-06-20T07:00:10Z","pushed_at":"2016-10-24T10:14:33Z","git_url":"git://github.com/cynepco3hahue/manageiq.git","ssh_url":"git@github.com:cynepco3hahue/manageiq.git","clone_url":"https://github.com/cynepco3hahue/manageiq.git","svn_url":"https://github.com/cynepco3hahue/manageiq","homepage":"manageiq.org","size":165097,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ManageIQ:master","ref":"master","sha":"0ec10f920359cd3ccde9aeacf2a6a6e9b9b8b109","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Open-Source Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-10-22T19:11:09Z","pushed_at":"2016-10-24T12:12:21Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":215538,"stargazers_count":340,"watchers_count":340,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":371,"mirror_url":null,"open_issues_count":838,"forks":371,"open_issues":838,"watchers":340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/11928"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/11928"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/11928/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11928/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/a068abf4cc593fe3f15f1fb377715230865809b5"}}}}
{"actor":{"display_login":"durandom"}}