{"action":"opened","number":736,"pull_request":{"url":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/736","id":81467972,"html_url":"https://github.com/pydanny/cookiecutter-django/pull/736","diff_url":"https://github.com/pydanny/cookiecutter-django/pull/736.diff","patch_url":"https://github.com/pydanny/cookiecutter-django/pull/736.patch","issue_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/736","number":736,"state":"open","locked":false,"title":"Wait for the postgres container to start","user":{"login":"jayfk","id":2930472,"avatar_url":"https://avatars.githubusercontent.com/u/2930472?v=3","gravatar_id":"","url":"https://api.github.com/users/jayfk","html_url":"https://github.com/jayfk","followers_url":"https://api.github.com/users/jayfk/followers","following_url":"https://api.github.com/users/jayfk/following{/other_user}","gists_url":"https://api.github.com/users/jayfk/gists{/gist_id}","starred_url":"https://api.github.com/users/jayfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayfk/subscriptions","organizations_url":"https://api.github.com/users/jayfk/orgs","repos_url":"https://api.github.com/users/jayfk/repos","events_url":"https://api.github.com/users/jayfk/events{/privacy}","received_events_url":"https://api.github.com/users/jayfk/received_events","type":"User","site_admin":false},"body":"This is a backport from https://cookiecutter-saas.com\r\n\r\nIt adds a small python script to `entrypoint.sh` that checks if the postgres container is up and running. If postgres is not up yet, it waits for a second and tries again.\r\n\r\nRelated issue: https://github.com/pydanny/cookiecutter-django/issues/602\r\n\r\nWe had a couple of issues with the entrypoint on windows in the past. Could someone confirm this works on windows before merging this in?","created_at":"2016-08-16T13:06:21Z","updated_at":"2016-08-16T13:06:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d56015ae1a3a7aa545974dcc341e36a7d446054b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/736/commits","review_comments_url":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/736/comments","review_comment_url":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/736/comments","statuses_url":"https://api.github.com/repos/pydanny/cookiecutter-django/statuses/05a2b2558c92373a8d979a15da092ec1346d9078","head":{"label":"pydanny:postgres-backport","ref":"postgres-backport","sha":"05a2b2558c92373a8d979a15da092ec1346d9078","user":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"repo":{"id":12115269,"name":"cookiecutter-django","full_name":"pydanny/cookiecutter-django","owner":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pydanny/cookiecutter-django","description":"Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.","fork":false,"url":"https://api.github.com/repos/pydanny/cookiecutter-django","forks_url":"https://api.github.com/repos/pydanny/cookiecutter-django/forks","keys_url":"https://api.github.com/repos/pydanny/cookiecutter-django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydanny/cookiecutter-django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydanny/cookiecutter-django/teams","hooks_url":"https://api.github.com/repos/pydanny/cookiecutter-django/hooks","issue_events_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/events{/number}","events_url":"https://api.github.com/repos/pydanny/cookiecutter-django/events","assignees_url":"https://api.github.com/repos/pydanny/cookiecutter-django/assignees{/user}","branches_url":"https://api.github.com/repos/pydanny/cookiecutter-django/branches{/branch}","tags_url":"https://api.github.com/repos/pydanny/cookiecutter-django/tags","blobs_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydanny/cookiecutter-django/statuses/{sha}","languages_url":"https://api.github.com/repos/pydanny/cookiecutter-django/languages","stargazers_url":"https://api.github.com/repos/pydanny/cookiecutter-django/stargazers","contributors_url":"https://api.github.com/repos/pydanny/cookiecutter-django/contributors","subscribers_url":"https://api.github.com/repos/pydanny/cookiecutter-django/subscribers","subscription_url":"https://api.github.com/repos/pydanny/cookiecutter-django/subscription","commits_url":"https://api.github.com/repos/pydanny/cookiecutter-django/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydanny/cookiecutter-django/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydanny/cookiecutter-django/contents/{+path}","compare_url":"https://api.github.com/repos/pydanny/cookiecutter-django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydanny/cookiecutter-django/merges","archive_url":"https://api.github.com/repos/pydanny/cookiecutter-django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydanny/cookiecutter-django/downloads","issues_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues{/number}","pulls_url":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls{/number}","milestones_url":"https://api.github.com/repos/pydanny/cookiecutter-django/milestones{/number}","notifications_url":"https://api.github.com/repos/pydanny/cookiecutter-django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydanny/cookiecutter-django/labels{/name}","releases_url":"https://api.github.com/repos/pydanny/cookiecutter-django/releases{/id}","deployments_url":"https://api.github.com/repos/pydanny/cookiecutter-django/deployments","created_at":"2013-08-14T17:43:31Z","updated_at":"2016-08-16T12:06:05Z","pushed_at":"2016-08-16T13:06:21Z","git_url":"git://github.com/pydanny/cookiecutter-django.git","ssh_url":"git@github.com:pydanny/cookiecutter-django.git","clone_url":"https://github.com/pydanny/cookiecutter-django.git","svn_url":"https://github.com/pydanny/cookiecutter-django","homepage":"","size":5608,"stargazers_count":1823,"watchers_count":1823,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":621,"mirror_url":null,"open_issues_count":81,"forks":621,"open_issues":81,"watchers":1823,"default_branch":"master"}},"base":{"label":"pydanny:master","ref":"master","sha":"eff9260acf3505fa76bf06a9777f41d66889e13f","user":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"repo":{"id":12115269,"name":"cookiecutter-django","full_name":"pydanny/cookiecutter-django","owner":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pydanny/cookiecutter-django","description":"Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.","fork":false,"url":"https://api.github.com/repos/pydanny/cookiecutter-django","forks_url":"https://api.github.com/repos/pydanny/cookiecutter-django/forks","keys_url":"https://api.github.com/repos/pydanny/cookiecutter-django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydanny/cookiecutter-django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydanny/cookiecutter-django/teams","hooks_url":"https://api.github.com/repos/pydanny/cookiecutter-django/hooks","issue_events_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/events{/number}","events_url":"https://api.github.com/repos/pydanny/cookiecutter-django/events","assignees_url":"https://api.github.com/repos/pydanny/cookiecutter-django/assignees{/user}","branches_url":"https://api.github.com/repos/pydanny/cookiecutter-django/branches{/branch}","tags_url":"https://api.github.com/repos/pydanny/cookiecutter-django/tags","blobs_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydanny/cookiecutter-django/statuses/{sha}","languages_url":"https://api.github.com/repos/pydanny/cookiecutter-django/languages","stargazers_url":"https://api.github.com/repos/pydanny/cookiecutter-django/stargazers","contributors_url":"https://api.github.com/repos/pydanny/cookiecutter-django/contributors","subscribers_url":"https://api.github.com/repos/pydanny/cookiecutter-django/subscribers","subscription_url":"https://api.github.com/repos/pydanny/cookiecutter-django/subscription","commits_url":"https://api.github.com/repos/pydanny/cookiecutter-django/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydanny/cookiecutter-django/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydanny/cookiecutter-django/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydanny/cookiecutter-django/contents/{+path}","compare_url":"https://api.github.com/repos/pydanny/cookiecutter-django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydanny/cookiecutter-django/merges","archive_url":"https://api.github.com/repos/pydanny/cookiecutter-django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydanny/cookiecutter-django/downloads","issues_url":"https://api.github.com/repos/pydanny/cookiecutter-django/issues{/number}","pulls_url":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls{/number}","milestones_url":"https://api.github.com/repos/pydanny/cookiecutter-django/milestones{/number}","notifications_url":"https://api.github.com/repos/pydanny/cookiecutter-django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydanny/cookiecutter-django/labels{/name}","releases_url":"https://api.github.com/repos/pydanny/cookiecutter-django/releases{/id}","deployments_url":"https://api.github.com/repos/pydanny/cookiecutter-django/deployments","created_at":"2013-08-14T17:43:31Z","updated_at":"2016-08-16T12:06:05Z","pushed_at":"2016-08-16T13:06:21Z","git_url":"git://github.com/pydanny/cookiecutter-django.git","ssh_url":"git@github.com:pydanny/cookiecutter-django.git","clone_url":"https://github.com/pydanny/cookiecutter-django.git","svn_url":"https://github.com/pydanny/cookiecutter-django","homepage":"","size":5608,"stargazers_count":1823,"watchers_count":1823,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":621,"mirror_url":null,"open_issues_count":81,"forks":621,"open_issues":81,"watchers":1823,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/736"},"html":{"href":"https://github.com/pydanny/cookiecutter-django/pull/736"},"issue":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/736"},"comments":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/issues/736/comments"},"review_comments":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/736/comments"},"review_comment":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/pulls/736/commits"},"statuses":{"href":"https://api.github.com/repos/pydanny/cookiecutter-django/statuses/05a2b2558c92373a8d979a15da092ec1346d9078"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":2,"changed_files":4}}
{"actor":{"display_login":"jayfk"}}