{"action":"closed","number":78,"pull_request":{"url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/78","id":89266085,"html_url":"https://github.com/lucyparsons/OpenOversight/pull/78","diff_url":"https://github.com/lucyparsons/OpenOversight/pull/78.diff","patch_url":"https://github.com/lucyparsons/OpenOversight/pull/78.patch","issue_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/78","number":78,"state":"closed","locked":false,"title":"Test data command line utility","user":{"login":"redshiftzero","id":7832803,"avatar_url":"https://avatars.githubusercontent.com/u/7832803?v=3","gravatar_id":"","url":"https://api.github.com/users/redshiftzero","html_url":"https://github.com/redshiftzero","followers_url":"https://api.github.com/users/redshiftzero/followers","following_url":"https://api.github.com/users/redshiftzero/following{/other_user}","gists_url":"https://api.github.com/users/redshiftzero/gists{/gist_id}","starred_url":"https://api.github.com/users/redshiftzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redshiftzero/subscriptions","organizations_url":"https://api.github.com/users/redshiftzero/orgs","repos_url":"https://api.github.com/users/redshiftzero/repos","events_url":"https://api.github.com/users/redshiftzero/events{/privacy}","received_events_url":"https://api.github.com/users/redshiftzero/received_events","type":"User","site_admin":false},"body":"This implements #69 to make the test data population a little command line utility: \r\n\r\n```\r\nvagrant@vagrant-ubuntu-trusty-64:/vagrant/OpenOversight$ ./test_data.py --help\r\nusage: test_data.py [-h] [-p] [-c]\r\n\r\noptional arguments:\r\n  -h, --help      show this help message and exit\r\n  -p, --populate  populate the database with test data\r\n  -c, --cleanup   delete all test data from the database\r\n\r\nvagrant@vagrant-ubuntu-trusty-64:/vagrant/OpenOversight$ ./test_data.py --populate\r\n[*] Populating database with test data...\r\n[*] Completed successfully!\r\nvagrant@vagrant-ubuntu-trusty-64:/vagrant/OpenOversight$ ./test_data.py --cleanup\r\n[*] Cleaning up database...\r\n[*] Completed successfully!\r\n```","created_at":"2016-10-13T19:27:07Z","updated_at":"2016-10-13T23:48:42Z","closed_at":"2016-10-13T23:48:42Z","merged_at":"2016-10-13T23:48:42Z","merge_commit_sha":"f2274c56bd7763629a00ff4391747903c4a9c1cc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/78/commits","review_comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/78/comments","review_comment_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/78/comments","statuses_url":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/4ab646149f60ae32264d71c51a1f8d219d5344c7","head":{"label":"lucyparsons:test-data-refactor","ref":"test-data-refactor","sha":"4ab646149f60ae32264d71c51a1f8d219d5344c7","user":{"login":"lucyparsons","id":14915368,"avatar_url":"https://avatars.githubusercontent.com/u/14915368?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyparsons","html_url":"https://github.com/lucyparsons","followers_url":"https://api.github.com/users/lucyparsons/followers","following_url":"https://api.github.com/users/lucyparsons/following{/other_user}","gists_url":"https://api.github.com/users/lucyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyparsons/subscriptions","organizations_url":"https://api.github.com/users/lucyparsons/orgs","repos_url":"https://api.github.com/users/lucyparsons/repos","events_url":"https://api.github.com/users/lucyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/lucyparsons/received_events","type":"Organization","site_admin":false},"repo":{"id":55662896,"name":"OpenOversight","full_name":"lucyparsons/OpenOversight","owner":{"login":"lucyparsons","id":14915368,"avatar_url":"https://avatars.githubusercontent.com/u/14915368?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyparsons","html_url":"https://github.com/lucyparsons","followers_url":"https://api.github.com/users/lucyparsons/followers","following_url":"https://api.github.com/users/lucyparsons/following{/other_user}","gists_url":"https://api.github.com/users/lucyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyparsons/subscriptions","organizations_url":"https://api.github.com/users/lucyparsons/orgs","repos_url":"https://api.github.com/users/lucyparsons/repos","events_url":"https://api.github.com/users/lucyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/lucyparsons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lucyparsons/OpenOversight","description":"Police oversight and accountability through public data","fork":false,"url":"https://api.github.com/repos/lucyparsons/OpenOversight","forks_url":"https://api.github.com/repos/lucyparsons/OpenOversight/forks","keys_url":"https://api.github.com/repos/lucyparsons/OpenOversight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyparsons/OpenOversight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyparsons/OpenOversight/teams","hooks_url":"https://api.github.com/repos/lucyparsons/OpenOversight/hooks","issue_events_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/events{/number}","events_url":"https://api.github.com/repos/lucyparsons/OpenOversight/events","assignees_url":"https://api.github.com/repos/lucyparsons/OpenOversight/assignees{/user}","branches_url":"https://api.github.com/repos/lucyparsons/OpenOversight/branches{/branch}","tags_url":"https://api.github.com/repos/lucyparsons/OpenOversight/tags","blobs_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyparsons/OpenOversight/languages","stargazers_url":"https://api.github.com/repos/lucyparsons/OpenOversight/stargazers","contributors_url":"https://api.github.com/repos/lucyparsons/OpenOversight/contributors","subscribers_url":"https://api.github.com/repos/lucyparsons/OpenOversight/subscribers","subscription_url":"https://api.github.com/repos/lucyparsons/OpenOversight/subscription","commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyparsons/OpenOversight/contents/{+path}","compare_url":"https://api.github.com/repos/lucyparsons/OpenOversight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyparsons/OpenOversight/merges","archive_url":"https://api.github.com/repos/lucyparsons/OpenOversight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyparsons/OpenOversight/downloads","issues_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues{/number}","pulls_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyparsons/OpenOversight/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyparsons/OpenOversight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyparsons/OpenOversight/labels{/name}","releases_url":"https://api.github.com/repos/lucyparsons/OpenOversight/releases{/id}","deployments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/deployments","created_at":"2016-04-07T04:10:42Z","updated_at":"2016-10-13T19:39:15Z","pushed_at":"2016-10-13T23:48:42Z","git_url":"git://github.com/lucyparsons/OpenOversight.git","ssh_url":"git@github.com:lucyparsons/OpenOversight.git","clone_url":"https://github.com/lucyparsons/OpenOversight.git","svn_url":"https://github.com/lucyparsons/OpenOversight","homepage":"https://openoversight.lucyparsonslabs.com","size":2708,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":3,"default_branch":"develop"}},"base":{"label":"lucyparsons:develop","ref":"develop","sha":"b23635a3dadc9600abbe20dc1e59ca1b143737a5","user":{"login":"lucyparsons","id":14915368,"avatar_url":"https://avatars.githubusercontent.com/u/14915368?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyparsons","html_url":"https://github.com/lucyparsons","followers_url":"https://api.github.com/users/lucyparsons/followers","following_url":"https://api.github.com/users/lucyparsons/following{/other_user}","gists_url":"https://api.github.com/users/lucyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyparsons/subscriptions","organizations_url":"https://api.github.com/users/lucyparsons/orgs","repos_url":"https://api.github.com/users/lucyparsons/repos","events_url":"https://api.github.com/users/lucyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/lucyparsons/received_events","type":"Organization","site_admin":false},"repo":{"id":55662896,"name":"OpenOversight","full_name":"lucyparsons/OpenOversight","owner":{"login":"lucyparsons","id":14915368,"avatar_url":"https://avatars.githubusercontent.com/u/14915368?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyparsons","html_url":"https://github.com/lucyparsons","followers_url":"https://api.github.com/users/lucyparsons/followers","following_url":"https://api.github.com/users/lucyparsons/following{/other_user}","gists_url":"https://api.github.com/users/lucyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyparsons/subscriptions","organizations_url":"https://api.github.com/users/lucyparsons/orgs","repos_url":"https://api.github.com/users/lucyparsons/repos","events_url":"https://api.github.com/users/lucyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/lucyparsons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lucyparsons/OpenOversight","description":"Police oversight and accountability through public data","fork":false,"url":"https://api.github.com/repos/lucyparsons/OpenOversight","forks_url":"https://api.github.com/repos/lucyparsons/OpenOversight/forks","keys_url":"https://api.github.com/repos/lucyparsons/OpenOversight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyparsons/OpenOversight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyparsons/OpenOversight/teams","hooks_url":"https://api.github.com/repos/lucyparsons/OpenOversight/hooks","issue_events_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/events{/number}","events_url":"https://api.github.com/repos/lucyparsons/OpenOversight/events","assignees_url":"https://api.github.com/repos/lucyparsons/OpenOversight/assignees{/user}","branches_url":"https://api.github.com/repos/lucyparsons/OpenOversight/branches{/branch}","tags_url":"https://api.github.com/repos/lucyparsons/OpenOversight/tags","blobs_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyparsons/OpenOversight/languages","stargazers_url":"https://api.github.com/repos/lucyparsons/OpenOversight/stargazers","contributors_url":"https://api.github.com/repos/lucyparsons/OpenOversight/contributors","subscribers_url":"https://api.github.com/repos/lucyparsons/OpenOversight/subscribers","subscription_url":"https://api.github.com/repos/lucyparsons/OpenOversight/subscription","commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyparsons/OpenOversight/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyparsons/OpenOversight/contents/{+path}","compare_url":"https://api.github.com/repos/lucyparsons/OpenOversight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyparsons/OpenOversight/merges","archive_url":"https://api.github.com/repos/lucyparsons/OpenOversight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyparsons/OpenOversight/downloads","issues_url":"https://api.github.com/repos/lucyparsons/OpenOversight/issues{/number}","pulls_url":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyparsons/OpenOversight/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyparsons/OpenOversight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyparsons/OpenOversight/labels{/name}","releases_url":"https://api.github.com/repos/lucyparsons/OpenOversight/releases{/id}","deployments_url":"https://api.github.com/repos/lucyparsons/OpenOversight/deployments","created_at":"2016-04-07T04:10:42Z","updated_at":"2016-10-13T19:39:15Z","pushed_at":"2016-10-13T23:48:42Z","git_url":"git://github.com/lucyparsons/OpenOversight.git","ssh_url":"git@github.com:lucyparsons/OpenOversight.git","clone_url":"https://github.com/lucyparsons/OpenOversight.git","svn_url":"https://github.com/lucyparsons/OpenOversight","homepage":"https://openoversight.lucyparsonslabs.com","size":2708,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/78"},"html":{"href":"https://github.com/lucyparsons/OpenOversight/pull/78"},"issue":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/78"},"comments":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/lucyparsons/OpenOversight/statuses/4ab646149f60ae32264d71c51a1f8d219d5344c7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"redshiftzero","id":7832803,"avatar_url":"https://avatars.githubusercontent.com/u/7832803?v=3","gravatar_id":"","url":"https://api.github.com/users/redshiftzero","html_url":"https://github.com/redshiftzero","followers_url":"https://api.github.com/users/redshiftzero/followers","following_url":"https://api.github.com/users/redshiftzero/following{/other_user}","gists_url":"https://api.github.com/users/redshiftzero/gists{/gist_id}","starred_url":"https://api.github.com/users/redshiftzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redshiftzero/subscriptions","organizations_url":"https://api.github.com/users/redshiftzero/orgs","repos_url":"https://api.github.com/users/redshiftzero/repos","events_url":"https://api.github.com/users/redshiftzero/events{/privacy}","received_events_url":"https://api.github.com/users/redshiftzero/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":43,"deletions":6,"changed_files":4}}
{"actor":{"display_login":"redshiftzero"}}