{"action":"closed","number":195,"pull_request":{"url":"https://api.github.com/repos/mysociety/verification-pages/pulls/195","id":198731976,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NzMxOTc2","html_url":"https://github.com/mysociety/verification-pages/pull/195","diff_url":"https://github.com/mysociety/verification-pages/pull/195.diff","patch_url":"https://github.com/mysociety/verification-pages/pull/195.patch","issue_url":"https://api.github.com/repos/mysociety/verification-pages/issues/195","number":195,"state":"closed","locked":false,"title":"[Updated] Fix problem with multiple P39s being incorrectly detected","user":{"login":"chrismytton","id":22996,"node_id":"MDQ6VXNlcjIyOTk2","avatar_url":"https://avatars2.githubusercontent.com/u/22996?v=4","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"body":"When multiple items have been `merged_then_deleted` into another item the same position will appear multiple times in the search results, once for each item that was deleted and merged into the master item.\r\n\r\nThis changes the SPARQL query to get `?merged_then_deleted` as a space-separated list, so each position should only appear in the query results once.\r\n\r\nFixes #153 \r\n\r\n## Note to reviewer\r\n\r\nI've fixed the problem described in https://github.com/mysociety/verification-pages/issues/153#issuecomment-401862625 with a `fixup!` commit to make it clear what I've changed. I'll rebase and squash down that commit before merging this.","created_at":"2018-07-02T16:35:24Z","updated_at":"2018-07-06T11:15:23Z","closed_at":"2018-07-06T11:15:23Z","merged_at":"2018-07-06T11:15:22Z","merge_commit_sha":"9b1e0cbc2c3e7cc96a79c13b7ec14d9abf18a71b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mhl","id":7907,"node_id":"MDQ6VXNlcjc5MDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7907?v=4","gravatar_id":"","url":"https://api.github.com/users/mhl","html_url":"https://github.com/mhl","followers_url":"https://api.github.com/users/mhl/followers","following_url":"https://api.github.com/users/mhl/following{/other_user}","gists_url":"https://api.github.com/users/mhl/gists{/gist_id}","starred_url":"https://api.github.com/users/mhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhl/subscriptions","organizations_url":"https://api.github.com/users/mhl/orgs","repos_url":"https://api.github.com/users/mhl/repos","events_url":"https://api.github.com/users/mhl/events{/privacy}","received_events_url":"https://api.github.com/users/mhl/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mysociety/verification-pages/pulls/195/commits","review_comments_url":"https://api.github.com/repos/mysociety/verification-pages/pulls/195/comments","review_comment_url":"https://api.github.com/repos/mysociety/verification-pages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysociety/verification-pages/issues/195/comments","statuses_url":"https://api.github.com/repos/mysociety/verification-pages/statuses/9b1e0cbc2c3e7cc96a79c13b7ec14d9abf18a71b","head":{"label":"mysociety:153-multiple-p39s-reported-for-deleted-items","ref":"153-multiple-p39s-reported-for-deleted-items","sha":"9b1e0cbc2c3e7cc96a79c13b7ec14d9abf18a71b","user":{"login":"mysociety","id":141338,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTMzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/141338?v=4","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":119664732,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk2NjQ3MzI=","name":"verification-pages","full_name":"mysociety/verification-pages","owner":{"login":"mysociety","id":141338,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTMzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/141338?v=4","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/verification-pages","description":"Tool to generate and push verification pages to Wikidata","fork":false,"url":"https://api.github.com/repos/mysociety/verification-pages","forks_url":"https://api.github.com/repos/mysociety/verification-pages/forks","keys_url":"https://api.github.com/repos/mysociety/verification-pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/verification-pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/verification-pages/teams","hooks_url":"https://api.github.com/repos/mysociety/verification-pages/hooks","issue_events_url":"https://api.github.com/repos/mysociety/verification-pages/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/verification-pages/events","assignees_url":"https://api.github.com/repos/mysociety/verification-pages/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/verification-pages/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/verification-pages/tags","blobs_url":"https://api.github.com/repos/mysociety/verification-pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/verification-pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/verification-pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/verification-pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/verification-pages/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/verification-pages/languages","stargazers_url":"https://api.github.com/repos/mysociety/verification-pages/stargazers","contributors_url":"https://api.github.com/repos/mysociety/verification-pages/contributors","subscribers_url":"https://api.github.com/repos/mysociety/verification-pages/subscribers","subscription_url":"https://api.github.com/repos/mysociety/verification-pages/subscription","commits_url":"https://api.github.com/repos/mysociety/verification-pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/verification-pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/verification-pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/verification-pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/verification-pages/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/verification-pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/verification-pages/merges","archive_url":"https://api.github.com/repos/mysociety/verification-pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/verification-pages/downloads","issues_url":"https://api.github.com/repos/mysociety/verification-pages/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/verification-pages/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/verification-pages/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/verification-pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/verification-pages/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/verification-pages/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/verification-pages/deployments","created_at":"2018-01-31T09:24:33Z","updated_at":"2018-07-06T09:54:20Z","pushed_at":"2018-07-06T11:15:22Z","git_url":"git://github.com/mysociety/verification-pages.git","ssh_url":"git@github.com:mysociety/verification-pages.git","clone_url":"https://github.com/mysociety/verification-pages.git","svn_url":"https://github.com/mysociety/verification-pages","homepage":"https://www.mysociety.org/","size":452,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":98,"license":null,"forks":0,"open_issues":98,"watchers":2,"default_branch":"master"}},"base":{"label":"mysociety:master","ref":"master","sha":"db615b5c54921dbea1c8309444970fec76e05c45","user":{"login":"mysociety","id":141338,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTMzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/141338?v=4","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":119664732,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk2NjQ3MzI=","name":"verification-pages","full_name":"mysociety/verification-pages","owner":{"login":"mysociety","id":141338,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTMzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/141338?v=4","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/verification-pages","description":"Tool to generate and push verification pages to Wikidata","fork":false,"url":"https://api.github.com/repos/mysociety/verification-pages","forks_url":"https://api.github.com/repos/mysociety/verification-pages/forks","keys_url":"https://api.github.com/repos/mysociety/verification-pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/verification-pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/verification-pages/teams","hooks_url":"https://api.github.com/repos/mysociety/verification-pages/hooks","issue_events_url":"https://api.github.com/repos/mysociety/verification-pages/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/verification-pages/events","assignees_url":"https://api.github.com/repos/mysociety/verification-pages/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/verification-pages/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/verification-pages/tags","blobs_url":"https://api.github.com/repos/mysociety/verification-pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/verification-pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/verification-pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/verification-pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/verification-pages/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/verification-pages/languages","stargazers_url":"https://api.github.com/repos/mysociety/verification-pages/stargazers","contributors_url":"https://api.github.com/repos/mysociety/verification-pages/contributors","subscribers_url":"https://api.github.com/repos/mysociety/verification-pages/subscribers","subscription_url":"https://api.github.com/repos/mysociety/verification-pages/subscription","commits_url":"https://api.github.com/repos/mysociety/verification-pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/verification-pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/verification-pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/verification-pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/verification-pages/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/verification-pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/verification-pages/merges","archive_url":"https://api.github.com/repos/mysociety/verification-pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/verification-pages/downloads","issues_url":"https://api.github.com/repos/mysociety/verification-pages/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/verification-pages/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/verification-pages/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/verification-pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/verification-pages/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/verification-pages/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/verification-pages/deployments","created_at":"2018-01-31T09:24:33Z","updated_at":"2018-07-06T09:54:20Z","pushed_at":"2018-07-06T11:15:22Z","git_url":"git://github.com/mysociety/verification-pages.git","ssh_url":"git@github.com:mysociety/verification-pages.git","clone_url":"https://github.com/mysociety/verification-pages.git","svn_url":"https://github.com/mysociety/verification-pages","homepage":"https://www.mysociety.org/","size":452,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":98,"license":null,"forks":0,"open_issues":98,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysociety/verification-pages/pulls/195"},"html":{"href":"https://github.com/mysociety/verification-pages/pull/195"},"issue":{"href":"https://api.github.com/repos/mysociety/verification-pages/issues/195"},"comments":{"href":"https://api.github.com/repos/mysociety/verification-pages/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/mysociety/verification-pages/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/mysociety/verification-pages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysociety/verification-pages/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/mysociety/verification-pages/statuses/9b1e0cbc2c3e7cc96a79c13b7ec14d9abf18a71b"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mysociety-pusher","id":1743933,"node_id":"MDQ6VXNlcjE3NDM5MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1743933?v=4","gravatar_id":"","url":"https://api.github.com/users/mysociety-pusher","html_url":"https://github.com/mysociety-pusher","followers_url":"https://api.github.com/users/mysociety-pusher/followers","following_url":"https://api.github.com/users/mysociety-pusher/following{/other_user}","gists_url":"https://api.github.com/users/mysociety-pusher/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety-pusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety-pusher/subscriptions","organizations_url":"https://api.github.com/users/mysociety-pusher/orgs","repos_url":"https://api.github.com/users/mysociety-pusher/repos","events_url":"https://api.github.com/users/mysociety-pusher/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety-pusher/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":24,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"mysociety-pusher"}}