{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/6850","repository_url":"https://api.github.com/repos/DoSomething/phoenix","labels_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6850/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6850/comments","events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6850/events","html_url":"https://github.com/DoSomething/phoenix/pull/6850","id":170445956,"number":6850,"title":"Add script to clean out bad Northstar data.","user":{"login":"DFurnes","id":583202,"avatar_url":"https://avatars.githubusercontent.com/u/583202?v=3","gravatar_id":"","url":"https://api.github.com/users/DFurnes","html_url":"https://github.com/DFurnes","followers_url":"https://api.github.com/users/DFurnes/followers","following_url":"https://api.github.com/users/DFurnes/following{/other_user}","gists_url":"https://api.github.com/users/DFurnes/gists{/gist_id}","starred_url":"https://api.github.com/users/DFurnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFurnes/subscriptions","organizations_url":"https://api.github.com/users/DFurnes/orgs","repos_url":"https://api.github.com/users/DFurnes/repos","events_url":"https://api.github.com/users/DFurnes/events{/privacy}","received_events_url":"https://api.github.com/users/DFurnes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"assignees":[{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-08-10T15:26:49Z","updated_at":"2016-08-10T16:08:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/6850","html_url":"https://github.com/DoSomething/phoenix/pull/6850","diff_url":"https://github.com/DoSomething/phoenix/pull/6850.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/6850.patch"},"body":"#### What's this PR do?\r\nThree things:\r\n\r\n🚳 In the migration script, add Northstar IDs to the `dosometing_northstar_delete_queue` table if they conflict on the `drupal_id` field. This is necessary because not all of the duped users from the other two scripts had their Northstar ID field filled in.\r\n\r\n🔥 Adds a `delete-bad-users-in-northstar` script to empty out that delete queue by deleting the offending Northstar users with extreme prejudice.\r\n\r\n🍡 Reset the Northstar settings to their default values when running `ds pull stage --db`, since otherwise the Northstar module will still be configured to connect to Northstar QA if enabled.\r\n\r\n#### How should this be reviewed?\r\n👀\r\n\r\n#### Any background context you want to provide?\r\n👻 \r\n\r\n#### Relevant tickets\r\nReferences #6409.\r\n\r\n#### Checklist\r\n- [ ] Documentation added for new features/changed endpoints.\r\n- [ ] Tested on staging.\r\n- [ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love."},"comment":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments/238916715","html_url":"https://github.com/DoSomething/phoenix/pull/6850#issuecomment-238916715","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6850","id":238916715,"user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T16:08:02Z","updated_at":"2016-08-10T16:08:02Z","body":"ah lovely! "}}
{"actor":{"display_login":"angaither"}}