{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/comments/48936752","id":48936752,"diff_hunk":"@@ -18,7 +18,7 @@\n       = render :partial => \"show_barclamps\"\n       = render :partial => \"show_roles\"\n \n-  - if @node.bmc_set? or not @node.admin?\n+  - if (@node.bmc_set? or not @node.admin?) && @node.state != \"crowbar-upgrade\"","path":"crowbar_framework/app/views/nodes/_show.html.haml","position":5,"original_position":5,"commit_id":"c90a4186c086d2d3f7e017fab62207eb3f32b7c3","original_commit_id":"c90a4186c086d2d3f7e017fab62207eb3f32b7c3","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":"Stupid question, but why?","created_at":"2016-01-06T08:40:18Z","updated_at":"2016-01-06T08:40:18Z","html_url":"https://github.com/crowbar/barclamp-crowbar/pull/1358#discussion_r48936752","pull_request_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358","_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/comments/48936752"},"html":{"href":"https://github.com/crowbar/barclamp-crowbar/pull/1358#discussion_r48936752"},"pull_request":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358","id":53809235,"html_url":"https://github.com/crowbar/barclamp-crowbar/pull/1358","diff_url":"https://github.com/crowbar/barclamp-crowbar/pull/1358.diff","patch_url":"https://github.com/crowbar/barclamp-crowbar/pull/1358.patch","issue_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1358","number":1358,"state":"open","locked":false,"title":"Implement upgrade state for nodes","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":"Implement a state to mark nodes ready for upgrades. Also make that\r\nstate visible in the UI\r\n\r\n(cherry picked from commit fc6254958cdb9e31c5a082c88067cb268033cec1)","created_at":"2015-12-16T07:54:41Z","updated_at":"2016-01-06T08:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edf679f8e859dbc112962d0cface04caa146f14a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358/commits","review_comments_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358/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/1358/comments","statuses_url":"https://api.github.com/repos/crowbar/barclamp-crowbar/statuses/c90a4186c086d2d3f7e017fab62207eb3f32b7c3","head":{"label":"jsuchome:upgrade-cloud6","ref":"upgrade-cloud6","sha":"c90a4186c086d2d3f7e017fab62207eb3f32b7c3","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-12-23T16:36:09Z","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":34483,"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:release/tex/master","ref":"release/tex/master","sha":"96d12453cf5e9e99df06a7a9a81e72c76a1149f2","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-11-05T04:53:13Z","pushed_at":"2016-01-05T13:01:46Z","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":36058,"stargazers_count":75,"watchers_count":75,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":184,"mirror_url":null,"open_issues_count":8,"forks":184,"open_issues":8,"watchers":75,"default_branch":"release/tex/master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358"},"html":{"href":"https://github.com/crowbar/barclamp-crowbar/pull/1358"},"issue":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1358"},"comments":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/issues/1358/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/pulls/1358/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/1358/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/barclamp-crowbar/statuses/c90a4186c086d2d3f7e017fab62207eb3f32b7c3"}}}}