{"action":"created","comment":{"url":"https://api.github.com/repos/ryansb/ofCourse/pulls/comments/27512696","id":27512696,"diff_hunk":"@@ -177,6 +178,8 @@ def openshift(verbose, app, user):\n             cfg.write(token)\n \n     api = get_api(token)\n+    if not domain:\n+        domain = api.domain_get()[1]","path":"ofcourse/cli/__init__.py","position":24,"original_position":24,"commit_id":"095520edb6c56c1f3ecfe5e7040cb847d9d44152","original_commit_id":"095520edb6c56c1f3ecfe5e7040cb847d9d44152","user":{"login":"msoucy","id":1126295,"avatar_url":"https://avatars.githubusercontent.com/u/1126295?v=3","gravatar_id":"","url":"https://api.github.com/users/msoucy","html_url":"https://github.com/msoucy","followers_url":"https://api.github.com/users/msoucy/followers","following_url":"https://api.github.com/users/msoucy/following{/other_user}","gists_url":"https://api.github.com/users/msoucy/gists{/gist_id}","starred_url":"https://api.github.com/users/msoucy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msoucy/subscriptions","organizations_url":"https://api.github.com/users/msoucy/orgs","repos_url":"https://api.github.com/users/msoucy/repos","events_url":"https://api.github.com/users/msoucy/events{/privacy}","received_events_url":"https://api.github.com/users/msoucy/received_events","type":"User","site_admin":false},"body":"Gets default domain","created_at":"2015-03-31T19:14:03Z","updated_at":"2015-03-31T19:14:03Z","html_url":"https://github.com/ryansb/ofCourse/pull/45#discussion_r27512696","pull_request_url":"https://api.github.com/repos/ryansb/ofCourse/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/ryansb/ofCourse/pulls/comments/27512696"},"html":{"href":"https://github.com/ryansb/ofCourse/pull/45#discussion_r27512696"},"pull_request":{"href":"https://api.github.com/repos/ryansb/ofCourse/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/ryansb/ofCourse/pulls/45","id":32352883,"html_url":"https://github.com/ryansb/ofCourse/pull/45","diff_url":"https://github.com/ryansb/ofCourse/pull/45.diff","patch_url":"https://github.com/ryansb/ofCourse/pull/45.patch","issue_url":"https://api.github.com/repos/ryansb/ofCourse/issues/45","number":45,"state":"open","locked":false,"title":"Openshift deployment now supports different domains","user":{"login":"liam-middlebrook","id":3920942,"avatar_url":"https://avatars.githubusercontent.com/u/3920942?v=3","gravatar_id":"","url":"https://api.github.com/users/liam-middlebrook","html_url":"https://github.com/liam-middlebrook","followers_url":"https://api.github.com/users/liam-middlebrook/followers","following_url":"https://api.github.com/users/liam-middlebrook/following{/other_user}","gists_url":"https://api.github.com/users/liam-middlebrook/gists{/gist_id}","starred_url":"https://api.github.com/users/liam-middlebrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liam-middlebrook/subscriptions","organizations_url":"https://api.github.com/users/liam-middlebrook/orgs","repos_url":"https://api.github.com/users/liam-middlebrook/repos","events_url":"https://api.github.com/users/liam-middlebrook/events{/privacy}","received_events_url":"https://api.github.com/users/liam-middlebrook/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-03-31T18:46:35Z","updated_at":"2015-03-31T19:14:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4381b411f0c3f05c9717a5891782f5c227c4ac88","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ryansb/ofCourse/pulls/45/commits","review_comments_url":"https://api.github.com/repos/ryansb/ofCourse/pulls/45/comments","review_comment_url":"https://api.github.com/repos/ryansb/ofCourse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryansb/ofCourse/issues/45/comments","statuses_url":"https://api.github.com/repos/ryansb/ofCourse/statuses/095520edb6c56c1f3ecfe5e7040cb847d9d44152","head":{"label":"liam-middlebrook:openshift-domain","ref":"openshift-domain","sha":"095520edb6c56c1f3ecfe5e7040cb847d9d44152","user":{"login":"liam-middlebrook","id":3920942,"avatar_url":"https://avatars.githubusercontent.com/u/3920942?v=3","gravatar_id":"","url":"https://api.github.com/users/liam-middlebrook","html_url":"https://github.com/liam-middlebrook","followers_url":"https://api.github.com/users/liam-middlebrook/followers","following_url":"https://api.github.com/users/liam-middlebrook/following{/other_user}","gists_url":"https://api.github.com/users/liam-middlebrook/gists{/gist_id}","starred_url":"https://api.github.com/users/liam-middlebrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liam-middlebrook/subscriptions","organizations_url":"https://api.github.com/users/liam-middlebrook/orgs","repos_url":"https://api.github.com/users/liam-middlebrook/repos","events_url":"https://api.github.com/users/liam-middlebrook/events{/privacy}","received_events_url":"https://api.github.com/users/liam-middlebrook/received_events","type":"User","site_admin":false},"repo":{"id":27023505,"name":"ofCourse","full_name":"liam-middlebrook/ofCourse","owner":{"login":"liam-middlebrook","id":3920942,"avatar_url":"https://avatars.githubusercontent.com/u/3920942?v=3","gravatar_id":"","url":"https://api.github.com/users/liam-middlebrook","html_url":"https://github.com/liam-middlebrook","followers_url":"https://api.github.com/users/liam-middlebrook/followers","following_url":"https://api.github.com/users/liam-middlebrook/following{/other_user}","gists_url":"https://api.github.com/users/liam-middlebrook/gists{/gist_id}","starred_url":"https://api.github.com/users/liam-middlebrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liam-middlebrook/subscriptions","organizations_url":"https://api.github.com/users/liam-middlebrook/orgs","repos_url":"https://api.github.com/users/liam-middlebrook/repos","events_url":"https://api.github.com/users/liam-middlebrook/events{/privacy}","received_events_url":"https://api.github.com/users/liam-middlebrook/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liam-middlebrook/ofCourse","description":"Python courseware leveraging Flask and OpenShift","fork":true,"url":"https://api.github.com/repos/liam-middlebrook/ofCourse","forks_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/forks","keys_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/teams","hooks_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/hooks","issue_events_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/issues/events{/number}","events_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/events","assignees_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/assignees{/user}","branches_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/branches{/branch}","tags_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/tags","blobs_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/statuses/{sha}","languages_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/languages","stargazers_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/stargazers","contributors_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/contributors","subscribers_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/subscribers","subscription_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/subscription","commits_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/contents/{+path}","compare_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/merges","archive_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/downloads","issues_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/issues{/number}","pulls_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/pulls{/number}","milestones_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/milestones{/number}","notifications_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/labels{/name}","releases_url":"https://api.github.com/repos/liam-middlebrook/ofCourse/releases{/id}","created_at":"2014-11-23T05:56:44Z","updated_at":"2015-03-31T18:21:22Z","pushed_at":"2015-03-31T18:59:52Z","git_url":"git://github.com/liam-middlebrook/ofCourse.git","ssh_url":"git@github.com:liam-middlebrook/ofCourse.git","clone_url":"https://github.com/liam-middlebrook/ofCourse.git","svn_url":"https://github.com/liam-middlebrook/ofCourse","homepage":null,"size":7974,"stargazers_count":1,"watchers_count":1,"language":"Makefile","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":1,"default_branch":"develop"}},"base":{"label":"ryansb:develop","ref":"develop","sha":"0d646945c431ca8249edeadc48c482e5bf814dc6","user":{"login":"ryansb","id":636610,"avatar_url":"https://avatars.githubusercontent.com/u/636610?v=3","gravatar_id":"","url":"https://api.github.com/users/ryansb","html_url":"https://github.com/ryansb","followers_url":"https://api.github.com/users/ryansb/followers","following_url":"https://api.github.com/users/ryansb/following{/other_user}","gists_url":"https://api.github.com/users/ryansb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryansb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryansb/subscriptions","organizations_url":"https://api.github.com/users/ryansb/orgs","repos_url":"https://api.github.com/users/ryansb/repos","events_url":"https://api.github.com/users/ryansb/events{/privacy}","received_events_url":"https://api.github.com/users/ryansb/received_events","type":"User","site_admin":false},"repo":{"id":26983050,"name":"ofCourse","full_name":"ryansb/ofCourse","owner":{"login":"ryansb","id":636610,"avatar_url":"https://avatars.githubusercontent.com/u/636610?v=3","gravatar_id":"","url":"https://api.github.com/users/ryansb","html_url":"https://github.com/ryansb","followers_url":"https://api.github.com/users/ryansb/followers","following_url":"https://api.github.com/users/ryansb/following{/other_user}","gists_url":"https://api.github.com/users/ryansb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryansb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryansb/subscriptions","organizations_url":"https://api.github.com/users/ryansb/orgs","repos_url":"https://api.github.com/users/ryansb/repos","events_url":"https://api.github.com/users/ryansb/events{/privacy}","received_events_url":"https://api.github.com/users/ryansb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryansb/ofCourse","description":"Python courseware leveraging Flask and OpenShift","fork":false,"url":"https://api.github.com/repos/ryansb/ofCourse","forks_url":"https://api.github.com/repos/ryansb/ofCourse/forks","keys_url":"https://api.github.com/repos/ryansb/ofCourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryansb/ofCourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryansb/ofCourse/teams","hooks_url":"https://api.github.com/repos/ryansb/ofCourse/hooks","issue_events_url":"https://api.github.com/repos/ryansb/ofCourse/issues/events{/number}","events_url":"https://api.github.com/repos/ryansb/ofCourse/events","assignees_url":"https://api.github.com/repos/ryansb/ofCourse/assignees{/user}","branches_url":"https://api.github.com/repos/ryansb/ofCourse/branches{/branch}","tags_url":"https://api.github.com/repos/ryansb/ofCourse/tags","blobs_url":"https://api.github.com/repos/ryansb/ofCourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryansb/ofCourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryansb/ofCourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryansb/ofCourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryansb/ofCourse/statuses/{sha}","languages_url":"https://api.github.com/repos/ryansb/ofCourse/languages","stargazers_url":"https://api.github.com/repos/ryansb/ofCourse/stargazers","contributors_url":"https://api.github.com/repos/ryansb/ofCourse/contributors","subscribers_url":"https://api.github.com/repos/ryansb/ofCourse/subscribers","subscription_url":"https://api.github.com/repos/ryansb/ofCourse/subscription","commits_url":"https://api.github.com/repos/ryansb/ofCourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryansb/ofCourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryansb/ofCourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryansb/ofCourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryansb/ofCourse/contents/{+path}","compare_url":"https://api.github.com/repos/ryansb/ofCourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryansb/ofCourse/merges","archive_url":"https://api.github.com/repos/ryansb/ofCourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryansb/ofCourse/downloads","issues_url":"https://api.github.com/repos/ryansb/ofCourse/issues{/number}","pulls_url":"https://api.github.com/repos/ryansb/ofCourse/pulls{/number}","milestones_url":"https://api.github.com/repos/ryansb/ofCourse/milestones{/number}","notifications_url":"https://api.github.com/repos/ryansb/ofCourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryansb/ofCourse/labels{/name}","releases_url":"https://api.github.com/repos/ryansb/ofCourse/releases{/id}","created_at":"2014-11-21T23:58:56Z","updated_at":"2015-03-31T12:29:31Z","pushed_at":"2015-03-31T18:59:52Z","git_url":"git://github.com/ryansb/ofCourse.git","ssh_url":"git@github.com:ryansb/ofCourse.git","clone_url":"https://github.com/ryansb/ofCourse.git","svn_url":"https://github.com/ryansb/ofCourse","homepage":null,"size":8447,"stargazers_count":8,"watchers_count":8,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":16,"forks":7,"open_issues":16,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ryansb/ofCourse/pulls/45"},"html":{"href":"https://github.com/ryansb/ofCourse/pull/45"},"issue":{"href":"https://api.github.com/repos/ryansb/ofCourse/issues/45"},"comments":{"href":"https://api.github.com/repos/ryansb/ofCourse/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/ryansb/ofCourse/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/ryansb/ofCourse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryansb/ofCourse/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/ryansb/ofCourse/statuses/095520edb6c56c1f3ecfe5e7040cb847d9d44152"}}}}