{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/21","id":131805681,"html_url":"https://github.com/pacifica/pacifica-policy/pull/21","diff_url":"https://github.com/pacifica/pacifica-policy/pull/21.diff","patch_url":"https://github.com/pacifica/pacifica-policy/pull/21.patch","issue_url":"https://api.github.com/repos/pacifica/pacifica-policy/issues/21","number":21,"state":"closed","locked":false,"title":"this should hopefully get rid of all the branching in a single method","user":{"login":"dmlb2000","id":1504962,"avatar_url":"https://avatars3.githubusercontent.com/u/1504962?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlb2000","html_url":"https://github.com/dmlb2000","followers_url":"https://api.github.com/users/dmlb2000/followers","following_url":"https://api.github.com/users/dmlb2000/following{/other_user}","gists_url":"https://api.github.com/users/dmlb2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlb2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlb2000/subscriptions","organizations_url":"https://api.github.com/users/dmlb2000/orgs","repos_url":"https://api.github.com/users/dmlb2000/repos","events_url":"https://api.github.com/users/dmlb2000/events{/privacy}","received_events_url":"https://api.github.com/users/dmlb2000/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\nThis should hopefully start to separate and clean up all the branching in the single query method in the uploader query. This should streamline the class and make it more readable and testable.\r\n### Issues Resolved\r\nN/A\r\n### Check List\r\n\r\n- [ ] All tests pass. See <https://github.com/pacifica/pacifica-docs/blob/master/development/TESTING.md>\r\n- [ ] New functionality includes testing.\r\n- [ ] New functionality has been documented in the README if applicable\r\n","created_at":"2017-07-21T15:54:53Z","updated_at":"2017-07-21T16:23:02Z","closed_at":"2017-07-21T16:23:02Z","merged_at":"2017-07-21T16:23:01Z","merge_commit_sha":"f0f54b2ab9054c6f34a5399ae206e48835ff722a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/21/commits","review_comments_url":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/21/comments","review_comment_url":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pacifica/pacifica-policy/issues/21/comments","statuses_url":"https://api.github.com/repos/pacifica/pacifica-policy/statuses/11817d3fc8f0f0bc8dcc4ca505b1e69f8a5e4775","head":{"label":"dmlb2000:cleanup-uploader-query","ref":"cleanup-uploader-query","sha":"11817d3fc8f0f0bc8dcc4ca505b1e69f8a5e4775","user":{"login":"dmlb2000","id":1504962,"avatar_url":"https://avatars3.githubusercontent.com/u/1504962?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlb2000","html_url":"https://github.com/dmlb2000","followers_url":"https://api.github.com/users/dmlb2000/followers","following_url":"https://api.github.com/users/dmlb2000/following{/other_user}","gists_url":"https://api.github.com/users/dmlb2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlb2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlb2000/subscriptions","organizations_url":"https://api.github.com/users/dmlb2000/orgs","repos_url":"https://api.github.com/users/dmlb2000/repos","events_url":"https://api.github.com/users/dmlb2000/events{/privacy}","received_events_url":"https://api.github.com/users/dmlb2000/received_events","type":"User","site_admin":false},"repo":{"id":84035107,"name":"pacifica-policy","full_name":"dmlb2000/pacifica-policy","owner":{"login":"dmlb2000","id":1504962,"avatar_url":"https://avatars3.githubusercontent.com/u/1504962?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlb2000","html_url":"https://github.com/dmlb2000","followers_url":"https://api.github.com/users/dmlb2000/followers","following_url":"https://api.github.com/users/dmlb2000/following{/other_user}","gists_url":"https://api.github.com/users/dmlb2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlb2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlb2000/subscriptions","organizations_url":"https://api.github.com/users/dmlb2000/orgs","repos_url":"https://api.github.com/users/dmlb2000/repos","events_url":"https://api.github.com/users/dmlb2000/events{/privacy}","received_events_url":"https://api.github.com/users/dmlb2000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmlb2000/pacifica-policy","description":"Pacifica core service that defines policy that filters metadata for the rest of the system","fork":true,"url":"https://api.github.com/repos/dmlb2000/pacifica-policy","forks_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/forks","keys_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/teams","hooks_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/hooks","issue_events_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/issues/events{/number}","events_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/events","assignees_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/assignees{/user}","branches_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/branches{/branch}","tags_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/tags","blobs_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/languages","stargazers_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/stargazers","contributors_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/contributors","subscribers_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/subscribers","subscription_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/subscription","commits_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/contents/{+path}","compare_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/merges","archive_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/downloads","issues_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/issues{/number}","pulls_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/labels{/name}","releases_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/releases{/id}","deployments_url":"https://api.github.com/repos/dmlb2000/pacifica-policy/deployments","created_at":"2017-03-06T05:50:36Z","updated_at":"2017-03-06T05:50:38Z","pushed_at":"2017-07-21T16:19:51Z","git_url":"git://github.com/dmlb2000/pacifica-policy.git","ssh_url":"git@github.com:dmlb2000/pacifica-policy.git","clone_url":"https://github.com/dmlb2000/pacifica-policy.git","svn_url":"https://github.com/dmlb2000/pacifica-policy","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pacifica:master","ref":"master","sha":"5d0223dff6d344c8d40be35b7cf9ccf637cb7310","user":{"login":"pacifica","id":19158571,"avatar_url":"https://avatars1.githubusercontent.com/u/19158571?v=4","gravatar_id":"","url":"https://api.github.com/users/pacifica","html_url":"https://github.com/pacifica","followers_url":"https://api.github.com/users/pacifica/followers","following_url":"https://api.github.com/users/pacifica/following{/other_user}","gists_url":"https://api.github.com/users/pacifica/gists{/gist_id}","starred_url":"https://api.github.com/users/pacifica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pacifica/subscriptions","organizations_url":"https://api.github.com/users/pacifica/orgs","repos_url":"https://api.github.com/users/pacifica/repos","events_url":"https://api.github.com/users/pacifica/events{/privacy}","received_events_url":"https://api.github.com/users/pacifica/received_events","type":"Organization","site_admin":false},"repo":{"id":83942129,"name":"pacifica-policy","full_name":"pacifica/pacifica-policy","owner":{"login":"pacifica","id":19158571,"avatar_url":"https://avatars1.githubusercontent.com/u/19158571?v=4","gravatar_id":"","url":"https://api.github.com/users/pacifica","html_url":"https://github.com/pacifica","followers_url":"https://api.github.com/users/pacifica/followers","following_url":"https://api.github.com/users/pacifica/following{/other_user}","gists_url":"https://api.github.com/users/pacifica/gists{/gist_id}","starred_url":"https://api.github.com/users/pacifica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pacifica/subscriptions","organizations_url":"https://api.github.com/users/pacifica/orgs","repos_url":"https://api.github.com/users/pacifica/repos","events_url":"https://api.github.com/users/pacifica/events{/privacy}","received_events_url":"https://api.github.com/users/pacifica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pacifica/pacifica-policy","description":"Pacifica core service that defines policy that filters metadata for the rest of the system","fork":false,"url":"https://api.github.com/repos/pacifica/pacifica-policy","forks_url":"https://api.github.com/repos/pacifica/pacifica-policy/forks","keys_url":"https://api.github.com/repos/pacifica/pacifica-policy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pacifica/pacifica-policy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pacifica/pacifica-policy/teams","hooks_url":"https://api.github.com/repos/pacifica/pacifica-policy/hooks","issue_events_url":"https://api.github.com/repos/pacifica/pacifica-policy/issues/events{/number}","events_url":"https://api.github.com/repos/pacifica/pacifica-policy/events","assignees_url":"https://api.github.com/repos/pacifica/pacifica-policy/assignees{/user}","branches_url":"https://api.github.com/repos/pacifica/pacifica-policy/branches{/branch}","tags_url":"https://api.github.com/repos/pacifica/pacifica-policy/tags","blobs_url":"https://api.github.com/repos/pacifica/pacifica-policy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pacifica/pacifica-policy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pacifica/pacifica-policy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pacifica/pacifica-policy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pacifica/pacifica-policy/statuses/{sha}","languages_url":"https://api.github.com/repos/pacifica/pacifica-policy/languages","stargazers_url":"https://api.github.com/repos/pacifica/pacifica-policy/stargazers","contributors_url":"https://api.github.com/repos/pacifica/pacifica-policy/contributors","subscribers_url":"https://api.github.com/repos/pacifica/pacifica-policy/subscribers","subscription_url":"https://api.github.com/repos/pacifica/pacifica-policy/subscription","commits_url":"https://api.github.com/repos/pacifica/pacifica-policy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pacifica/pacifica-policy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pacifica/pacifica-policy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pacifica/pacifica-policy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pacifica/pacifica-policy/contents/{+path}","compare_url":"https://api.github.com/repos/pacifica/pacifica-policy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pacifica/pacifica-policy/merges","archive_url":"https://api.github.com/repos/pacifica/pacifica-policy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pacifica/pacifica-policy/downloads","issues_url":"https://api.github.com/repos/pacifica/pacifica-policy/issues{/number}","pulls_url":"https://api.github.com/repos/pacifica/pacifica-policy/pulls{/number}","milestones_url":"https://api.github.com/repos/pacifica/pacifica-policy/milestones{/number}","notifications_url":"https://api.github.com/repos/pacifica/pacifica-policy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pacifica/pacifica-policy/labels{/name}","releases_url":"https://api.github.com/repos/pacifica/pacifica-policy/releases{/id}","deployments_url":"https://api.github.com/repos/pacifica/pacifica-policy/deployments","created_at":"2017-03-05T03:36:50Z","updated_at":"2017-03-05T03:37:14Z","pushed_at":"2017-07-21T16:23:01Z","git_url":"git://github.com/pacifica/pacifica-policy.git","ssh_url":"git@github.com:pacifica/pacifica-policy.git","clone_url":"https://github.com/pacifica/pacifica-policy.git","svn_url":"https://github.com/pacifica/pacifica-policy","homepage":null,"size":87,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/21"},"html":{"href":"https://github.com/pacifica/pacifica-policy/pull/21"},"issue":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/issues/21"},"comments":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/pacifica/pacifica-policy/statuses/11817d3fc8f0f0bc8dcc4ca505b1e69f8a5e4775"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dmlb2000","id":1504962,"avatar_url":"https://avatars3.githubusercontent.com/u/1504962?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlb2000","html_url":"https://github.com/dmlb2000","followers_url":"https://api.github.com/users/dmlb2000/followers","following_url":"https://api.github.com/users/dmlb2000/following{/other_user}","gists_url":"https://api.github.com/users/dmlb2000/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlb2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlb2000/subscriptions","organizations_url":"https://api.github.com/users/dmlb2000/orgs","repos_url":"https://api.github.com/users/dmlb2000/repos","events_url":"https://api.github.com/users/dmlb2000/events{/privacy}","received_events_url":"https://api.github.com/users/dmlb2000/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":74,"deletions":35,"changed_files":3}}
{"actor":{"display_login":"dmlb2000"}}