{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2880","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/2880/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/2880/comments","events_url":"https://api.github.com/repos/docker/compose/issues/2880/events","html_url":"https://github.com/docker/compose/pull/2880","id":132831056,"number":2880,"title":"Merge jsonschemas to a single schema file per version","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/area/config","name":"area/config","color":"c7def8"},{"url":"https://api.github.com/repos/docker/compose/labels/kind/cleanup","name":"kind/cleanup","color":"FFAAA6"},{"url":"https://api.github.com/repos/docker/compose/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/compose/milestones/15","html_url":"https://github.com/docker/compose/milestones/1.7.0","labels_url":"https://api.github.com/repos/docker/compose/milestones/15/labels","id":1505770,"number":15,"title":"1.7.0","description":"","creator":{"login":"aanand","id":1062,"avatar_url":"https://avatars.githubusercontent.com/u/1062?v=3","gravatar_id":"","url":"https://api.github.com/users/aanand","html_url":"https://github.com/aanand","followers_url":"https://api.github.com/users/aanand/followers","following_url":"https://api.github.com/users/aanand/following{/other_user}","gists_url":"https://api.github.com/users/aanand/gists{/gist_id}","starred_url":"https://api.github.com/users/aanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanand/subscriptions","organizations_url":"https://api.github.com/users/aanand/orgs","repos_url":"https://api.github.com/users/aanand/repos","events_url":"https://api.github.com/users/aanand/events{/privacy}","received_events_url":"https://api.github.com/users/aanand/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2016-01-13T21:18:15Z","updated_at":"2016-02-10T22:10:24Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-10T22:10:24Z","updated_at":"2016-02-10T22:17:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/2880","html_url":"https://github.com/docker/compose/pull/2880","diff_url":"https://github.com/docker/compose/pull/2880.diff","patch_url":"https://github.com/docker/compose/pull/2880.patch"},"body":"Fixes #2704 \r\n\r\nI always found it really difficult to reason about the purpose of each of the schemas. They're now a single schema, and the previous validation functions are renamed to:\r\n* `validate_against_config_schema` - which performs the jsonschema validation of the structure\r\n* `validate_service_constraints` - which performs the constraint validation. The code to format the errors here is actually longer than it would be to just apply these constraints in python, but it is kind of nice that we can express the constraint from a schema, so I left them in.\r\n\r\nThis should make it easier to formalize the schema, because there is now a single schema for each version."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/182604037","html_url":"https://github.com/docker/compose/pull/2880#issuecomment-182604037","issue_url":"https://api.github.com/repos/docker/compose/issues/2880","id":182604037,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T22:17:25Z","updated_at":"2016-02-10T22:17:25Z","body":"Job: Compose-PRs [FAILED](https://jenkins.dockerproject.org/job/Compose-PRs/2288/console):\n\n~~~console\n\n---\n7,py34 -- --verbose\r\nError response from daemon: Could not get container for compose-dind-1.10.1-rc1-2288\r\n+ on_exit\r\n+ [[ 1 != \\0 ]]\r\n+ tail -n 100\r\n+ docker logs compose-dind-1.10.1-rc1-2288\r\nError response from daemon: no such id: compose-dind-1.10.1-rc1-2288\r\n+ docker rm -vf compose-dind-1.10.1-rc1-2288\r\nError response from daemon: no such id: compose-dind-1.10.1-rc1-2288\r\nError: failed to remove containers: [compose-dind-1.10.1-rc1-2288]\r\nBuild step 'Execute shell' marked build as failure\n[PostBuildScript] - Execution post build scripts.\n[Compose-PRs] $ /bin/sh -xe /tmp/hudson6426120294176483561.sh\n+ set +x\n\n\n---\n\n~~~"}}