{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/10061","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/10061/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10061/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/10061/events","html_url":"https://github.com/openshift/origin/pull/10061","id":167927608,"number":10061,"title":"Add builds/status and buildconfigs/status subresource","user":{"login":"csrwng","id":5834976,"avatar_url":"https://avatars.githubusercontent.com/u/5834976?v=3","gravatar_id":"","url":"https://api.github.com/users/csrwng","html_url":"https://github.com/csrwng","followers_url":"https://api.github.com/users/csrwng/followers","following_url":"https://api.github.com/users/csrwng/following{/other_user}","gists_url":"https://api.github.com/users/csrwng/gists{/gist_id}","starred_url":"https://api.github.com/users/csrwng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csrwng/subscriptions","organizations_url":"https://api.github.com/users/csrwng/orgs","repos_url":"https://api.github.com/users/csrwng/repos","events_url":"https://api.github.com/users/csrwng/events{/privacy}","received_events_url":"https://api.github.com/users/csrwng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/needs-api-review","name":"needs-api-review","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-27T18:48:45Z","updated_at":"2016-07-30T18:15:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10061","html_url":"https://github.com/openshift/origin/pull/10061","diff_url":"https://github.com/openshift/origin/pull/10061.diff","patch_url":"https://github.com/openshift/origin/pull/10061.patch"},"body":"Introduces 2 new subresources for builds and buildconfigs\r\n- builds/status\r\n- buildconfigs/status\r\n\r\nFor builds, any modifications to the build.Status struct should now be done through the builds/status subresource, with the exception of the build.Status.Cancelled flag. That flag can still be modified through the regular builds resource. Modifications to the build.Spec can only be done through the builds resource.\r\n\r\nFor buildConfigs, modifications to the buildconfig.Status struct are now only allowed through the buildconfigs/status subresource. Modifications to the buildconfig.Spec struct are only allowed through the buildconfigs resource with the exception of changes to the buildconfig.Spec.Triggers[x].ImageChange.LastImageID field. That field can be modified through the buildconfigs/status subresource.\r\n\r\nThe intent of these changes is to separate the use cases for regular updates vs status updates. In general, only the system (controllers, API server) should be allowed to change the status of an object. And only users should be allowed to change the Spec of the object. In the case of builds, a build should generally be immutable from a regular user's perspective. The exception to this is the cancel operation.\r\n\r\nThe build controller service account no longer needs to have create permission on the builds/source, builds/docker, builds/custom subresources because it only needs to do builds/status updates.\r\n\r\nFixes https://github.com/openshift/origin/issues/6886"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/236380705","html_url":"https://github.com/openshift/origin/pull/10061#issuecomment-236380705","issue_url":"https://api.github.com/repos/openshift/origin/issues/10061","id":236380705,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T18:15:15Z","updated_at":"2016-07-30T18:15:15Z","body":"continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7207/)"}}
{"actor":{"display_login":"openshift-bot"}}