{"action":"created","comment":{"url":"https://api.github.com/repos/pypa/warehouse/pulls/comments/186513224","pull_request_review_id":118106315,"id":186513224,"diff_hunk":"@@ -0,0 +1 @@\n+Role changed on PyPI for project {{ project }}","path":"warehouse/templates/email/user-role-changed.subject.txt","position":1,"original_position":1,"commit_id":"0baa4d02df33281331387ad9c1d64440a07b30d1","original_commit_id":"0baa4d02df33281331387ad9c1d64440a07b30d1","user":{"login":"di","id":294415,"avatar_url":"https://avatars1.githubusercontent.com/u/294415?v=4","gravatar_id":"","url":"https://api.github.com/users/di","html_url":"https://github.com/di","followers_url":"https://api.github.com/users/di/followers","following_url":"https://api.github.com/users/di/following{/other_user}","gists_url":"https://api.github.com/users/di/gists{/gist_id}","starred_url":"https://api.github.com/users/di/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/di/subscriptions","organizations_url":"https://api.github.com/users/di/orgs","repos_url":"https://api.github.com/users/di/repos","events_url":"https://api.github.com/users/di/events{/privacy}","received_events_url":"https://api.github.com/users/di/received_events","type":"User","site_admin":false},"body":"Remove \"on PyPI\" here as well.","created_at":"2018-05-07T18:49:00Z","updated_at":"2018-05-07T18:54:07Z","html_url":"https://github.com/pypa/warehouse/pull/3853#discussion_r186513224","pull_request_url":"https://api.github.com/repos/pypa/warehouse/pulls/3853","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/comments/186513224"},"html":{"href":"https://github.com/pypa/warehouse/pull/3853#discussion_r186513224"},"pull_request":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/3853"}}},"pull_request":{"url":"https://api.github.com/repos/pypa/warehouse/pulls/3853","id":184822355,"html_url":"https://github.com/pypa/warehouse/pull/3853","diff_url":"https://github.com/pypa/warehouse/pull/3853.diff","patch_url":"https://github.com/pypa/warehouse/pull/3853.patch","issue_url":"https://api.github.com/repos/pypa/warehouse/issues/3853","number":3853,"state":"open","locked":false,"title":"Email notification when user's role is changed/removed.","user":{"login":"waseem18","id":5843007,"avatar_url":"https://avatars2.githubusercontent.com/u/5843007?v=4","gravatar_id":"","url":"https://api.github.com/users/waseem18","html_url":"https://github.com/waseem18","followers_url":"https://api.github.com/users/waseem18/followers","following_url":"https://api.github.com/users/waseem18/following{/other_user}","gists_url":"https://api.github.com/users/waseem18/gists{/gist_id}","starred_url":"https://api.github.com/users/waseem18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waseem18/subscriptions","organizations_url":"https://api.github.com/users/waseem18/orgs","repos_url":"https://api.github.com/users/waseem18/repos","events_url":"https://api.github.com/users/waseem18/events{/privacy}","received_events_url":"https://api.github.com/users/waseem18/received_events","type":"User","site_admin":false},"body":"PR which addresses issues on #3306 \r\n- Send email to the user whose role has been changed/removed.\r\n- Send email to other owners of the project.\r\n- The person who made the change will not receive the email.\r\n\r\nCloses https://github.com/pypa/warehouse/issues/3264","created_at":"2018-04-29T07:36:27Z","updated_at":"2018-05-07T18:54:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1be99cf4f9e79c788f436322754598fe072bd0b5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pypa/warehouse/pulls/3853/commits","review_comments_url":"https://api.github.com/repos/pypa/warehouse/pulls/3853/comments","review_comment_url":"https://api.github.com/repos/pypa/warehouse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pypa/warehouse/issues/3853/comments","statuses_url":"https://api.github.com/repos/pypa/warehouse/statuses/0baa4d02df33281331387ad9c1d64440a07b30d1","head":{"label":"waseem18:issue-3264","ref":"issue-3264","sha":"0baa4d02df33281331387ad9c1d64440a07b30d1","user":{"login":"waseem18","id":5843007,"avatar_url":"https://avatars2.githubusercontent.com/u/5843007?v=4","gravatar_id":"","url":"https://api.github.com/users/waseem18","html_url":"https://github.com/waseem18","followers_url":"https://api.github.com/users/waseem18/followers","following_url":"https://api.github.com/users/waseem18/following{/other_user}","gists_url":"https://api.github.com/users/waseem18/gists{/gist_id}","starred_url":"https://api.github.com/users/waseem18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waseem18/subscriptions","organizations_url":"https://api.github.com/users/waseem18/orgs","repos_url":"https://api.github.com/users/waseem18/repos","events_url":"https://api.github.com/users/waseem18/events{/privacy}","received_events_url":"https://api.github.com/users/waseem18/received_events","type":"User","site_admin":false},"repo":{"id":121036183,"name":"warehouse","full_name":"waseem18/warehouse","owner":{"login":"waseem18","id":5843007,"avatar_url":"https://avatars2.githubusercontent.com/u/5843007?v=4","gravatar_id":"","url":"https://api.github.com/users/waseem18","html_url":"https://github.com/waseem18","followers_url":"https://api.github.com/users/waseem18/followers","following_url":"https://api.github.com/users/waseem18/following{/other_user}","gists_url":"https://api.github.com/users/waseem18/gists{/gist_id}","starred_url":"https://api.github.com/users/waseem18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waseem18/subscriptions","organizations_url":"https://api.github.com/users/waseem18/orgs","repos_url":"https://api.github.com/users/waseem18/repos","events_url":"https://api.github.com/users/waseem18/events{/privacy}","received_events_url":"https://api.github.com/users/waseem18/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waseem18/warehouse","description":"Next Generation Python Package Repository","fork":true,"url":"https://api.github.com/repos/waseem18/warehouse","forks_url":"https://api.github.com/repos/waseem18/warehouse/forks","keys_url":"https://api.github.com/repos/waseem18/warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waseem18/warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waseem18/warehouse/teams","hooks_url":"https://api.github.com/repos/waseem18/warehouse/hooks","issue_events_url":"https://api.github.com/repos/waseem18/warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/waseem18/warehouse/events","assignees_url":"https://api.github.com/repos/waseem18/warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/waseem18/warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/waseem18/warehouse/tags","blobs_url":"https://api.github.com/repos/waseem18/warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waseem18/warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waseem18/warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/waseem18/warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waseem18/warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/waseem18/warehouse/languages","stargazers_url":"https://api.github.com/repos/waseem18/warehouse/stargazers","contributors_url":"https://api.github.com/repos/waseem18/warehouse/contributors","subscribers_url":"https://api.github.com/repos/waseem18/warehouse/subscribers","subscription_url":"https://api.github.com/repos/waseem18/warehouse/subscription","commits_url":"https://api.github.com/repos/waseem18/warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/waseem18/warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/waseem18/warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/waseem18/warehouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/waseem18/warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/waseem18/warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waseem18/warehouse/merges","archive_url":"https://api.github.com/repos/waseem18/warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waseem18/warehouse/downloads","issues_url":"https://api.github.com/repos/waseem18/warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/waseem18/warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/waseem18/warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/waseem18/warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waseem18/warehouse/labels{/name}","releases_url":"https://api.github.com/repos/waseem18/warehouse/releases{/id}","deployments_url":"https://api.github.com/repos/waseem18/warehouse/deployments","created_at":"2018-02-10T17:16:21Z","updated_at":"2018-02-10T17:16:24Z","pushed_at":"2018-05-05T20:20:09Z","git_url":"git://github.com/waseem18/warehouse.git","ssh_url":"git@github.com:waseem18/warehouse.git","clone_url":"https://github.com/waseem18/warehouse.git","svn_url":"https://github.com/waseem18/warehouse","homepage":"https://pypi.org/","size":66003,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pypa:master","ref":"master","sha":"344adb18a5622def5d1bcd563c579f35407442e3","user":{"login":"pypa","id":647025,"avatar_url":"https://avatars2.githubusercontent.com/u/647025?v=4","gravatar_id":"","url":"https://api.github.com/users/pypa","html_url":"https://github.com/pypa","followers_url":"https://api.github.com/users/pypa/followers","following_url":"https://api.github.com/users/pypa/following{/other_user}","gists_url":"https://api.github.com/users/pypa/gists{/gist_id}","starred_url":"https://api.github.com/users/pypa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypa/subscriptions","organizations_url":"https://api.github.com/users/pypa/orgs","repos_url":"https://api.github.com/users/pypa/repos","events_url":"https://api.github.com/users/pypa/events{/privacy}","received_events_url":"https://api.github.com/users/pypa/received_events","type":"Organization","site_admin":false},"repo":{"id":9120498,"name":"warehouse","full_name":"pypa/warehouse","owner":{"login":"pypa","id":647025,"avatar_url":"https://avatars2.githubusercontent.com/u/647025?v=4","gravatar_id":"","url":"https://api.github.com/users/pypa","html_url":"https://github.com/pypa","followers_url":"https://api.github.com/users/pypa/followers","following_url":"https://api.github.com/users/pypa/following{/other_user}","gists_url":"https://api.github.com/users/pypa/gists{/gist_id}","starred_url":"https://api.github.com/users/pypa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypa/subscriptions","organizations_url":"https://api.github.com/users/pypa/orgs","repos_url":"https://api.github.com/users/pypa/repos","events_url":"https://api.github.com/users/pypa/events{/privacy}","received_events_url":"https://api.github.com/users/pypa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pypa/warehouse","description":"Next Generation Python Package Repository","fork":false,"url":"https://api.github.com/repos/pypa/warehouse","forks_url":"https://api.github.com/repos/pypa/warehouse/forks","keys_url":"https://api.github.com/repos/pypa/warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pypa/warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pypa/warehouse/teams","hooks_url":"https://api.github.com/repos/pypa/warehouse/hooks","issue_events_url":"https://api.github.com/repos/pypa/warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/pypa/warehouse/events","assignees_url":"https://api.github.com/repos/pypa/warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/pypa/warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/pypa/warehouse/tags","blobs_url":"https://api.github.com/repos/pypa/warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pypa/warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pypa/warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/pypa/warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pypa/warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/pypa/warehouse/languages","stargazers_url":"https://api.github.com/repos/pypa/warehouse/stargazers","contributors_url":"https://api.github.com/repos/pypa/warehouse/contributors","subscribers_url":"https://api.github.com/repos/pypa/warehouse/subscribers","subscription_url":"https://api.github.com/repos/pypa/warehouse/subscription","commits_url":"https://api.github.com/repos/pypa/warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/pypa/warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/pypa/warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/pypa/warehouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/pypa/warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/pypa/warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pypa/warehouse/merges","archive_url":"https://api.github.com/repos/pypa/warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pypa/warehouse/downloads","issues_url":"https://api.github.com/repos/pypa/warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/pypa/warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/pypa/warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/pypa/warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pypa/warehouse/labels{/name}","releases_url":"https://api.github.com/repos/pypa/warehouse/releases{/id}","deployments_url":"https://api.github.com/repos/pypa/warehouse/deployments","created_at":"2013-03-30T19:03:53Z","updated_at":"2018-05-07T18:44:20Z","pushed_at":"2018-05-07T18:44:15Z","git_url":"git://github.com/pypa/warehouse.git","ssh_url":"git@github.com:pypa/warehouse.git","clone_url":"https://github.com/pypa/warehouse.git","svn_url":"https://github.com/pypa/warehouse","homepage":"https://pypi.org/","size":65929,"stargazers_count":1732,"watchers_count":1732,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":347,"mirror_url":null,"archived":false,"open_issues_count":213,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":347,"open_issues":213,"watchers":1732,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/3853"},"html":{"href":"https://github.com/pypa/warehouse/pull/3853"},"issue":{"href":"https://api.github.com/repos/pypa/warehouse/issues/3853"},"comments":{"href":"https://api.github.com/repos/pypa/warehouse/issues/3853/comments"},"review_comments":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/3853/comments"},"review_comment":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pypa/warehouse/pulls/3853/commits"},"statuses":{"href":"https://api.github.com/repos/pypa/warehouse/statuses/0baa4d02df33281331387ad9c1d64440a07b30d1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"di"}}