{"action":"created","comment":{"url":"https://api.github.com/repos/redhat-developer/odo/pulls/comments/230116222","pull_request_review_id":170779622,"id":230116222,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDExNjIyMg==","diff_hunk":"@@ -45,10 +48,23 @@ var pushCmd = &cobra.Command{\n \t\t\tinputName = args[0]\n \t\t}\n \t\tcomponentName := odoutil.GetComponent(client, inputName, applicationName)\n-\t\tfmt.Printf(\"Pushing changes to component: %v\\n\", componentName)\n+\n+\t\tutil.LogNamef(\"Component: %s\", componentName)\n+\n+\t\tutil.LogProgressf(\"%v: Pushing changes to component\", componentName)\n \n \t\tsourceType, sourcePath, err := component.GetComponentSource(client, componentName, applicationName)\n \t\todoutil.CheckError(err, \"unable to get component source\")\n+\n+\t\tutil.LogProgressf(\"%s: Building component\", componentName)\n+\n+\t\t// Building component message / spinner\n+\t\ts := spinner.New(spinner.CharSets[9], 100*time.Millisecond)\n+\t\ts.Color(\"blue\")","path":"cmd/push.go","position":32,"original_position":32,"commit_id":"c52f7d3f95a6b90f241f5dc6fe9e490377c750e2","original_commit_id":"c52f7d3f95a6b90f241f5dc6fe9e490377c750e2","user":{"login":"golangcibot","id":42910462,"node_id":"MDQ6VXNlcjQyOTEwNDYy","avatar_url":"https://avatars1.githubusercontent.com/u/42910462?v=4","gravatar_id":"","url":"https://api.github.com/users/golangcibot","html_url":"https://github.com/golangcibot","followers_url":"https://api.github.com/users/golangcibot/followers","following_url":"https://api.github.com/users/golangcibot/following{/other_user}","gists_url":"https://api.github.com/users/golangcibot/gists{/gist_id}","starred_url":"https://api.github.com/users/golangcibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golangcibot/subscriptions","organizations_url":"https://api.github.com/users/golangcibot/orgs","repos_url":"https://api.github.com/users/golangcibot/repos","events_url":"https://api.github.com/users/golangcibot/events{/privacy}","received_events_url":"https://api.github.com/users/golangcibot/received_events","type":"User","site_admin":false},"body":"Error return value of `s.Color` is not checked","created_at":"2018-11-01T16:57:34Z","updated_at":"2018-11-01T16:57:34Z","html_url":"https://github.com/redhat-developer/odo/pull/917#discussion_r230116222","pull_request_url":"https://api.github.com/repos/redhat-developer/odo/pulls/917","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/redhat-developer/odo/pulls/comments/230116222"},"html":{"href":"https://github.com/redhat-developer/odo/pull/917#discussion_r230116222"},"pull_request":{"href":"https://api.github.com/repos/redhat-developer/odo/pulls/917"}}},"pull_request":{"url":"https://api.github.com/repos/redhat-developer/odo/pulls/917","id":227687150,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3Njg3MTUw","html_url":"https://github.com/redhat-developer/odo/pull/917","diff_url":"https://github.com/redhat-developer/odo/pull/917.diff","patch_url":"https://github.com/redhat-developer/odo/pull/917.patch","issue_url":"https://api.github.com/repos/redhat-developer/odo/issues/917","number":917,"state":"open","locked":false,"title":"Add colours, improve the UI of pushing and creating.","user":{"login":"cdrage","id":6422176,"node_id":"MDQ6VXNlcjY0MjIxNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6422176?v=4","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"body":"This adds colours to the logging / development experience when creating\nand pushing a component.\n\nThis PR improves the user / developer experience by providing a more\nunified / more feedback approach to deployment.","created_at":"2018-11-01T16:56:34Z","updated_at":"2018-11-01T16:57:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18f30e6ddb9681367f6bc76b2f264cc97c4e87d9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/redhat-developer/odo/pulls/917/commits","review_comments_url":"https://api.github.com/repos/redhat-developer/odo/pulls/917/comments","review_comment_url":"https://api.github.com/repos/redhat-developer/odo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redhat-developer/odo/issues/917/comments","statuses_url":"https://api.github.com/repos/redhat-developer/odo/statuses/c52f7d3f95a6b90f241f5dc6fe9e490377c750e2","head":{"label":"cdrage:update-ui","ref":"update-ui","sha":"c52f7d3f95a6b90f241f5dc6fe9e490377c750e2","user":{"login":"cdrage","id":6422176,"node_id":"MDQ6VXNlcjY0MjIxNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6422176?v=4","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"repo":{"id":126372930,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYzNzI5MzA=","name":"odo","full_name":"cdrage/odo","private":false,"owner":{"login":"cdrage","id":6422176,"node_id":"MDQ6VXNlcjY0MjIxNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6422176?v=4","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cdrage/odo","description":"OpenShift Command line for Developers","fork":true,"url":"https://api.github.com/repos/cdrage/odo","forks_url":"https://api.github.com/repos/cdrage/odo/forks","keys_url":"https://api.github.com/repos/cdrage/odo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdrage/odo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdrage/odo/teams","hooks_url":"https://api.github.com/repos/cdrage/odo/hooks","issue_events_url":"https://api.github.com/repos/cdrage/odo/issues/events{/number}","events_url":"https://api.github.com/repos/cdrage/odo/events","assignees_url":"https://api.github.com/repos/cdrage/odo/assignees{/user}","branches_url":"https://api.github.com/repos/cdrage/odo/branches{/branch}","tags_url":"https://api.github.com/repos/cdrage/odo/tags","blobs_url":"https://api.github.com/repos/cdrage/odo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdrage/odo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdrage/odo/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdrage/odo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdrage/odo/statuses/{sha}","languages_url":"https://api.github.com/repos/cdrage/odo/languages","stargazers_url":"https://api.github.com/repos/cdrage/odo/stargazers","contributors_url":"https://api.github.com/repos/cdrage/odo/contributors","subscribers_url":"https://api.github.com/repos/cdrage/odo/subscribers","subscription_url":"https://api.github.com/repos/cdrage/odo/subscription","commits_url":"https://api.github.com/repos/cdrage/odo/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdrage/odo/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdrage/odo/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdrage/odo/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdrage/odo/contents/{+path}","compare_url":"https://api.github.com/repos/cdrage/odo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdrage/odo/merges","archive_url":"https://api.github.com/repos/cdrage/odo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdrage/odo/downloads","issues_url":"https://api.github.com/repos/cdrage/odo/issues{/number}","pulls_url":"https://api.github.com/repos/cdrage/odo/pulls{/number}","milestones_url":"https://api.github.com/repos/cdrage/odo/milestones{/number}","notifications_url":"https://api.github.com/repos/cdrage/odo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdrage/odo/labels{/name}","releases_url":"https://api.github.com/repos/cdrage/odo/releases{/id}","deployments_url":"https://api.github.com/repos/cdrage/odo/deployments","created_at":"2018-03-22T17:36:50Z","updated_at":"2018-10-31T19:58:23Z","pushed_at":"2018-11-01T16:56:59Z","git_url":"git://github.com/cdrage/odo.git","ssh_url":"git@github.com:cdrage/odo.git","clone_url":"https://github.com/cdrage/odo.git","svn_url":"https://github.com/cdrage/odo","homepage":"","size":111118,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"redhat-developer:master","ref":"master","sha":"6eb4f6d1e554da36a4fbb10f2cebabccb60c72c5","user":{"login":"redhat-developer","id":11033755,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDMzNzU1","avatar_url":"https://avatars0.githubusercontent.com/u/11033755?v=4","gravatar_id":"","url":"https://api.github.com/users/redhat-developer","html_url":"https://github.com/redhat-developer","followers_url":"https://api.github.com/users/redhat-developer/followers","following_url":"https://api.github.com/users/redhat-developer/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer/orgs","repos_url":"https://api.github.com/users/redhat-developer/repos","events_url":"https://api.github.com/users/redhat-developer/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer/received_events","type":"Organization","site_admin":false},"repo":{"id":118630356,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg2MzAzNTY=","name":"odo","full_name":"redhat-developer/odo","private":false,"owner":{"login":"redhat-developer","id":11033755,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDMzNzU1","avatar_url":"https://avatars0.githubusercontent.com/u/11033755?v=4","gravatar_id":"","url":"https://api.github.com/users/redhat-developer","html_url":"https://github.com/redhat-developer","followers_url":"https://api.github.com/users/redhat-developer/followers","following_url":"https://api.github.com/users/redhat-developer/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer/orgs","repos_url":"https://api.github.com/users/redhat-developer/repos","events_url":"https://api.github.com/users/redhat-developer/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/redhat-developer/odo","description":"OpenShift Command line for Developers","fork":false,"url":"https://api.github.com/repos/redhat-developer/odo","forks_url":"https://api.github.com/repos/redhat-developer/odo/forks","keys_url":"https://api.github.com/repos/redhat-developer/odo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redhat-developer/odo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redhat-developer/odo/teams","hooks_url":"https://api.github.com/repos/redhat-developer/odo/hooks","issue_events_url":"https://api.github.com/repos/redhat-developer/odo/issues/events{/number}","events_url":"https://api.github.com/repos/redhat-developer/odo/events","assignees_url":"https://api.github.com/repos/redhat-developer/odo/assignees{/user}","branches_url":"https://api.github.com/repos/redhat-developer/odo/branches{/branch}","tags_url":"https://api.github.com/repos/redhat-developer/odo/tags","blobs_url":"https://api.github.com/repos/redhat-developer/odo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redhat-developer/odo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redhat-developer/odo/git/refs{/sha}","trees_url":"https://api.github.com/repos/redhat-developer/odo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redhat-developer/odo/statuses/{sha}","languages_url":"https://api.github.com/repos/redhat-developer/odo/languages","stargazers_url":"https://api.github.com/repos/redhat-developer/odo/stargazers","contributors_url":"https://api.github.com/repos/redhat-developer/odo/contributors","subscribers_url":"https://api.github.com/repos/redhat-developer/odo/subscribers","subscription_url":"https://api.github.com/repos/redhat-developer/odo/subscription","commits_url":"https://api.github.com/repos/redhat-developer/odo/commits{/sha}","git_commits_url":"https://api.github.com/repos/redhat-developer/odo/git/commits{/sha}","comments_url":"https://api.github.com/repos/redhat-developer/odo/comments{/number}","issue_comment_url":"https://api.github.com/repos/redhat-developer/odo/issues/comments{/number}","contents_url":"https://api.github.com/repos/redhat-developer/odo/contents/{+path}","compare_url":"https://api.github.com/repos/redhat-developer/odo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redhat-developer/odo/merges","archive_url":"https://api.github.com/repos/redhat-developer/odo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redhat-developer/odo/downloads","issues_url":"https://api.github.com/repos/redhat-developer/odo/issues{/number}","pulls_url":"https://api.github.com/repos/redhat-developer/odo/pulls{/number}","milestones_url":"https://api.github.com/repos/redhat-developer/odo/milestones{/number}","notifications_url":"https://api.github.com/repos/redhat-developer/odo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redhat-developer/odo/labels{/name}","releases_url":"https://api.github.com/repos/redhat-developer/odo/releases{/id}","deployments_url":"https://api.github.com/repos/redhat-developer/odo/deployments","created_at":"2018-01-23T15:36:17Z","updated_at":"2018-11-01T16:39:32Z","pushed_at":"2018-11-01T16:57:00Z","git_url":"git://github.com/redhat-developer/odo.git","ssh_url":"git@github.com:redhat-developer/odo.git","clone_url":"https://github.com/redhat-developer/odo.git","svn_url":"https://github.com/redhat-developer/odo","homepage":"","size":92671,"stargazers_count":262,"watchers_count":262,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":148,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":53,"open_issues":148,"watchers":262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redhat-developer/odo/pulls/917"},"html":{"href":"https://github.com/redhat-developer/odo/pull/917"},"issue":{"href":"https://api.github.com/repos/redhat-developer/odo/issues/917"},"comments":{"href":"https://api.github.com/repos/redhat-developer/odo/issues/917/comments"},"review_comments":{"href":"https://api.github.com/repos/redhat-developer/odo/pulls/917/comments"},"review_comment":{"href":"https://api.github.com/repos/redhat-developer/odo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redhat-developer/odo/pulls/917/commits"},"statuses":{"href":"https://api.github.com/repos/redhat-developer/odo/statuses/c52f7d3f95a6b90f241f5dc6fe9e490377c750e2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"golangcibot"}}