{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/7128","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/7128/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/7128/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/7128/events","html_url":"https://github.com/openshift/origin/pull/7128","id":132196551,"number":7128,"title":"Repository and image quota support","user":{"login":"miminar","id":1478803,"avatar_url":"https://avatars.githubusercontent.com/u/1478803?v=3","gravatar_id":"","url":"https://api.github.com/users/miminar","html_url":"https://github.com/miminar","followers_url":"https://api.github.com/users/miminar/followers","following_url":"https://api.github.com/users/miminar/following{/other_user}","gists_url":"https://api.github.com/users/miminar/gists{/gist_id}","starred_url":"https://api.github.com/users/miminar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miminar/subscriptions","organizations_url":"https://api.github.com/users/miminar/orgs","repos_url":"https://api.github.com/users/miminar/repos","events_url":"https://api.github.com/users/miminar/events{/privacy}","received_events_url":"https://api.github.com/users/miminar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2016-02-08T16:53:30Z","updated_at":"2016-02-18T17:46:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/7128","html_url":"https://github.com/openshift/origin/pull/7128","diff_url":"https://github.com/openshift/origin/pull/7128.diff","patch_url":"https://github.com/openshift/origin/pull/7128.patch"},"body":"New resource quotas:\r\n    \r\n1. openshift.io/projectimagessize\r\n2. openshift.io/imagestreamsize\r\n3. openshift.io/imagesize\r\n\r\nThe 1st allows to set a limit for a sum of sizes of all image layers\r\naccross all repositories in a namespace.\r\n\r\nThe 2nd allows to set a limit for a sum of sizes of all image layers\r\nin a single repository. Usage will always be 0 because we cannot store\r\ndifferent values for different repositories.\r\n\r\nThe 3rd allows to set a limit for a sum of sizes of all layers of\r\nsingle image. Usage will always be 0.\r\n\r\nLayers occuring multiple times in a single repository count just once.\r\n\r\n**TODO**:\r\n\r\n- [x] write godocs\r\n- [x] avoid patching upstream `GenericEvaluator`, write our own instead\r\n- [x] fix tests\r\n- [x] write tests\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/185830932","html_url":"https://github.com/openshift/origin/pull/7128#issuecomment-185830932","issue_url":"https://api.github.com/repos/openshift/origin/issues/7128","id":185830932,"user":{"login":"ncdc","id":354,"avatar_url":"https://avatars.githubusercontent.com/u/354?v=3","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T17:46:29Z","updated_at":"2016-02-18T17:46:29Z","body":"Any chance we can get those carry commits upstream?"}}