{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/19355","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/19355/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/19355/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/19355/events","html_url":"https://github.com/openshift/origin/pull/19355","id":314422044,"number":19355,"title":"Distinguish warning message between --build-loglevel and --env with binary builds","user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"labels":[{"id":640548301,"url":"https://api.github.com/repos/openshift/origin/labels/size/M","name":"size/M","color":"eebb00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-15T14:49:51Z","updated_at":"2018-04-16T03:03:01Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/19355","html_url":"https://github.com/openshift/origin/pull/19355","diff_url":"https://github.com/openshift/origin/pull/19355.diff","patch_url":"https://github.com/openshift/origin/pull/19355.patch"},"body":"Currently `--build-loglevel` with binary build outputs warning as\r\n\"Specifyinig environment variables is not supported\". It is difficult\r\nto find out why `--build-loglevel` option causes this warning.\r\n\r\nThis patch changes the warning message to `--build-loglevel` so that\r\nit makes clear.\r\n\r\nBefore:\r\n```\r\n$ oc start-build --build-loglevel=3 myapp --from-dir=\".\" --follow\r\nWARNING: Specifying environment variables with binary builds is not supported.\r\n```\r\n\r\nAfter:\r\n```\r\n$ oc start-build --build-loglevel=3 myapp --from-dir=\".\" --follow\r\nWARNING: Specifying --build-loglevel with binary builds is not supported.\r\nUploading directory \".\" as binary input for the build ...\r\n\r\n$ _output/local/bin/linux/amd64/oc start-build  myapp --from-dir=\".\" --follow -e foo=bar\r\nWARNING: Specifying environment variables with binary builds is not supported.\r\nUploading directory \".\" as binary input for the build ...\r\n\r\n$ _output/local/bin/linux/amd64/oc start-build  myapp --from-dir=\".\" --follow -e foo=bar --build-loglevel=5\r\nWARNING: Specifying --build-loglevel with binary builds is not supported.\r\nWARNING: Specifying environment variables with binary builds is not supported.\r\nUploading directory \".\" as binary input for the build ...\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/381467158","html_url":"https://github.com/openshift/origin/pull/19355#issuecomment-381467158","issue_url":"https://api.github.com/repos/openshift/origin/issues/19355","id":381467158,"user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars2.githubusercontent.com/u/2138339?v=4","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T03:03:01Z","updated_at":"2018-04-16T03:03:01Z","author_association":"CONTRIBUTOR","body":"/test extended_builds"}}
{"actor":{"display_login":"nak3"}}