{"action":"closed","number":958,"pull_request":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/958","id":46595836,"html_url":"https://github.com/sandstorm-io/sandstorm/pull/958","diff_url":"https://github.com/sandstorm-io/sandstorm/pull/958.diff","patch_url":"https://github.com/sandstorm-io/sandstorm/pull/958.patch","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/958","number":958,"state":"closed","locked":false,"title":"split user IDs into account IDs and identity IDs: take 2","user":{"login":"dwrensha","id":495768,"avatar_url":"https://avatars.githubusercontent.com/u/495768?v=3","gravatar_id":"","url":"https://api.github.com/users/dwrensha","html_url":"https://github.com/dwrensha","followers_url":"https://api.github.com/users/dwrensha/followers","following_url":"https://api.github.com/users/dwrensha/following{/other_user}","gists_url":"https://api.github.com/users/dwrensha/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrensha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrensha/subscriptions","organizations_url":"https://api.github.com/users/dwrensha/orgs","repos_url":"https://api.github.com/users/dwrensha/repos","events_url":"https://api.github.com/users/dwrensha/events{/privacy}","received_events_url":"https://api.github.com/users/dwrensha/received_events","type":"User","site_admin":false},"body":"This changeset performs the database migration to allow us to support multiple identities per account. It also updates all places (I think!) in the code that used to assume there was only one identity per account. Finally, it partially implements account merging and unmerging (with no UI yet), but disables those features for now, until they are more fully implemented and tested.","created_at":"2015-10-02T01:31:33Z","updated_at":"2015-10-02T22:42:34Z","closed_at":"2015-10-02T22:42:34Z","merged_at":"2015-10-02T22:42:34Z","merge_commit_sha":"ea63e15566c6ac19c5a6a2428d9e81764f645a12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/958/commits","review_comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/958/comments","review_comment_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/958/comments","statuses_url":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/2a28167ac813c50cffbf081c816203a3abe57c4d","head":{"label":"dwrensha:multiple-identities","ref":"multiple-identities","sha":"2a28167ac813c50cffbf081c816203a3abe57c4d","user":{"login":"dwrensha","id":495768,"avatar_url":"https://avatars.githubusercontent.com/u/495768?v=3","gravatar_id":"","url":"https://api.github.com/users/dwrensha","html_url":"https://github.com/dwrensha","followers_url":"https://api.github.com/users/dwrensha/followers","following_url":"https://api.github.com/users/dwrensha/following{/other_user}","gists_url":"https://api.github.com/users/dwrensha/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrensha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrensha/subscriptions","organizations_url":"https://api.github.com/users/dwrensha/orgs","repos_url":"https://api.github.com/users/dwrensha/repos","events_url":"https://api.github.com/users/dwrensha/events{/privacy}","received_events_url":"https://api.github.com/users/dwrensha/received_events","type":"User","site_admin":false},"repo":{"id":17964729,"name":"sandstorm","full_name":"dwrensha/sandstorm","owner":{"login":"dwrensha","id":495768,"avatar_url":"https://avatars.githubusercontent.com/u/495768?v=3","gravatar_id":"","url":"https://api.github.com/users/dwrensha","html_url":"https://github.com/dwrensha","followers_url":"https://api.github.com/users/dwrensha/followers","following_url":"https://api.github.com/users/dwrensha/following{/other_user}","gists_url":"https://api.github.com/users/dwrensha/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrensha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrensha/subscriptions","organizations_url":"https://api.github.com/users/dwrensha/orgs","repos_url":"https://api.github.com/users/dwrensha/repos","events_url":"https://api.github.com/users/dwrensha/events{/privacy}","received_events_url":"https://api.github.com/users/dwrensha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwrensha/sandstorm","description":"Personal Cloud Sandbox","fork":true,"url":"https://api.github.com/repos/dwrensha/sandstorm","forks_url":"https://api.github.com/repos/dwrensha/sandstorm/forks","keys_url":"https://api.github.com/repos/dwrensha/sandstorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwrensha/sandstorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwrensha/sandstorm/teams","hooks_url":"https://api.github.com/repos/dwrensha/sandstorm/hooks","issue_events_url":"https://api.github.com/repos/dwrensha/sandstorm/issues/events{/number}","events_url":"https://api.github.com/repos/dwrensha/sandstorm/events","assignees_url":"https://api.github.com/repos/dwrensha/sandstorm/assignees{/user}","branches_url":"https://api.github.com/repos/dwrensha/sandstorm/branches{/branch}","tags_url":"https://api.github.com/repos/dwrensha/sandstorm/tags","blobs_url":"https://api.github.com/repos/dwrensha/sandstorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwrensha/sandstorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwrensha/sandstorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwrensha/sandstorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwrensha/sandstorm/statuses/{sha}","languages_url":"https://api.github.com/repos/dwrensha/sandstorm/languages","stargazers_url":"https://api.github.com/repos/dwrensha/sandstorm/stargazers","contributors_url":"https://api.github.com/repos/dwrensha/sandstorm/contributors","subscribers_url":"https://api.github.com/repos/dwrensha/sandstorm/subscribers","subscription_url":"https://api.github.com/repos/dwrensha/sandstorm/subscription","commits_url":"https://api.github.com/repos/dwrensha/sandstorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwrensha/sandstorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwrensha/sandstorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwrensha/sandstorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwrensha/sandstorm/contents/{+path}","compare_url":"https://api.github.com/repos/dwrensha/sandstorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwrensha/sandstorm/merges","archive_url":"https://api.github.com/repos/dwrensha/sandstorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwrensha/sandstorm/downloads","issues_url":"https://api.github.com/repos/dwrensha/sandstorm/issues{/number}","pulls_url":"https://api.github.com/repos/dwrensha/sandstorm/pulls{/number}","milestones_url":"https://api.github.com/repos/dwrensha/sandstorm/milestones{/number}","notifications_url":"https://api.github.com/repos/dwrensha/sandstorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwrensha/sandstorm/labels{/name}","releases_url":"https://api.github.com/repos/dwrensha/sandstorm/releases{/id}","created_at":"2014-03-21T01:42:05Z","updated_at":"2015-09-25T21:36:18Z","pushed_at":"2015-10-02T21:51:13Z","git_url":"git://github.com/dwrensha/sandstorm.git","ssh_url":"git@github.com:dwrensha/sandstorm.git","clone_url":"https://github.com/dwrensha/sandstorm.git","svn_url":"https://github.com/dwrensha/sandstorm","homepage":null,"size":9580,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"sandstorm-io:master","ref":"master","sha":"1726902d01a280ae040fbb77a6dd14cbfada2730","user":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"repo":{"id":15728293,"name":"sandstorm","full_name":"sandstorm-io/sandstorm","owner":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sandstorm-io/sandstorm","description":"Personal Cloud Sandbox","fork":false,"url":"https://api.github.com/repos/sandstorm-io/sandstorm","forks_url":"https://api.github.com/repos/sandstorm-io/sandstorm/forks","keys_url":"https://api.github.com/repos/sandstorm-io/sandstorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstorm-io/sandstorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstorm-io/sandstorm/teams","hooks_url":"https://api.github.com/repos/sandstorm-io/sandstorm/hooks","issue_events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/events{/number}","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/events","assignees_url":"https://api.github.com/repos/sandstorm-io/sandstorm/assignees{/user}","branches_url":"https://api.github.com/repos/sandstorm-io/sandstorm/branches{/branch}","tags_url":"https://api.github.com/repos/sandstorm-io/sandstorm/tags","blobs_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstorm-io/sandstorm/languages","stargazers_url":"https://api.github.com/repos/sandstorm-io/sandstorm/stargazers","contributors_url":"https://api.github.com/repos/sandstorm-io/sandstorm/contributors","subscribers_url":"https://api.github.com/repos/sandstorm-io/sandstorm/subscribers","subscription_url":"https://api.github.com/repos/sandstorm-io/sandstorm/subscription","commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstorm-io/sandstorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandstorm-io/sandstorm/contents/{+path}","compare_url":"https://api.github.com/repos/sandstorm-io/sandstorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstorm-io/sandstorm/merges","archive_url":"https://api.github.com/repos/sandstorm-io/sandstorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstorm-io/sandstorm/downloads","issues_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues{/number}","pulls_url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstorm-io/sandstorm/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstorm-io/sandstorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/labels{/name}","releases_url":"https://api.github.com/repos/sandstorm-io/sandstorm/releases{/id}","created_at":"2014-01-08T07:10:33Z","updated_at":"2015-10-02T21:07:40Z","pushed_at":"2015-10-02T22:42:34Z","git_url":"git://github.com/sandstorm-io/sandstorm.git","ssh_url":"git@github.com:sandstorm-io/sandstorm.git","clone_url":"https://github.com/sandstorm-io/sandstorm.git","svn_url":"https://github.com/sandstorm-io/sandstorm","homepage":"https://sandstorm.io","size":37170,"stargazers_count":2958,"watchers_count":2958,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":231,"mirror_url":null,"open_issues_count":206,"forks":231,"open_issues":206,"watchers":2958,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/958"},"html":{"href":"https://github.com/sandstorm-io/sandstorm/pull/958"},"issue":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/958"},"comments":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/958/comments"},"review_comments":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/958/comments"},"review_comment":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/958/commits"},"statuses":{"href":"https://api.github.com/repos/sandstorm-io/sandstorm/statuses/2a28167ac813c50cffbf081c816203a3abe57c4d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kentonv","id":4001805,"avatar_url":"https://avatars.githubusercontent.com/u/4001805?v=3","gravatar_id":"","url":"https://api.github.com/users/kentonv","html_url":"https://github.com/kentonv","followers_url":"https://api.github.com/users/kentonv/followers","following_url":"https://api.github.com/users/kentonv/following{/other_user}","gists_url":"https://api.github.com/users/kentonv/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonv/subscriptions","organizations_url":"https://api.github.com/users/kentonv/orgs","repos_url":"https://api.github.com/users/kentonv/repos","events_url":"https://api.github.com/users/kentonv/events{/privacy}","received_events_url":"https://api.github.com/users/kentonv/received_events","type":"User","site_admin":false},"comments":2,"review_comments":7,"commits":7,"additions":1363,"deletions":867,"changed_files":34}}