{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/45984835","id":45984835,"diff_hunk":"@@ -20,125 +21,126 @@ USE_IMAGES=${USE_IMAGES:-$defaultimage}\n \n # This test validates images and image streams along with the tag and import-image commands\n \n-oc get images\n-oc create -f test/integration/fixtures/test-image.json\n-oc delete images test\n+os::cmd::expect_success 'oc get images'\n+os::cmd::expect_success 'oc create -f test/integration/fixtures/test-image.json'\n+os::cmd::expect_success 'oc delete images test'\n echo \"images: ok\"\n \n-oc get imageStreams\n-oc create -f test/integration/fixtures/test-image-stream.json\n+os::cmd::expect_success 'oc get imageStreams'\n+os::cmd::expect_success 'oc create -f test/integration/fixtures/test-image-stream.json'\n # verify that creating a registry fills out .status.dockerImageRepository\n-if [ -z \"$(oc get imageStreams test --template=\"{{.status.dockerImageRepository}}\")\" ]; then\n+if os::cmd::expect_success_and_not_text \"oc get imageStreams test --template='{{.status.dockerImageRepository}}'\" '.'; then\n   # create the registry\n-  oadm registry --credentials=\"${KUBECONFIG}\" --images=\"${USE_IMAGES}\" -n default\n+  os::cmd::expect_success \"oadm registry --credentials=${KUBECONFIG} --images='${USE_IMAGES}' -n default\"\n   # make sure stream.status.dockerImageRepository IS set\n-  [ -n \"$(oc get imageStreams test --template=\"{{.status.dockerImageRepository}}\")\" ]\n+  os::cmd::expect_success_and_text \"oc get imageStreams test --template='{{.status.dockerImageRepository}}'\" 'test'\n fi\n-oc delete imageStreams test\n-[ -z \"$(oc get imageStreams test --template=\"{{.status.dockerImageRepository}}\")\" ]\n-\n-oc create -f examples/image-streams/image-streams-centos7.json\n-[ -n \"$(oc get imageStreams ruby --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -n \"$(oc get imageStreams nodejs --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -n \"$(oc get imageStreams wildfly --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -n \"$(oc get imageStreams mysql --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -n \"$(oc get imageStreams postgresql --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -n \"$(oc get imageStreams mongodb --template=\"{{.status.dockerImageRepository}}\")\" ]\n+os::cmd::expect_success 'oc delete imageStreams test'\n+os::cmd::expect_failure 'oc get imageStreams test'\n+\n+os::cmd::expect_success 'oc create -f examples/image-streams/image-streams-centos7.json'\n+os::cmd::expect_success_and_text \"oc get imageStreams ruby --template='{{.status.dockerImageRepository}}'\" 'ruby'\n+os::cmd::expect_success_and_text \"oc get imageStreams nodejs --template='{{.status.dockerImageRepository}}'\" 'nodejs'\n+os::cmd::expect_success_and_text \"oc get imageStreams wildfly --template='{{.status.dockerImageRepository}}'\" 'wildfly'\n+os::cmd::expect_success_and_text \"oc get imageStreams mysql --template='{{.status.dockerImageRepository}}'\" 'mysql'\n+os::cmd::expect_success_and_text \"oc get imageStreams postgresql --template='{{.status.dockerImageRepository}}'\" 'postgresql'\n+os::cmd::expect_success_and_text \"oc get imageStreams mongodb --template='{{.status.dockerImageRepository}}'\" 'mongodb'\n # verify the image repository had its tags populated\n-tryuntil oc get imagestreamtags wildfly:latest\n-[ -n \"$(oc get imageStreams wildfly --template=\"{{ index .metadata.annotations \\\"openshift.io/image.dockerRepositoryCheck\\\"}}\")\" ]\n-oc get istag | grep -q \"wildfly\"\n-oc annotate istag/wildfly:latest foo=bar\n-oc get istag/wildfly:latest -o jsonpath={.metadata.annotations.foo} | grep -q \"bar\"\n-oc annotate istag/wildfly:latest foo-\n-[ ! \"$(oc get istag/wildfly:latest -o jsonpath={.metadata.annotations} | grep -q 'bar')\" ]\n-oc delete imageStreams ruby\n-oc delete imageStreams nodejs\n-oc delete imageStreams wildfly\n-oc delete imageStreams postgresql\n-oc delete imageStreams mongodb\n-[ -z \"$(oc get imageStreams ruby --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -z \"$(oc get imageStreams nodejs --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -z \"$(oc get imageStreams postgresql --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -z \"$(oc get imageStreams mongodb --template=\"{{.status.dockerImageRepository}}\")\" ]\n-[ -z \"$(oc get imageStreams wildfly --template=\"{{.status.dockerImageRepository}}\")\" ]\n-tryuntil oc get imagestreamTags mysql:latest\n-[ -n \"$(oc get imagestreams mysql --template=\"{{ index .metadata.annotations \\\"openshift.io/image.dockerRepositoryCheck\\\"}}\")\" ]\n-oc describe istag/mysql:latest\n-[ \"$(oc describe istag/mysql:latest | grep \"Environment:\")\" ]\n-[ \"$(oc describe istag/mysql:latest | grep \"Image Created:\")\" ]\n-[ \"$(oc describe istag/mysql:latest | grep \"Image Name:\")\" ]\n+os::cmd::try_until_success 'oc get imagestreamtags wildfly:latest'\n+os::cmd::expect_success_and_text \"oc get imageStreams wildfly --template='{{ index .metadata.annotations \\\"openshift.io/image.dockerRepositoryCheck\\\"}}'\" '[0-9]{4}\\-[0-9]{2}\\-[0-9]{2}' # expect a date like YYYY-MM-DD\n+os::cmd::expect_success_and_text 'oc get istag' 'wildfly'\n+os::cmd::expect_success 'oc annotate istag/wildfly:latest foo=bar'\n+os::cmd::expect_success_and_text 'oc get istag/wildfly:latest -o jsonpath={.metadata.annotations.foo}' 'bar'\n+os::cmd::expect_success 'oc annotate istag/wildfly:latest foo-'\n+os::cmd::expect_success_and_not_text 'oc get istag/wildfly:latest -o jsonpath={.metadata.annotations}' 'bar'\n+os::cmd::expect_success 'oc delete imageStreams ruby'\n+os::cmd::expect_success 'oc delete imageStreams nodejs'\n+os::cmd::expect_success 'oc delete imageStreams wildfly'\n+os::cmd::expect_success 'oc delete imageStreams postgresql'\n+os::cmd::expect_success 'oc delete imageStreams mongodb'\n+os::cmd::expect_failure 'oc get imageStreams ruby'\n+os::cmd::expect_failure 'oc get imageStreams nodejs'\n+os::cmd::expect_failure 'oc get imageStreams postgresql'\n+os::cmd::expect_failure 'oc get imageStreams mongodb'\n+os::cmd::expect_failure 'oc get imageStreams wildfly'\n+os::cmd::try_until_success 'oc get imagestreamTags mysql:5.5'\n+os::cmd::try_until_success 'oc get imagestreamTags mysql:5.6'\n+os::cmd::expect_success_and_text \"oc get imagestreams mysql --template='{{ index .metadata.annotations \\\"openshift.io/image.dockerRepositoryCheck\\\"}}'\" '[0-9]{4}\\-[0-9]{2}\\-[0-9]{2}' # expect a date like YYYY-MM-DD\n+os::cmd::expect_success 'oc describe istag/mysql:latest'\n+os::cmd::expect_success_and_text 'oc describe istag/mysql:latest' 'Environment:'\n+os::cmd::expect_success_and_text 'oc describe istag/mysql:latest' 'Image Created:'\n+os::cmd::expect_success_and_text 'oc describe istag/mysql:latest' 'Image Name:'\n name=$(oc get istag/mysql:latest --template='{{ .image.metadata.name }}')\n imagename=\"isimage/mysql@${name:0:15}\"\n-oc describe \"${imagename}\"\n-[ \"$(oc describe ${imagename} | grep \"Environment:\")\" ]\n-[ \"$(oc describe ${imagename} | grep \"Image Created:\")\" ]\n-[ \"$(oc describe ${imagename} | grep \"Image Name:\")\" ]\n+os::cmd::expect_success 'oc describe \"${imagename}\"'","path":"test/cmd/images.sh","position":108,"original_position":108,"commit_id":"05f1593d7cb6eb87ab31140d8f482a955fef537d","original_commit_id":"05f1593d7cb6eb87ab31140d8f482a955fef537d","user":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"body":"Do you think I should write up a doc for basic use cases of these commands? Especially when you're passing in something that looks like a bash variable that you don't want to be expanded it isn't the easiest thing to do.","created_at":"2015-11-26T14:50:20Z","updated_at":"2015-11-26T14:50:20Z","html_url":"https://github.com/openshift/origin/pull/6046#discussion_r45984835","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/6046","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/45984835"},"html":{"href":"https://github.com/openshift/origin/pull/6046#discussion_r45984835"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/6046"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/6046","id":51661799,"html_url":"https://github.com/openshift/origin/pull/6046","diff_url":"https://github.com/openshift/origin/pull/6046.diff","patch_url":"https://github.com/openshift/origin/pull/6046.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/6046","number":6046,"state":"open","locked":false,"title":"refactored test/cmd/images to use wrapper methods","user":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"body":"/cc @deads2k\r\n\r\n@ironcladlou  @pweil-  PTAL -- please review and ensure that the expectations (success, failure, with/without text) are correct to what you expected from the tests previously.\r\n\r\nI've tightened the `grep` strings a lot here, and reduced some tests to simpler tests. Anything other than straight wrapper addition has been commented below.\r\n\r\nI have one failing test, unclear why.\r\n","created_at":"2015-11-24T13:53:04Z","updated_at":"2015-11-26T14:50:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52b843ee7ee0d95b761279f6612fef81c09c240b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/6046/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/6046/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/6046/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/05f1593d7cb6eb87ab31140d8f482a955fef537d","head":{"label":"stevekuznetsov:skuznets/refactor-test-cmd-images","ref":"skuznets/refactor-test-cmd-images","sha":"05f1593d7cb6eb87ab31140d8f482a955fef537d","user":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"repo":{"id":35963136,"name":"origin","full_name":"stevekuznetsov/origin","owner":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars.githubusercontent.com/u/7328370?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevekuznetsov/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/stevekuznetsov/origin","forks_url":"https://api.github.com/repos/stevekuznetsov/origin/forks","keys_url":"https://api.github.com/repos/stevekuznetsov/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevekuznetsov/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevekuznetsov/origin/teams","hooks_url":"https://api.github.com/repos/stevekuznetsov/origin/hooks","issue_events_url":"https://api.github.com/repos/stevekuznetsov/origin/issues/events{/number}","events_url":"https://api.github.com/repos/stevekuznetsov/origin/events","assignees_url":"https://api.github.com/repos/stevekuznetsov/origin/assignees{/user}","branches_url":"https://api.github.com/repos/stevekuznetsov/origin/branches{/branch}","tags_url":"https://api.github.com/repos/stevekuznetsov/origin/tags","blobs_url":"https://api.github.com/repos/stevekuznetsov/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevekuznetsov/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevekuznetsov/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevekuznetsov/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevekuznetsov/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/stevekuznetsov/origin/languages","stargazers_url":"https://api.github.com/repos/stevekuznetsov/origin/stargazers","contributors_url":"https://api.github.com/repos/stevekuznetsov/origin/contributors","subscribers_url":"https://api.github.com/repos/stevekuznetsov/origin/subscribers","subscription_url":"https://api.github.com/repos/stevekuznetsov/origin/subscription","commits_url":"https://api.github.com/repos/stevekuznetsov/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevekuznetsov/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevekuznetsov/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevekuznetsov/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevekuznetsov/origin/contents/{+path}","compare_url":"https://api.github.com/repos/stevekuznetsov/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevekuznetsov/origin/merges","archive_url":"https://api.github.com/repos/stevekuznetsov/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevekuznetsov/origin/downloads","issues_url":"https://api.github.com/repos/stevekuznetsov/origin/issues{/number}","pulls_url":"https://api.github.com/repos/stevekuznetsov/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/stevekuznetsov/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/stevekuznetsov/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevekuznetsov/origin/labels{/name}","releases_url":"https://api.github.com/repos/stevekuznetsov/origin/releases{/id}","created_at":"2015-05-20T17:28:25Z","updated_at":"2015-05-20T17:28:28Z","pushed_at":"2015-11-26T01:40:01Z","git_url":"git://github.com/stevekuznetsov/origin.git","ssh_url":"git@github.com:stevekuznetsov/origin.git","clone_url":"https://github.com/stevekuznetsov/origin.git","svn_url":"https://github.com/stevekuznetsov/origin","homepage":"http://www.openshift.org","size":177615,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"3045b206ba45feccafcc12bcc4382fb284504b9b","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","created_at":"2014-07-30T20:04:05Z","updated_at":"2015-11-26T04:56:01Z","pushed_at":"2015-11-26T14:29:11Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":226411,"stargazers_count":835,"watchers_count":835,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":525,"mirror_url":null,"open_issues_count":708,"forks":525,"open_issues":708,"watchers":835,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/6046"},"html":{"href":"https://github.com/openshift/origin/pull/6046"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/6046"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/6046/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/6046/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/6046/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/05f1593d7cb6eb87ab31140d8f482a955fef537d"}}}}