{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/1848","labels_url":"https://api.github.com/repos/openshift/origin/issues/1848/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/1848/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/1848/events","html_url":"https://github.com/openshift/origin/issues/1848","id":69951186,"number":1848,"title":"Build resource should align with upstream v1beta3 conventions","user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T21:00:08Z","updated_at":"2015-04-21T21:03:36Z","closed_at":null,"body":"We should assess if we want to align our Build resource with changes made upstream as part of v1beta3.\r\n\r\nI can see an argument for doing the following:\r\n\r\n1. Modify Build to clearly separate BuildSpec from BuildStatus\r\n2. Place BuildParameters and Config in BuildSpec since these are user modifiable fields\r\n3. Rename current Build.Status to Build.Phase to align with terminology changes upstream\r\n4. Place Build.Phase, Build.Message, Build.StartTimestamp and Build.CompletionTimestamp in BuildStatus since these are fields only modifiable by our build controller\r\n\r\nSeparate API to support updates of BuildSpec separate from BuildStatus so you have\r\n\r\nPUT /build/foo -> updates ObjectMeta and BuildSpec\r\nPUT /build/foo/status -> updates BuildStatus only\r\n\r\nPolicy should only allow the build controller to update BuildStatus\r\n\r\nDiscuss @smarterclayton @bparees @liggitt @deads2k "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/94943110","html_url":"https://github.com/openshift/origin/issues/1848#issuecomment-94943110","issue_url":"https://api.github.com/repos/openshift/origin/issues/1848","id":94943110,"user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T21:03:36Z","updated_at":"2015-04-21T21:03:36Z","body":"Hmm, I may be off here, and I was forgetting about the BuildConfig object being the one more traditionally modified by an end-user.  If that was the case, I am less concerned, but not a huge expert in this area yet."}}