{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/28","id":310579285,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEwNTc5Mjg1","html_url":"https://github.com/aichner/Wagtail-Template/pull/28","diff_url":"https://github.com/aichner/Wagtail-Template/pull/28.diff","patch_url":"https://github.com/aichner/Wagtail-Template/pull/28.patch","issue_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues/28","number":28,"state":"open","locked":false,"title":"Add django production 1","user":{"login":"kleberbaum","id":26285351,"node_id":"MDQ6VXNlcjI2Mjg1MzUx","avatar_url":"https://avatars3.githubusercontent.com/u/26285351?v=4","gravatar_id":"","url":"https://api.github.com/users/kleberbaum","html_url":"https://github.com/kleberbaum","followers_url":"https://api.github.com/users/kleberbaum/followers","following_url":"https://api.github.com/users/kleberbaum/following{/other_user}","gists_url":"https://api.github.com/users/kleberbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/kleberbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleberbaum/subscriptions","organizations_url":"https://api.github.com/users/kleberbaum/orgs","repos_url":"https://api.github.com/users/kleberbaum/repos","events_url":"https://api.github.com/users/kleberbaum/events{/privacy}","received_events_url":"https://api.github.com/users/kleberbaum/received_events","type":"User","site_admin":false},"body":"**Checklist:**\r\n\r\n <!--- Make sure your PR is documented and tested before submission. Put an `x` in all the boxes that apply: -->\r\n - [x] Have you added an explanation of what your changes do and why you'd like them to be included?\r\n - [ ] Have you updated or added documentation for the change?\r\n - [x] Have you tested your changes with successful results?\r\n\r\n\r\n**Type of Changes:**\r\n\r\n <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n - [x] Bug fix (non-breaking change which fixes an issue)\r\n - [x] New feature (non-breaking change which adds functionality)\r\n - [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n\r\n**What is the current behavior? (link to any open issues here)**\r\n- Currently the hostnames in production aren't defined by an environment variable. #20 \r\n- Currently there is no easy way to debug in production. #21 \r\n- Currently there is no ephemeral secret key in production. #22 \r\n- Currently there is no way to send emails from production.  #23 \r\n- Currently there isn't a SPDX license identifier in every source file. #24 \r\n- Currently not all basic requirements of production are satisfied. #25 \r\n- Currently there is no easy way to pass the database config as environment variable.  #26   \r\n- Currently the automated deletion of empty directories by git interferes with CICD. #27 \r\n\r\n\r\n**What is the new behavior (if this is a feature change)?**\r\n- Now the hostnames in production are defined by an environment variable. #20 \r\n- Now there is an easy way to debug in production. #21 \r\n- Now there is a ephemeral secret key in production. #22 \r\n- Now there is a way to send emails from production.  #23 \r\n- Now there is a SPDX license identifier in every source file. #24 \r\n- Now all basic requirements of production are satisfied. #25 \r\n- Now there is no easy way to pass the database config as environment variable.  #26 \r\n- Now the automated deletion of empty directories by git doesn't interfere with CICD. #27 \r\n\r\n\r\n**Other information**:\r\n- Ref: https://docs.djangoproject.com/en/2.2/ref/settings/#debug\r\n- Ref: https://docs.djangoproject.com/en/2.2/ref/settings/#secret-key\r\n- Ref: https://medium.com/@stschindler/one-django-settings-py-to-rule-them-all-dac2f6be8159\r\n- Ref: https://spdx.org/licenses/\r\n- Ref: https://pypi.org/project/dj-database-url/\r\n- Ref: https://pypi.org/project/uWSGI/\r\n- Ref: https://pypi.org/project/psycopg2/\r\n- Ref: https://pypi.org/project/whitenoise/\r\n- Ref: https://pypi.org/project/dj-database-url/\r\n- Ref: https://www.python.org/dev/peps/pep-3333/\r\n\r\n","created_at":"2019-08-24T03:15:59Z","updated_at":"2019-08-24T03:15:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/28/commits","review_comments_url":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/28/comments","review_comment_url":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues/28/comments","statuses_url":"https://api.github.com/repos/aichner/Wagtail-Template/statuses/4523c37251cfd8c9131ed52dfc88c64e8e18e3e1","head":{"label":"aichner:add-django-production-1","ref":"add-django-production-1","sha":"4523c37251cfd8c9131ed52dfc88c64e8e18e3e1","user":{"login":"aichner","id":50574311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTc0MzEx","avatar_url":"https://avatars3.githubusercontent.com/u/50574311?v=4","gravatar_id":"","url":"https://api.github.com/users/aichner","html_url":"https://github.com/aichner","followers_url":"https://api.github.com/users/aichner/followers","following_url":"https://api.github.com/users/aichner/following{/other_user}","gists_url":"https://api.github.com/users/aichner/gists{/gist_id}","starred_url":"https://api.github.com/users/aichner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichner/subscriptions","organizations_url":"https://api.github.com/users/aichner/orgs","repos_url":"https://api.github.com/users/aichner/repos","events_url":"https://api.github.com/users/aichner/events{/privacy}","received_events_url":"https://api.github.com/users/aichner/received_events","type":"Organization","site_admin":false},"repo":{"id":204007234,"node_id":"MDEwOlJlcG9zaXRvcnkyMDQwMDcyMzQ=","name":"Wagtail-Template","full_name":"aichner/Wagtail-Template","private":false,"owner":{"login":"aichner","id":50574311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTc0MzEx","avatar_url":"https://avatars3.githubusercontent.com/u/50574311?v=4","gravatar_id":"","url":"https://api.github.com/users/aichner","html_url":"https://github.com/aichner","followers_url":"https://api.github.com/users/aichner/followers","following_url":"https://api.github.com/users/aichner/following{/other_user}","gists_url":"https://api.github.com/users/aichner/gists{/gist_id}","starred_url":"https://api.github.com/users/aichner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichner/subscriptions","organizations_url":"https://api.github.com/users/aichner/orgs","repos_url":"https://api.github.com/users/aichner/repos","events_url":"https://api.github.com/users/aichner/events{/privacy}","received_events_url":"https://api.github.com/users/aichner/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aichner/Wagtail-Template","description":"This repository serves as an entry point for our future Wagtail projects.","fork":false,"url":"https://api.github.com/repos/aichner/Wagtail-Template","forks_url":"https://api.github.com/repos/aichner/Wagtail-Template/forks","keys_url":"https://api.github.com/repos/aichner/Wagtail-Template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aichner/Wagtail-Template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aichner/Wagtail-Template/teams","hooks_url":"https://api.github.com/repos/aichner/Wagtail-Template/hooks","issue_events_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues/events{/number}","events_url":"https://api.github.com/repos/aichner/Wagtail-Template/events","assignees_url":"https://api.github.com/repos/aichner/Wagtail-Template/assignees{/user}","branches_url":"https://api.github.com/repos/aichner/Wagtail-Template/branches{/branch}","tags_url":"https://api.github.com/repos/aichner/Wagtail-Template/tags","blobs_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/refs{/sha}","trees_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aichner/Wagtail-Template/statuses/{sha}","languages_url":"https://api.github.com/repos/aichner/Wagtail-Template/languages","stargazers_url":"https://api.github.com/repos/aichner/Wagtail-Template/stargazers","contributors_url":"https://api.github.com/repos/aichner/Wagtail-Template/contributors","subscribers_url":"https://api.github.com/repos/aichner/Wagtail-Template/subscribers","subscription_url":"https://api.github.com/repos/aichner/Wagtail-Template/subscription","commits_url":"https://api.github.com/repos/aichner/Wagtail-Template/commits{/sha}","git_commits_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/commits{/sha}","comments_url":"https://api.github.com/repos/aichner/Wagtail-Template/comments{/number}","issue_comment_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues/comments{/number}","contents_url":"https://api.github.com/repos/aichner/Wagtail-Template/contents/{+path}","compare_url":"https://api.github.com/repos/aichner/Wagtail-Template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aichner/Wagtail-Template/merges","archive_url":"https://api.github.com/repos/aichner/Wagtail-Template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aichner/Wagtail-Template/downloads","issues_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues{/number}","pulls_url":"https://api.github.com/repos/aichner/Wagtail-Template/pulls{/number}","milestones_url":"https://api.github.com/repos/aichner/Wagtail-Template/milestones{/number}","notifications_url":"https://api.github.com/repos/aichner/Wagtail-Template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aichner/Wagtail-Template/labels{/name}","releases_url":"https://api.github.com/repos/aichner/Wagtail-Template/releases{/id}","deployments_url":"https://api.github.com/repos/aichner/Wagtail-Template/deployments","created_at":"2019-08-23T13:48:13Z","updated_at":"2019-08-23T19:26:35Z","pushed_at":"2019-08-24T01:51:42Z","git_url":"git://github.com/aichner/Wagtail-Template.git","ssh_url":"git@github.com:aichner/Wagtail-Template.git","clone_url":"https://github.com/aichner/Wagtail-Template.git","svn_url":"https://github.com/aichner/Wagtail-Template","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"Roff","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"aichner:master","ref":"master","sha":"6a9f6e9f0814ef4819b27f0cadf2b876bb257a84","user":{"login":"aichner","id":50574311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTc0MzEx","avatar_url":"https://avatars3.githubusercontent.com/u/50574311?v=4","gravatar_id":"","url":"https://api.github.com/users/aichner","html_url":"https://github.com/aichner","followers_url":"https://api.github.com/users/aichner/followers","following_url":"https://api.github.com/users/aichner/following{/other_user}","gists_url":"https://api.github.com/users/aichner/gists{/gist_id}","starred_url":"https://api.github.com/users/aichner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichner/subscriptions","organizations_url":"https://api.github.com/users/aichner/orgs","repos_url":"https://api.github.com/users/aichner/repos","events_url":"https://api.github.com/users/aichner/events{/privacy}","received_events_url":"https://api.github.com/users/aichner/received_events","type":"Organization","site_admin":false},"repo":{"id":204007234,"node_id":"MDEwOlJlcG9zaXRvcnkyMDQwMDcyMzQ=","name":"Wagtail-Template","full_name":"aichner/Wagtail-Template","private":false,"owner":{"login":"aichner","id":50574311,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwNTc0MzEx","avatar_url":"https://avatars3.githubusercontent.com/u/50574311?v=4","gravatar_id":"","url":"https://api.github.com/users/aichner","html_url":"https://github.com/aichner","followers_url":"https://api.github.com/users/aichner/followers","following_url":"https://api.github.com/users/aichner/following{/other_user}","gists_url":"https://api.github.com/users/aichner/gists{/gist_id}","starred_url":"https://api.github.com/users/aichner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aichner/subscriptions","organizations_url":"https://api.github.com/users/aichner/orgs","repos_url":"https://api.github.com/users/aichner/repos","events_url":"https://api.github.com/users/aichner/events{/privacy}","received_events_url":"https://api.github.com/users/aichner/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aichner/Wagtail-Template","description":"This repository serves as an entry point for our future Wagtail projects.","fork":false,"url":"https://api.github.com/repos/aichner/Wagtail-Template","forks_url":"https://api.github.com/repos/aichner/Wagtail-Template/forks","keys_url":"https://api.github.com/repos/aichner/Wagtail-Template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aichner/Wagtail-Template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aichner/Wagtail-Template/teams","hooks_url":"https://api.github.com/repos/aichner/Wagtail-Template/hooks","issue_events_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues/events{/number}","events_url":"https://api.github.com/repos/aichner/Wagtail-Template/events","assignees_url":"https://api.github.com/repos/aichner/Wagtail-Template/assignees{/user}","branches_url":"https://api.github.com/repos/aichner/Wagtail-Template/branches{/branch}","tags_url":"https://api.github.com/repos/aichner/Wagtail-Template/tags","blobs_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/refs{/sha}","trees_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aichner/Wagtail-Template/statuses/{sha}","languages_url":"https://api.github.com/repos/aichner/Wagtail-Template/languages","stargazers_url":"https://api.github.com/repos/aichner/Wagtail-Template/stargazers","contributors_url":"https://api.github.com/repos/aichner/Wagtail-Template/contributors","subscribers_url":"https://api.github.com/repos/aichner/Wagtail-Template/subscribers","subscription_url":"https://api.github.com/repos/aichner/Wagtail-Template/subscription","commits_url":"https://api.github.com/repos/aichner/Wagtail-Template/commits{/sha}","git_commits_url":"https://api.github.com/repos/aichner/Wagtail-Template/git/commits{/sha}","comments_url":"https://api.github.com/repos/aichner/Wagtail-Template/comments{/number}","issue_comment_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues/comments{/number}","contents_url":"https://api.github.com/repos/aichner/Wagtail-Template/contents/{+path}","compare_url":"https://api.github.com/repos/aichner/Wagtail-Template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aichner/Wagtail-Template/merges","archive_url":"https://api.github.com/repos/aichner/Wagtail-Template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aichner/Wagtail-Template/downloads","issues_url":"https://api.github.com/repos/aichner/Wagtail-Template/issues{/number}","pulls_url":"https://api.github.com/repos/aichner/Wagtail-Template/pulls{/number}","milestones_url":"https://api.github.com/repos/aichner/Wagtail-Template/milestones{/number}","notifications_url":"https://api.github.com/repos/aichner/Wagtail-Template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aichner/Wagtail-Template/labels{/name}","releases_url":"https://api.github.com/repos/aichner/Wagtail-Template/releases{/id}","deployments_url":"https://api.github.com/repos/aichner/Wagtail-Template/deployments","created_at":"2019-08-23T13:48:13Z","updated_at":"2019-08-23T19:26:35Z","pushed_at":"2019-08-24T01:51:42Z","git_url":"git://github.com/aichner/Wagtail-Template.git","ssh_url":"git@github.com:aichner/Wagtail-Template.git","clone_url":"https://github.com/aichner/Wagtail-Template.git","svn_url":"https://github.com/aichner/Wagtail-Template","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"Roff","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/28"},"html":{"href":"https://github.com/aichner/Wagtail-Template/pull/28"},"issue":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/issues/28"},"comments":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/aichner/Wagtail-Template/statuses/4523c37251cfd8c9131ed52dfc88c64e8e18e3e1"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":9,"additions":104,"deletions":3,"changed_files":20}}
{"actor":{"display_login":"kleberbaum"}}