{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/comments/34164968","id":34164968,"diff_hunk":"@@ -113,6 +113,25 @@\n           %span.help-block\n             = t('.availability_zone_hint')\n \n+\n+      .form-group\n+      = f.label :disks_roles, t('.disks_roles')\n+\n+      %table.table.table-middle\n+        %thead\n+          %tr\n+            %th.col-sm-3\n+              = t(\".disk_name\")\n+            %th.col-sm-2\n+              = t(\".disk_role\")\n+        %tbody\n+          - @node.disks_roles.each do |disk_name, d|\n+            %tr\n+              %td\n+                = text_field_tag \"disks_roles[#{disk_name}][name]\", disk_name, :class => \"form-control\"\n+              %td\n+                = text_field_tag \"disks_roles[#{disk_name}][role]\", d[\"role\"], :placeholder => t(\".disk_role_undecided\"), :class => \"form-control\"","path":"crowbar_framework/app/views/nodes/_form.html.haml","position":21,"original_position":21,"commit_id":"d15d1f32a85491e29247b8871907208ad88929a5","original_commit_id":"d15d1f32a85491e29247b8871907208ad88929a5","user":{"login":"vuntz","id":1758783,"avatar_url":"https://avatars.githubusercontent.com/u/1758783?v=3","gravatar_id":"","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":"I'd feel more comfortable if that'd be a menu tag so that people can't enter something wrong. Would require a way for barclamps to say they can claim disks, though.","created_at":"2015-07-08T15:58:21Z","updated_at":"2015-07-08T15:58:21Z","html_url":"https://github.com/crowbar/barclamp-crowbar/pull/1306#discussion_r34164968","pull_request_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306","_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/comments/34164968"},"html":{"href":"https://github.com/crowbar/barclamp-crowbar/pull/1306#discussion_r34164968"},"pull_request":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306","id":39483958,"html_url":"https://github.com/crowbar/barclamp-crowbar/pull/1306","diff_url":"https://github.com/crowbar/barclamp-crowbar/pull/1306.diff","patch_url":"https://github.com/crowbar/barclamp-crowbar/pull/1306.patch","issue_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1306","number":1306,"state":"open","locked":false,"title":"[WIP] Disks roles","user":{"login":"jsuchome","id":910000,"avatar_url":"https://avatars.githubusercontent.com/u/910000?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchome","html_url":"https://github.com/jsuchome","followers_url":"https://api.github.com/users/jsuchome/followers","following_url":"https://api.github.com/users/jsuchome/following{/other_user}","gists_url":"https://api.github.com/users/jsuchome/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchome/subscriptions","organizations_url":"https://api.github.com/users/jsuchome/orgs","repos_url":"https://api.github.com/users/jsuchome/repos","events_url":"https://api.github.com/users/jsuchome/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchome/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-08T14:38:16Z","updated_at":"2015-07-08T15:58:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb66136fd96ea9541f774e0abb4ef164e9c277a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306/commits","review_comments_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306/comments","review_comment_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1306/comments","statuses_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/statuses/d15d1f32a85491e29247b8871907208ad88929a5","head":{"label":"jsuchome:disks_roles","ref":"disks_roles","sha":"d15d1f32a85491e29247b8871907208ad88929a5","user":{"login":"jsuchome","id":910000,"avatar_url":"https://avatars.githubusercontent.com/u/910000?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchome","html_url":"https://github.com/jsuchome","followers_url":"https://api.github.com/users/jsuchome/followers","following_url":"https://api.github.com/users/jsuchome/following{/other_user}","gists_url":"https://api.github.com/users/jsuchome/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchome/subscriptions","organizations_url":"https://api.github.com/users/jsuchome/orgs","repos_url":"https://api.github.com/users/jsuchome/repos","events_url":"https://api.github.com/users/jsuchome/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchome/received_events","type":"User","site_admin":false},"repo":{"id":37847877,"name":"barclamp-crowbar","full_name":"jsuchome/barclamp-crowbar","owner":{"login":"jsuchome","id":910000,"avatar_url":"https://avatars.githubusercontent.com/u/910000?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchome","html_url":"https://github.com/jsuchome","followers_url":"https://api.github.com/users/jsuchome/followers","following_url":"https://api.github.com/users/jsuchome/following{/other_user}","gists_url":"https://api.github.com/users/jsuchome/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchome/subscriptions","organizations_url":"https://api.github.com/users/jsuchome/orgs","repos_url":"https://api.github.com/users/jsuchome/repos","events_url":"https://api.github.com/users/jsuchome/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchome/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsuchome/barclamp-crowbar","description":"Crowbar Core: Core Application","fork":true,"url":"https://api.github.com/repos/jsuchome/barclamp-crowbar","forks_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/forks","keys_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/teams","hooks_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/hooks","issue_events_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/issues/events{/number}","events_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/events","assignees_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/assignees{/user}","branches_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/branches{/branch}","tags_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/tags","blobs_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/statuses/{sha}","languages_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/languages","stargazers_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/stargazers","contributors_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/contributors","subscribers_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/subscribers","subscription_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/subscription","commits_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/contents/{+path}","compare_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/merges","archive_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/downloads","issues_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/issues{/number}","pulls_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/pulls{/number}","milestones_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/milestones{/number}","notifications_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/labels{/name}","releases_url":"https://api.github.com/repos/jsuchome/barclamp-crowbar/releases{/id}","created_at":"2015-06-22T09:48:34Z","updated_at":"2015-06-22T09:48:35Z","pushed_at":"2015-07-08T14:56:39Z","git_url":"git://github.com/jsuchome/barclamp-crowbar.git","ssh_url":"git@github.com:jsuchome/barclamp-crowbar.git","clone_url":"https://github.com/jsuchome/barclamp-crowbar.git","svn_url":"https://github.com/jsuchome/barclamp-crowbar","homepage":"https://github.com/crowbar/crowbar","size":34505,"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":"crowbar:master","ref":"master","sha":"5859b45967097e903bd9af7b1ff2761f3b284096","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","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":2351384,"name":"barclamp-crowbar","full_name":"crowbar/barclamp-crowbar","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","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-crowbar","description":"Crowbar Core: Core Application","fork":false,"url":"https://api.github.com/repos/crowbar/barclamp-crowbar","forks_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/forks","keys_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/teams","hooks_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/hooks","issue_events_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/events","assignees_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/tags","blobs_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/languages","stargazers_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/stargazers","contributors_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/contributors","subscribers_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/subscribers","subscription_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/subscription","commits_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/merges","archive_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/downloads","issues_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/releases{/id}","created_at":"2011-09-08T20:47:56Z","updated_at":"2015-06-22T23:56:07Z","pushed_at":"2015-07-08T14:56:40Z","git_url":"git://github.com/crowbar/barclamp-crowbar.git","ssh_url":"git@github.com:crowbar/barclamp-crowbar.git","clone_url":"https://github.com/crowbar/barclamp-crowbar.git","svn_url":"https://github.com/crowbar/barclamp-crowbar","homepage":"https://github.com/crowbar/crowbar","size":40379,"stargazers_count":74,"watchers_count":74,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":191,"mirror_url":null,"open_issues_count":16,"forks":191,"open_issues":16,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306"},"html":{"href":"https://github.com/crowbar/barclamp-crowbar/pull/1306"},"issue":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1306"},"comments":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1306/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1306/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/statuses/d15d1f32a85491e29247b8871907208ad88929a5"}}}}