{"action":"created","issue":{"url":"https://api.github.com/repos/juju-solutions/layer-docker/issues/18","labels_url":"https://api.github.com/repos/juju-solutions/layer-docker/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/juju-solutions/layer-docker/issues/18/comments","events_url":"https://api.github.com/repos/juju-solutions/layer-docker/issues/18/events","html_url":"https://github.com/juju-solutions/layer-docker/pull/18","id":114634523,"number":18,"title":"Compose wrapper","user":{"login":"chuckbutler","id":246944,"avatar_url":"https://avatars.githubusercontent.com/u/246944?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckbutler","html_url":"https://github.com/chuckbutler","followers_url":"https://api.github.com/users/chuckbutler/followers","following_url":"https://api.github.com/users/chuckbutler/following{/other_user}","gists_url":"https://api.github.com/users/chuckbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckbutler/subscriptions","organizations_url":"https://api.github.com/users/chuckbutler/orgs","repos_url":"https://api.github.com/users/chuckbutler/repos","events_url":"https://api.github.com/users/chuckbutler/events{/privacy}","received_events_url":"https://api.github.com/users/chuckbutler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T16:45:43Z","updated_at":"2015-11-02T18:32:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju-solutions/layer-docker/pulls/18","html_url":"https://github.com/juju-solutions/layer-docker/pull/18","diff_url":"https://github.com/juju-solutions/layer-docker/pull/18.diff","patch_url":"https://github.com/juju-solutions/layer-docker/pull/18.patch"},"body":"Adds a docker-compose lib stub (early iteration shipping w/ the charm)\r\n\r\nThis will eventually move to its own pypi module. For now, exploratory dev shipping w/ the docker charm.\r\n\r\nThis includes a wrapper class to reduce overall code complexity when consuming docker-compose based formations. You can use this class like the following example code:\r\n\r\n    from charms.docker.compose include Compose\r\n    c = Compose('files/mycluster')\r\n    c.start_service()  # starts all services in docker-compose.yml\r\n    c.stop_service('nginx')  # stops nginx listed in docker-compose.yml\r\n\r\nArguments to the Compose Initializer:\r\n\r\nworkspace - path to find the docker-compose.yaml or docker-compose.yml\r\n\r\nThis class is a light weight wrapper, and subject to change."},"comment":{"url":"https://api.github.com/repos/juju-solutions/layer-docker/issues/comments/153117939","html_url":"https://github.com/juju-solutions/layer-docker/pull/18#issuecomment-153117939","issue_url":"https://api.github.com/repos/juju-solutions/layer-docker/issues/18","id":153117939,"user":{"login":"mbruzek","id":6385185,"avatar_url":"https://avatars.githubusercontent.com/u/6385185?v=3","gravatar_id":"","url":"https://api.github.com/users/mbruzek","html_url":"https://github.com/mbruzek","followers_url":"https://api.github.com/users/mbruzek/followers","following_url":"https://api.github.com/users/mbruzek/following{/other_user}","gists_url":"https://api.github.com/users/mbruzek/gists{/gist_id}","starred_url":"https://api.github.com/users/mbruzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbruzek/subscriptions","organizations_url":"https://api.github.com/users/mbruzek/orgs","repos_url":"https://api.github.com/users/mbruzek/repos","events_url":"https://api.github.com/users/mbruzek/events{/privacy}","received_events_url":"https://api.github.com/users/mbruzek/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T18:32:41Z","updated_at":"2015-11-02T18:32:41Z","body":"+1 LGTM  - Had some suggestions for improvement but only suggestions.  They should not block merging if you disagree or want a different mp to address."}}