{"action":"opened","number":1463,"pull_request":{"url":"https://api.github.com/repos/torchbox/wagtail/pulls/1463","id":39072800,"html_url":"https://github.com/torchbox/wagtail/pull/1463","diff_url":"https://github.com/torchbox/wagtail/pull/1463.diff","patch_url":"https://github.com/torchbox/wagtail/pull/1463.patch","issue_url":"https://api.github.com/repos/torchbox/wagtail/issues/1463","number":1463,"state":"open","locked":false,"title":"Allow SQLite database location to be changed with DATABASE_NAME","user":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"body":"SQLite runs in memory by default so it always gets destroyed regardless of whether you wanted to keep it between test runs using --keepdb\r\n\r\nSetting up the database seems to take a significant amount of time now so having the option to use a database file allows us to save a little time:\r\n\r\nExample: ``DATABASE_NAME=/wagtail.sqlite python runtests.py --keepdb``\r\n\r\nThis PR will probably break the postgres/mysql tests on Travis so best to wait and see what it says and fix before merging.","created_at":"2015-07-02T11:28:06Z","updated_at":"2015-07-02T11:28:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/torchbox/wagtail/pulls/1463/commits","review_comments_url":"https://api.github.com/repos/torchbox/wagtail/pulls/1463/comments","review_comment_url":"https://api.github.com/repos/torchbox/wagtail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/1463/comments","statuses_url":"https://api.github.com/repos/torchbox/wagtail/statuses/98a3cf4abf258d90b66e13dbe82f1d670ae7de82","head":{"label":"kaedroho:test-database-name","ref":"test-database-name","sha":"98a3cf4abf258d90b66e13dbe82f1d670ae7de82","user":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"repo":{"id":16483819,"name":"wagtail","full_name":"kaedroho/wagtail","owner":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaedroho/wagtail","description":"Django-based content management system","fork":true,"url":"https://api.github.com/repos/kaedroho/wagtail","forks_url":"https://api.github.com/repos/kaedroho/wagtail/forks","keys_url":"https://api.github.com/repos/kaedroho/wagtail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaedroho/wagtail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaedroho/wagtail/teams","hooks_url":"https://api.github.com/repos/kaedroho/wagtail/hooks","issue_events_url":"https://api.github.com/repos/kaedroho/wagtail/issues/events{/number}","events_url":"https://api.github.com/repos/kaedroho/wagtail/events","assignees_url":"https://api.github.com/repos/kaedroho/wagtail/assignees{/user}","branches_url":"https://api.github.com/repos/kaedroho/wagtail/branches{/branch}","tags_url":"https://api.github.com/repos/kaedroho/wagtail/tags","blobs_url":"https://api.github.com/repos/kaedroho/wagtail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaedroho/wagtail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaedroho/wagtail/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaedroho/wagtail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaedroho/wagtail/statuses/{sha}","languages_url":"https://api.github.com/repos/kaedroho/wagtail/languages","stargazers_url":"https://api.github.com/repos/kaedroho/wagtail/stargazers","contributors_url":"https://api.github.com/repos/kaedroho/wagtail/contributors","subscribers_url":"https://api.github.com/repos/kaedroho/wagtail/subscribers","subscription_url":"https://api.github.com/repos/kaedroho/wagtail/subscription","commits_url":"https://api.github.com/repos/kaedroho/wagtail/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaedroho/wagtail/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaedroho/wagtail/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaedroho/wagtail/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaedroho/wagtail/contents/{+path}","compare_url":"https://api.github.com/repos/kaedroho/wagtail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaedroho/wagtail/merges","archive_url":"https://api.github.com/repos/kaedroho/wagtail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaedroho/wagtail/downloads","issues_url":"https://api.github.com/repos/kaedroho/wagtail/issues{/number}","pulls_url":"https://api.github.com/repos/kaedroho/wagtail/pulls{/number}","milestones_url":"https://api.github.com/repos/kaedroho/wagtail/milestones{/number}","notifications_url":"https://api.github.com/repos/kaedroho/wagtail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaedroho/wagtail/labels{/name}","releases_url":"https://api.github.com/repos/kaedroho/wagtail/releases{/id}","created_at":"2014-02-03T15:46:45Z","updated_at":"2015-05-07T09:34:19Z","pushed_at":"2015-07-02T11:24:47Z","git_url":"git://github.com/kaedroho/wagtail.git","ssh_url":"git@github.com:kaedroho/wagtail.git","clone_url":"https://github.com/kaedroho/wagtail.git","svn_url":"https://github.com/kaedroho/wagtail","homepage":null,"size":22650,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"torchbox:master","ref":"master","sha":"a0b55ae641766528e3cf05c2ffee362c772be3b5","user":{"login":"torchbox","id":84015,"avatar_url":"https://avatars.githubusercontent.com/u/84015?v=3","gravatar_id":"","url":"https://api.github.com/users/torchbox","html_url":"https://github.com/torchbox","followers_url":"https://api.github.com/users/torchbox/followers","following_url":"https://api.github.com/users/torchbox/following{/other_user}","gists_url":"https://api.github.com/users/torchbox/gists{/gist_id}","starred_url":"https://api.github.com/users/torchbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torchbox/subscriptions","organizations_url":"https://api.github.com/users/torchbox/orgs","repos_url":"https://api.github.com/users/torchbox/repos","events_url":"https://api.github.com/users/torchbox/events{/privacy}","received_events_url":"https://api.github.com/users/torchbox/received_events","type":"Organization","site_admin":false},"repo":{"id":16479108,"name":"wagtail","full_name":"torchbox/wagtail","owner":{"login":"torchbox","id":84015,"avatar_url":"https://avatars.githubusercontent.com/u/84015?v=3","gravatar_id":"","url":"https://api.github.com/users/torchbox","html_url":"https://github.com/torchbox","followers_url":"https://api.github.com/users/torchbox/followers","following_url":"https://api.github.com/users/torchbox/following{/other_user}","gists_url":"https://api.github.com/users/torchbox/gists{/gist_id}","starred_url":"https://api.github.com/users/torchbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torchbox/subscriptions","organizations_url":"https://api.github.com/users/torchbox/orgs","repos_url":"https://api.github.com/users/torchbox/repos","events_url":"https://api.github.com/users/torchbox/events{/privacy}","received_events_url":"https://api.github.com/users/torchbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/torchbox/wagtail","description":"A Django content management system focused on flexibility and user experience","fork":false,"url":"https://api.github.com/repos/torchbox/wagtail","forks_url":"https://api.github.com/repos/torchbox/wagtail/forks","keys_url":"https://api.github.com/repos/torchbox/wagtail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/torchbox/wagtail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/torchbox/wagtail/teams","hooks_url":"https://api.github.com/repos/torchbox/wagtail/hooks","issue_events_url":"https://api.github.com/repos/torchbox/wagtail/issues/events{/number}","events_url":"https://api.github.com/repos/torchbox/wagtail/events","assignees_url":"https://api.github.com/repos/torchbox/wagtail/assignees{/user}","branches_url":"https://api.github.com/repos/torchbox/wagtail/branches{/branch}","tags_url":"https://api.github.com/repos/torchbox/wagtail/tags","blobs_url":"https://api.github.com/repos/torchbox/wagtail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/torchbox/wagtail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/torchbox/wagtail/git/refs{/sha}","trees_url":"https://api.github.com/repos/torchbox/wagtail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/torchbox/wagtail/statuses/{sha}","languages_url":"https://api.github.com/repos/torchbox/wagtail/languages","stargazers_url":"https://api.github.com/repos/torchbox/wagtail/stargazers","contributors_url":"https://api.github.com/repos/torchbox/wagtail/contributors","subscribers_url":"https://api.github.com/repos/torchbox/wagtail/subscribers","subscription_url":"https://api.github.com/repos/torchbox/wagtail/subscription","commits_url":"https://api.github.com/repos/torchbox/wagtail/commits{/sha}","git_commits_url":"https://api.github.com/repos/torchbox/wagtail/git/commits{/sha}","comments_url":"https://api.github.com/repos/torchbox/wagtail/comments{/number}","issue_comment_url":"https://api.github.com/repos/torchbox/wagtail/issues/comments{/number}","contents_url":"https://api.github.com/repos/torchbox/wagtail/contents/{+path}","compare_url":"https://api.github.com/repos/torchbox/wagtail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/torchbox/wagtail/merges","archive_url":"https://api.github.com/repos/torchbox/wagtail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/torchbox/wagtail/downloads","issues_url":"https://api.github.com/repos/torchbox/wagtail/issues{/number}","pulls_url":"https://api.github.com/repos/torchbox/wagtail/pulls{/number}","milestones_url":"https://api.github.com/repos/torchbox/wagtail/milestones{/number}","notifications_url":"https://api.github.com/repos/torchbox/wagtail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/torchbox/wagtail/labels{/name}","releases_url":"https://api.github.com/repos/torchbox/wagtail/releases{/id}","created_at":"2014-02-03T12:41:59Z","updated_at":"2015-07-02T08:23:49Z","pushed_at":"2015-07-02T11:10:35Z","git_url":"git://github.com/torchbox/wagtail.git","ssh_url":"git@github.com:torchbox/wagtail.git","clone_url":"https://github.com/torchbox/wagtail.git","svn_url":"https://github.com/torchbox/wagtail","homepage":"wagtail.io","size":32762,"stargazers_count":2709,"watchers_count":2709,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":389,"mirror_url":null,"open_issues_count":298,"forks":389,"open_issues":298,"watchers":2709,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/torchbox/wagtail/pulls/1463"},"html":{"href":"https://github.com/torchbox/wagtail/pull/1463"},"issue":{"href":"https://api.github.com/repos/torchbox/wagtail/issues/1463"},"comments":{"href":"https://api.github.com/repos/torchbox/wagtail/issues/1463/comments"},"review_comments":{"href":"https://api.github.com/repos/torchbox/wagtail/pulls/1463/comments"},"review_comment":{"href":"https://api.github.com/repos/torchbox/wagtail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/torchbox/wagtail/pulls/1463/commits"},"statuses":{"href":"https://api.github.com/repos/torchbox/wagtail/statuses/98a3cf4abf258d90b66e13dbe82f1d670ae7de82"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}