GitHub PullRequestReviewCommentEvent at 2014-08-26 21:38:43
Repository: barclamp-provisioner
Actor: vuntz
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments/16744416","id":16744416,"diff_hunk":"@@ -74,28 +83,49 @@ def get_repos(provisioner_server_node, platform)\n \n         case platform\n         when \"suse\"\n-          repos = suse_get_repos_from_attributes(provisioner_server_node)\n+          repos = Mash.new\n+          repos_from_attrs = suse_get_repos_from_attributes(provisioner_server_node)\n+\n+          case version\n+          when \"11.3\"\n+            repo_names = %w(\n+              SLE-Cloud\n+              SLE-Cloud-PTF\n+              SUSE-Cloud-4-Pool\n+              SUSE-Cloud-4-Updates\n+              SLES11-SP3-Pool\n+              SLES11-SP3-Updates\n+            )\n+          when \"12.0\"\n+            repo_names = %w(\n+              SLES12-Pool\n+              SLES12-Updates","path":"chef/cookbooks/provisioner/libraries/repositories.rb","position":65,"original_position":65,"commit_id":"a356c9ba22d8a69c4729f7cb470fa67f7bd58402","original_commit_id":"a356c9ba22d8a69c4729f7cb470fa67f7bd58402","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=2","gravatar_id":"d7cc6451b64c4351e27db322d114d4aa","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"body":"We don't have them yet :-)","created_at":"2014-08-26T21:38:43Z","updated_at":"2014-08-26T21:38:43Z","html_url":"https://github.com/crowbar/barclamp-provisioner/pull/332#discussion_r16744416","pull_request_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332","_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments/16744416"},"html":{"href":"https://github.com/crowbar/barclamp-provisioner/pull/332#discussion_r16744416"},"pull_request":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332","id":20310896,"html_url":"https://github.com/crowbar/barclamp-provisioner/pull/332","diff_url":"https://github.com/crowbar/barclamp-provisioner/pull/332.diff","patch_url":"https://github.com/crowbar/barclamp-provisioner/pull/332.patch","issue_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/332","number":332,"state":"open","locked":false,"title":"[wip] Initial support for provisioning SLE12 nodes","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=2","gravatar_id":"d7cc6451b64c4351e27db322d114d4aa","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-08-26T14:10:43Z","updated_at":"2014-08-26T21:38:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1da80ad599e0a29c06761484bd7438795478e608","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332/commits","review_comments_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332/comments","review_comment_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments/{number}","comments_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/332/comments","statuses_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/statuses/a356c9ba22d8a69c4729f7cb470fa67f7bd58402","head":{"label":"vuntz:sle12","ref":"sle12","sha":"a356c9ba22d8a69c4729f7cb470fa67f7bd58402","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=2","gravatar_id":"d7cc6451b64c4351e27db322d114d4aa","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"repo":{"id":10261594,"name":"barclamp-provisioner","full_name":"vuntz/barclamp-provisioner","owner":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=2","gravatar_id":"d7cc6451b64c4351e27db322d114d4aa","url":"https://api.github.com/users/vuntz","html_url":"https://github.com/vuntz","followers_url":"https://api.github.com/users/vuntz/followers","following_url":"https://api.github.com/users/vuntz/following{/other_user}","gists_url":"https://api.github.com/users/vuntz/gists{/gist_id}","starred_url":"https://api.github.com/users/vuntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuntz/subscriptions","organizations_url":"https://api.github.com/users/vuntz/orgs","repos_url":"https://api.github.com/users/vuntz/repos","events_url":"https://api.github.com/users/vuntz/events{/privacy}","received_events_url":"https://api.github.com/users/vuntz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vuntz/barclamp-provisioner","description":"Install operating systems on nodes","fork":true,"url":"https://api.github.com/repos/vuntz/barclamp-provisioner","forks_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/forks","keys_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/teams","hooks_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/hooks","issue_events_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/issues/events{/number}","events_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/events","assignees_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/assignees{/user}","branches_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/branches{/branch}","tags_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/tags","blobs_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/statuses/{sha}","languages_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/languages","stargazers_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/stargazers","contributors_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/contributors","subscribers_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/subscribers","subscription_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/subscription","commits_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/issues/comments/{number}","contents_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/contents/{+path}","compare_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/merges","archive_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/downloads","issues_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/issues{/number}","pulls_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/pulls{/number}","milestones_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/milestones{/number}","notifications_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/labels{/name}","releases_url":"https://api.github.com/repos/vuntz/barclamp-provisioner/releases{/id}","created_at":"2013-05-24T07:41:00Z","updated_at":"2014-05-27T10:03:30Z","pushed_at":"2014-08-26T14:10:29Z","git_url":"git://github.com/vuntz/barclamp-provisioner.git","ssh_url":"git@github.com:vuntz/barclamp-provisioner.git","clone_url":"https://github.com/vuntz/barclamp-provisioner.git","svn_url":"https://github.com/vuntz/barclamp-provisioner","homepage":"https://github.com/dellcloudedge/crowbar","size":65096,"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":"crowbar:master","ref":"master","sha":"0586eb25ed0a46b7ff472b907a3bd6c2838246eb","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=2","gravatar_id":"36825f9798aaf5d8795156f057fcf4a4","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":2351609,"name":"barclamp-provisioner","full_name":"crowbar/barclamp-provisioner","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=2","gravatar_id":"36825f9798aaf5d8795156f057fcf4a4","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/barclamp-provisioner","description":"Crowbar Provisioner: Install Operating Systems","fork":false,"url":"https://api.github.com/repos/crowbar/barclamp-provisioner","forks_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/forks","keys_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/teams","hooks_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/hooks","issue_events_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/events","assignees_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/tags","blobs_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/languages","stargazers_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/stargazers","contributors_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/contributors","subscribers_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/subscribers","subscription_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/subscription","commits_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/comments/{number}","contents_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/merges","archive_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/downloads","issues_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/barclamp-provisioner/releases{/id}","created_at":"2011-09-08T21:20:51Z","updated_at":"2014-07-09T11:45:09Z","pushed_at":"2014-08-25T07:21:37Z","git_url":"git://github.com/crowbar/barclamp-provisioner.git","ssh_url":"git@github.com:crowbar/barclamp-provisioner.git","clone_url":"https://github.com/crowbar/barclamp-provisioner.git","svn_url":"https://github.com/crowbar/barclamp-provisioner","homepage":"https://github.com/crowbar/crowbar","size":66939,"stargazers_count":61,"watchers_count":61,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":184,"mirror_url":null,"open_issues_count":5,"forks":184,"open_issues":5,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332"},"html":{"href":"https://github.com/crowbar/barclamp-provisioner/pull/332"},"issue":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/332"},"comments":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/barclamp-provisioner/statuses/a356c9ba22d8a69c4729f7cb470fa67f7bd58402"}}}}