{"action":"created","comment":{"url":"https://api.github.com/repos/18F/autoapi/pulls/comments/68308473","id":68308473,"diff_hunk":"@@ -1,6 +1,6 @@\n boto3>=1.1.1\n csvkit>=0.9.1\n-invoke>=0.10.1\n+invoke==0.10.1","path":"requirements.txt","position":4,"original_position":4,"commit_id":"7c2730d44c78c5283c2e14560c2f89b1830e4143","original_commit_id":"7c2730d44c78c5283c2e14560c2f89b1830e4143","user":{"login":"toolness","id":124687,"avatar_url":"https://avatars.githubusercontent.com/u/124687?v=3","gravatar_id":"","url":"https://api.github.com/users/toolness","html_url":"https://github.com/toolness","followers_url":"https://api.github.com/users/toolness/followers","following_url":"https://api.github.com/users/toolness/following{/other_user}","gists_url":"https://api.github.com/users/toolness/gists{/gist_id}","starred_url":"https://api.github.com/users/toolness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolness/subscriptions","organizations_url":"https://api.github.com/users/toolness/orgs","repos_url":"https://api.github.com/users/toolness/repos","events_url":"https://api.github.com/users/toolness/events{/privacy}","received_events_url":"https://api.github.com/users/toolness/received_events","type":"User","site_admin":false},"body":"As mentioned in #58, this is required to actually make any of the `invoke` commands (e.g. the server) work.","created_at":"2016-06-23T20:27:03Z","updated_at":"2016-06-23T20:27:03Z","html_url":"https://github.com/18F/autoapi/pull/59#discussion_r68308473","pull_request_url":"https://api.github.com/repos/18F/autoapi/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/18F/autoapi/pulls/comments/68308473"},"html":{"href":"https://github.com/18F/autoapi/pull/59#discussion_r68308473"},"pull_request":{"href":"https://api.github.com/repos/18F/autoapi/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/18F/autoapi/pulls/59","id":74955796,"html_url":"https://github.com/18F/autoapi/pull/59","diff_url":"https://github.com/18F/autoapi/pull/59.diff","patch_url":"https://github.com/18F/autoapi/pull/59.patch","issue_url":"https://api.github.com/repos/18F/autoapi/issues/59","number":59,"state":"open","locked":false,"title":"[WIP] Add docker-compose setup","user":{"login":"toolness","id":124687,"avatar_url":"https://avatars.githubusercontent.com/u/124687?v=3","gravatar_id":"","url":"https://api.github.com/users/toolness","html_url":"https://github.com/toolness","followers_url":"https://api.github.com/users/toolness/followers","following_url":"https://api.github.com/users/toolness/following{/other_user}","gists_url":"https://api.github.com/users/toolness/gists{/gist_id}","starred_url":"https://api.github.com/users/toolness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolness/subscriptions","organizations_url":"https://api.github.com/users/toolness/orgs","repos_url":"https://api.github.com/users/toolness/repos","events_url":"https://api.github.com/users/toolness/events{/privacy}","received_events_url":"https://api.github.com/users/toolness/received_events","type":"User","site_admin":false},"body":"This makes it easier to develop autoapi with docker-compose, and also fixes a few things:\r\n\r\n* Fixes #58.\r\n* Uses [`COPY` instead of `ADD`](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#add-or-copy).\r\n* Optimizes use of the [build cache](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#build-cache) when generating layers for the image. Previously, changing any files in the source directory would rebuild the entire image from scratch, which takes quite some time; now layers are reused so that a minor change to the source code results in a very quick image rebuild.\r\n* Adds a `docker-compose.yml` to make it easier to *develop* (not just deploy) the site via `docker-compose up`.\r\n\r\nTo do:\r\n\r\n- [ ] Document the new functionality, making sure to distinguish between *deploying* with docker vs. *developing* with docker.\r\n- [ ] Document Docker's existing use of the `data_sources` directory. This took me a little while to figure out.\r\n- [x] Propagate environment variables into the docker container, either through `docker-compose.yml` or something like [python-dotenv](https://pypi.python.org/pypi/python-dotenv).\r\n","created_at":"2016-06-23T13:36:07Z","updated_at":"2016-06-23T20:27:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"422089de835989dc1179b86c056c253914996de5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/autoapi/pulls/59/commits","review_comments_url":"https://api.github.com/repos/18F/autoapi/pulls/59/comments","review_comment_url":"https://api.github.com/repos/18F/autoapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/autoapi/issues/59/comments","statuses_url":"https://api.github.com/repos/18F/autoapi/statuses/7c2730d44c78c5283c2e14560c2f89b1830e4143","head":{"label":"18F:docker-development","ref":"docker-development","sha":"7c2730d44c78c5283c2e14560c2f89b1830e4143","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":33702463,"name":"autoapi","full_name":"18F/autoapi","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/autoapi","description":"A basic spreadsheet to api engine","fork":false,"url":"https://api.github.com/repos/18F/autoapi","forks_url":"https://api.github.com/repos/18F/autoapi/forks","keys_url":"https://api.github.com/repos/18F/autoapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/autoapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/autoapi/teams","hooks_url":"https://api.github.com/repos/18F/autoapi/hooks","issue_events_url":"https://api.github.com/repos/18F/autoapi/issues/events{/number}","events_url":"https://api.github.com/repos/18F/autoapi/events","assignees_url":"https://api.github.com/repos/18F/autoapi/assignees{/user}","branches_url":"https://api.github.com/repos/18F/autoapi/branches{/branch}","tags_url":"https://api.github.com/repos/18F/autoapi/tags","blobs_url":"https://api.github.com/repos/18F/autoapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/autoapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/autoapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/autoapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/autoapi/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/autoapi/languages","stargazers_url":"https://api.github.com/repos/18F/autoapi/stargazers","contributors_url":"https://api.github.com/repos/18F/autoapi/contributors","subscribers_url":"https://api.github.com/repos/18F/autoapi/subscribers","subscription_url":"https://api.github.com/repos/18F/autoapi/subscription","commits_url":"https://api.github.com/repos/18F/autoapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/autoapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/autoapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/autoapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/autoapi/contents/{+path}","compare_url":"https://api.github.com/repos/18F/autoapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/autoapi/merges","archive_url":"https://api.github.com/repos/18F/autoapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/autoapi/downloads","issues_url":"https://api.github.com/repos/18F/autoapi/issues{/number}","pulls_url":"https://api.github.com/repos/18F/autoapi/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/autoapi/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/autoapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/autoapi/labels{/name}","releases_url":"https://api.github.com/repos/18F/autoapi/releases{/id}","deployments_url":"https://api.github.com/repos/18F/autoapi/deployments","created_at":"2015-04-10T01:50:47Z","updated_at":"2016-06-05T00:28:46Z","pushed_at":"2016-06-23T20:11:01Z","git_url":"git://github.com/18F/autoapi.git","ssh_url":"git@github.com:18F/autoapi.git","clone_url":"https://github.com/18F/autoapi.git","svn_url":"https://github.com/18F/autoapi","homepage":"","size":1181,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":26,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"ca4952315cb007ff98ba96290476b7734fe86ac5","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":33702463,"name":"autoapi","full_name":"18F/autoapi","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/autoapi","description":"A basic spreadsheet to api engine","fork":false,"url":"https://api.github.com/repos/18F/autoapi","forks_url":"https://api.github.com/repos/18F/autoapi/forks","keys_url":"https://api.github.com/repos/18F/autoapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/autoapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/autoapi/teams","hooks_url":"https://api.github.com/repos/18F/autoapi/hooks","issue_events_url":"https://api.github.com/repos/18F/autoapi/issues/events{/number}","events_url":"https://api.github.com/repos/18F/autoapi/events","assignees_url":"https://api.github.com/repos/18F/autoapi/assignees{/user}","branches_url":"https://api.github.com/repos/18F/autoapi/branches{/branch}","tags_url":"https://api.github.com/repos/18F/autoapi/tags","blobs_url":"https://api.github.com/repos/18F/autoapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/autoapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/autoapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/autoapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/autoapi/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/autoapi/languages","stargazers_url":"https://api.github.com/repos/18F/autoapi/stargazers","contributors_url":"https://api.github.com/repos/18F/autoapi/contributors","subscribers_url":"https://api.github.com/repos/18F/autoapi/subscribers","subscription_url":"https://api.github.com/repos/18F/autoapi/subscription","commits_url":"https://api.github.com/repos/18F/autoapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/autoapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/autoapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/autoapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/autoapi/contents/{+path}","compare_url":"https://api.github.com/repos/18F/autoapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/autoapi/merges","archive_url":"https://api.github.com/repos/18F/autoapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/autoapi/downloads","issues_url":"https://api.github.com/repos/18F/autoapi/issues{/number}","pulls_url":"https://api.github.com/repos/18F/autoapi/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/autoapi/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/autoapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/autoapi/labels{/name}","releases_url":"https://api.github.com/repos/18F/autoapi/releases{/id}","deployments_url":"https://api.github.com/repos/18F/autoapi/deployments","created_at":"2015-04-10T01:50:47Z","updated_at":"2016-06-05T00:28:46Z","pushed_at":"2016-06-23T20:11:01Z","git_url":"git://github.com/18F/autoapi.git","ssh_url":"git@github.com:18F/autoapi.git","clone_url":"https://github.com/18F/autoapi.git","svn_url":"https://github.com/18F/autoapi","homepage":"","size":1181,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/autoapi/pulls/59"},"html":{"href":"https://github.com/18F/autoapi/pull/59"},"issue":{"href":"https://api.github.com/repos/18F/autoapi/issues/59"},"comments":{"href":"https://api.github.com/repos/18F/autoapi/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/autoapi/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/autoapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/autoapi/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/18F/autoapi/statuses/7c2730d44c78c5283c2e14560c2f89b1830e4143"}}}}
{"actor":{"display_login":"toolness"}}