{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/11355","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/11355/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/11355/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/11355/events","html_url":"https://github.com/openshift/origin/pull/11355","id":182772207,"number":11355,"title":"oc cluster console","user":{"login":"Ladicek","id":480590,"avatar_url":"https://avatars.githubusercontent.com/u/480590?v=3","gravatar_id":"","url":"https://api.github.com/users/Ladicek","html_url":"https://github.com/Ladicek","followers_url":"https://api.github.com/users/Ladicek/followers","following_url":"https://api.github.com/users/Ladicek/following{/other_user}","gists_url":"https://api.github.com/users/Ladicek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ladicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ladicek/subscriptions","organizations_url":"https://api.github.com/users/Ladicek/orgs","repos_url":"https://api.github.com/users/Ladicek/repos","events_url":"https://api.github.com/users/Ladicek/events{/privacy}","received_events_url":"https://api.github.com/users/Ladicek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"assignees":[{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},{"login":"jwforres","id":1467629,"avatar_url":"https://avatars.githubusercontent.com/u/1467629?v=3","gravatar_id":"","url":"https://api.github.com/users/jwforres","html_url":"https://github.com/jwforres","followers_url":"https://api.github.com/users/jwforres/followers","following_url":"https://api.github.com/users/jwforres/following{/other_user}","gists_url":"https://api.github.com/users/jwforres/gists{/gist_id}","starred_url":"https://api.github.com/users/jwforres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwforres/subscriptions","organizations_url":"https://api.github.com/users/jwforres/orgs","repos_url":"https://api.github.com/users/jwforres/repos","events_url":"https://api.github.com/users/jwforres/events{/privacy}","received_events_url":"https://api.github.com/users/jwforres/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-10-13T12:10:04Z","updated_at":"2016-10-14T21:34:48Z","closed_at":"2016-10-14T21:34:48Z","pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/11355","html_url":"https://github.com/openshift/origin/pull/11355","diff_url":"https://github.com/openshift/origin/pull/11355.diff","patch_url":"https://github.com/openshift/origin/pull/11355.patch"},"body":"This PR adds a new command `oc cluster console` that opens the OpenShift web console of the local cluster in a web browser, or just provides the URL. It's merely for convenience. The idea was stolen from @jimmidyson's Minishift.\r\n\r\nThis is my first attempt at a contribution to OpenShift, so please forgive me (and warn me) if I'm doing something wrong. It's also the first piece of code I wrote in Go, so if I'm doing something wrong on that side, I'd be happy to fix it.\r\n\r\nAll that said:\r\n1. I understand that I'm adding new visible feature to a fairly exposed part of code, with no previous discussion etc. I'd be happy to iterate on design, if needed.\r\n2. I realize that I didn't add any tests. If you could point me to an example in the existing codebase that I could copy, I'd be happy to add some tests too.\r\n3. I know that I'm adding yet another dependency. It's really small, though; I believe footprint shouldn't be a problem. I'm not sure if I added the dependency correctly -- fighting with `godep` actually took me a lot more time than writing the code itself.\r\n\r\nDisclosure: I do work for Red Hat, but I'm _not_ on the OpenShift team."},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/253925297","html_url":"https://github.com/openshift/origin/pull/11355#issuecomment-253925297","issue_url":"https://api.github.com/repos/openshift/origin/issues/11355","id":253925297,"user":{"login":"Ladicek","id":480590,"avatar_url":"https://avatars.githubusercontent.com/u/480590?v=3","gravatar_id":"","url":"https://api.github.com/users/Ladicek","html_url":"https://github.com/Ladicek","followers_url":"https://api.github.com/users/Ladicek/followers","following_url":"https://api.github.com/users/Ladicek/following{/other_user}","gists_url":"https://api.github.com/users/Ladicek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ladicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ladicek/subscriptions","organizations_url":"https://api.github.com/users/Ladicek/orgs","repos_url":"https://api.github.com/users/Ladicek/repos","events_url":"https://api.github.com/users/Ladicek/events{/privacy}","received_events_url":"https://api.github.com/users/Ladicek/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T21:34:48Z","updated_at":"2016-10-14T21:34:48Z","body":"While I still very much like the convenience, I can see now why it's not necessarily the best idea. Thanks all."}}
{"actor":{"display_login":"Ladicek"}}