{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/mozillians/pulls/comments/45859036","id":45859036,"diff_hunk":"@@ -865,6 +869,15 @@ def __unicode__(self):\n         return self.type\n \n \n+@receiver(dbsignals.post_save, sender=ExternalAccount, dispatch_uid='add_employee_vouch_sig')\n+def add_employee_vouch(sender, instance, **kwargs):\n+    \"\"\"Add a vouch if an alternate email address is a mozilla* address.\"\"\"\n+\n+    if kwargs.get('raw') or not instance.type == ExternalAccount.TYPE_EMAIL:","path":"mozillians/users/models.py","position":31,"original_position":31,"commit_id":"41f56dce6078381302c7eb9e62bd685861b5cbfd","original_commit_id":"41f56dce6078381302c7eb9e62bd685861b5cbfd","user":{"login":"johngian","id":835321,"avatar_url":"https://avatars.githubusercontent.com/u/835321?v=3","gravatar_id":"","url":"https://api.github.com/users/johngian","html_url":"https://github.com/johngian","followers_url":"https://api.github.com/users/johngian/followers","following_url":"https://api.github.com/users/johngian/following{/other_user}","gists_url":"https://api.github.com/users/johngian/gists{/gist_id}","starred_url":"https://api.github.com/users/johngian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngian/subscriptions","organizations_url":"https://api.github.com/users/johngian/orgs","repos_url":"https://api.github.com/users/johngian/repos","events_url":"https://api.github.com/users/johngian/events{/privacy}","received_events_url":"https://api.github.com/users/johngian/received_events","type":"User","site_admin":false},"body":"Why do we need ``kwargs.get('raw')``?","created_at":"2015-11-25T12:04:19Z","updated_at":"2015-11-25T12:04:19Z","html_url":"https://github.com/mozilla/mozillians/pull/1265#discussion_r45859036","pull_request_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1265","_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/comments/45859036"},"html":{"href":"https://github.com/mozilla/mozillians/pull/1265#discussion_r45859036"},"pull_request":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1265"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/mozillians/pulls/1265","id":51674057,"html_url":"https://github.com/mozilla/mozillians/pull/1265","diff_url":"https://github.com/mozilla/mozillians/pull/1265.diff","patch_url":"https://github.com/mozilla/mozillians/pull/1265.patch","issue_url":"https://api.github.com/repos/mozilla/mozillians/issues/1265","number":1265,"state":"open","locked":false,"title":"Vouch mozilla addresses","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"body":"@johngian or @glogiotatidis r?","created_at":"2015-11-24T15:29:51Z","updated_at":"2015-11-25T12:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3c1080182b9b148716d353aab1bcda15a837faf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1265/commits","review_comments_url":"https://api.github.com/repos/mozilla/mozillians/pulls/1265/comments","review_comment_url":"https://api.github.com/repos/mozilla/mozillians/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/mozillians/issues/1265/comments","statuses_url":"https://api.github.com/repos/mozilla/mozillians/statuses/41f56dce6078381302c7eb9e62bd685861b5cbfd","head":{"label":"akatsoulas:vouch-mozilla-addresses","ref":"vouch-mozilla-addresses","sha":"41f56dce6078381302c7eb9e62bd685861b5cbfd","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"repo":{"id":9349413,"name":"mozillians","full_name":"akatsoulas/mozillians","owner":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akatsoulas/mozillians","description":"Mozilla community directory -- A centralized directory of all Mozilla contributors!","fork":true,"url":"https://api.github.com/repos/akatsoulas/mozillians","forks_url":"https://api.github.com/repos/akatsoulas/mozillians/forks","keys_url":"https://api.github.com/repos/akatsoulas/mozillians/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akatsoulas/mozillians/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akatsoulas/mozillians/teams","hooks_url":"https://api.github.com/repos/akatsoulas/mozillians/hooks","issue_events_url":"https://api.github.com/repos/akatsoulas/mozillians/issues/events{/number}","events_url":"https://api.github.com/repos/akatsoulas/mozillians/events","assignees_url":"https://api.github.com/repos/akatsoulas/mozillians/assignees{/user}","branches_url":"https://api.github.com/repos/akatsoulas/mozillians/branches{/branch}","tags_url":"https://api.github.com/repos/akatsoulas/mozillians/tags","blobs_url":"https://api.github.com/repos/akatsoulas/mozillians/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akatsoulas/mozillians/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akatsoulas/mozillians/git/refs{/sha}","trees_url":"https://api.github.com/repos/akatsoulas/mozillians/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akatsoulas/mozillians/statuses/{sha}","languages_url":"https://api.github.com/repos/akatsoulas/mozillians/languages","stargazers_url":"https://api.github.com/repos/akatsoulas/mozillians/stargazers","contributors_url":"https://api.github.com/repos/akatsoulas/mozillians/contributors","subscribers_url":"https://api.github.com/repos/akatsoulas/mozillians/subscribers","subscription_url":"https://api.github.com/repos/akatsoulas/mozillians/subscription","commits_url":"https://api.github.com/repos/akatsoulas/mozillians/commits{/sha}","git_commits_url":"https://api.github.com/repos/akatsoulas/mozillians/git/commits{/sha}","comments_url":"https://api.github.com/repos/akatsoulas/mozillians/comments{/number}","issue_comment_url":"https://api.github.com/repos/akatsoulas/mozillians/issues/comments{/number}","contents_url":"https://api.github.com/repos/akatsoulas/mozillians/contents/{+path}","compare_url":"https://api.github.com/repos/akatsoulas/mozillians/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akatsoulas/mozillians/merges","archive_url":"https://api.github.com/repos/akatsoulas/mozillians/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akatsoulas/mozillians/downloads","issues_url":"https://api.github.com/repos/akatsoulas/mozillians/issues{/number}","pulls_url":"https://api.github.com/repos/akatsoulas/mozillians/pulls{/number}","milestones_url":"https://api.github.com/repos/akatsoulas/mozillians/milestones{/number}","notifications_url":"https://api.github.com/repos/akatsoulas/mozillians/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akatsoulas/mozillians/labels{/name}","releases_url":"https://api.github.com/repos/akatsoulas/mozillians/releases{/id}","created_at":"2013-04-10T15:34:24Z","updated_at":"2015-04-27T09:37:22Z","pushed_at":"2015-11-25T10:10:01Z","git_url":"git://github.com/akatsoulas/mozillians.git","ssh_url":"git@github.com:akatsoulas/mozillians.git","clone_url":"https://github.com/akatsoulas/mozillians.git","svn_url":"https://github.com/akatsoulas/mozillians","homepage":"https://mozillians.org/","size":31263,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"eed8b5982bc984c6e8d5fa24ebee2b29697428bc","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1799884,"name":"mozillians","full_name":"mozilla/mozillians","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/mozillians","description":"Mozilla community directory -- A centralized directory of all Mozilla contributors!","fork":false,"url":"https://api.github.com/repos/mozilla/mozillians","forks_url":"https://api.github.com/repos/mozilla/mozillians/forks","keys_url":"https://api.github.com/repos/mozilla/mozillians/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mozillians/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mozillians/teams","hooks_url":"https://api.github.com/repos/mozilla/mozillians/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mozillians/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mozillians/events","assignees_url":"https://api.github.com/repos/mozilla/mozillians/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mozillians/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mozillians/tags","blobs_url":"https://api.github.com/repos/mozilla/mozillians/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mozillians/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mozillians/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mozillians/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mozillians/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mozillians/languages","stargazers_url":"https://api.github.com/repos/mozilla/mozillians/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mozillians/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mozillians/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mozillians/subscription","commits_url":"https://api.github.com/repos/mozilla/mozillians/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mozillians/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mozillians/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mozillians/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/mozillians/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mozillians/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mozillians/merges","archive_url":"https://api.github.com/repos/mozilla/mozillians/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mozillians/downloads","issues_url":"https://api.github.com/repos/mozilla/mozillians/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mozillians/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mozillians/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mozillians/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mozillians/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mozillians/releases{/id}","created_at":"2011-05-25T16:38:54Z","updated_at":"2015-11-04T16:43:40Z","pushed_at":"2015-11-25T11:48:56Z","git_url":"git://github.com/mozilla/mozillians.git","ssh_url":"git@github.com:mozilla/mozillians.git","clone_url":"https://github.com/mozilla/mozillians.git","svn_url":"https://github.com/mozilla/mozillians","homepage":"https://mozillians.org/","size":33180,"stargazers_count":160,"watchers_count":160,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":17,"forks":280,"open_issues":17,"watchers":160,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1265"},"html":{"href":"https://github.com/mozilla/mozillians/pull/1265"},"issue":{"href":"https://api.github.com/repos/mozilla/mozillians/issues/1265"},"comments":{"href":"https://api.github.com/repos/mozilla/mozillians/issues/1265/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1265/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mozillians/pulls/1265/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mozillians/statuses/41f56dce6078381302c7eb9e62bd685861b5cbfd"}}}}