{"action":"created","comment":{"url":"https://api.github.com/repos/mytardis/mytardis/pulls/comments/207756149","pull_request_review_id":143431204,"id":207756149,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzc1NjE0OQ==","diff_hunk":"@@ -0,0 +1,135 @@\n+import logging\n+\n+from django.conf import settings\n+from django.contrib.sites.models import Site\n+from django.core import mail\n+from django.core.mail import get_connection\n+from django.contrib.auth.models import Permission\n+\n+from celery.task import task","path":"tardis/apps/social_auth/auth/social_auth.py","position":9,"original_position":9,"commit_id":"8306dea1c40a24c7a348ddd5ceb112442f23548c","original_commit_id":"8306dea1c40a24c7a348ddd5ceb112442f23548c","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Unable to import 'celery.task'](https://app.codacy.com/app/mytardis/mytardis/pullRequest?prid=1993817)","created_at":"2018-08-06T01:03:20Z","updated_at":"2018-08-06T01:03:21Z","html_url":"https://github.com/mytardis/mytardis/pull/1211#discussion_r207756149","pull_request_url":"https://api.github.com/repos/mytardis/mytardis/pulls/1211","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mytardis/mytardis/pulls/comments/207756149"},"html":{"href":"https://github.com/mytardis/mytardis/pull/1211#discussion_r207756149"},"pull_request":{"href":"https://api.github.com/repos/mytardis/mytardis/pulls/1211"}}},"pull_request":{"url":"https://api.github.com/repos/mytardis/mytardis/pulls/1211","id":206007198,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MDA3MTk4","html_url":"https://github.com/mytardis/mytardis/pull/1211","diff_url":"https://github.com/mytardis/mytardis/pull/1211.diff","patch_url":"https://github.com/mytardis/mytardis/pull/1211.patch","issue_url":"https://api.github.com/repos/mytardis/mytardis/issues/1211","number":1211,"state":"open","locked":false,"title":"[WIP] Implement OpenID authentication and user migration","user":{"login":"wettenhj","id":2209245,"node_id":"MDQ6VXNlcjIyMDkyNDU=","avatar_url":"https://avatars3.githubusercontent.com/u/2209245?v=4","gravatar_id":"","url":"https://api.github.com/users/wettenhj","html_url":"https://github.com/wettenhj","followers_url":"https://api.github.com/users/wettenhj/followers","following_url":"https://api.github.com/users/wettenhj/following{/other_user}","gists_url":"https://api.github.com/users/wettenhj/gists{/gist_id}","starred_url":"https://api.github.com/users/wettenhj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wettenhj/subscriptions","organizations_url":"https://api.github.com/users/wettenhj/orgs","repos_url":"https://api.github.com/users/wettenhj/repos","events_url":"https://api.github.com/users/wettenhj/events{/privacy}","received_events_url":"https://api.github.com/users/wettenhj/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-03T11:50:33Z","updated_at":"2018-08-06T01:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb68ec8eae37342b617f41f2686063caf29b78cd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mytardis/mytardis/pulls/1211/commits","review_comments_url":"https://api.github.com/repos/mytardis/mytardis/pulls/1211/comments","review_comment_url":"https://api.github.com/repos/mytardis/mytardis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mytardis/mytardis/issues/1211/comments","statuses_url":"https://api.github.com/repos/mytardis/mytardis/statuses/8306dea1c40a24c7a348ddd5ceb112442f23548c","head":{"label":"wettenhj:feature_openid_authentication","ref":"feature_openid_authentication","sha":"8306dea1c40a24c7a348ddd5ceb112442f23548c","user":{"login":"wettenhj","id":2209245,"node_id":"MDQ6VXNlcjIyMDkyNDU=","avatar_url":"https://avatars3.githubusercontent.com/u/2209245?v=4","gravatar_id":"","url":"https://api.github.com/users/wettenhj","html_url":"https://github.com/wettenhj","followers_url":"https://api.github.com/users/wettenhj/followers","following_url":"https://api.github.com/users/wettenhj/following{/other_user}","gists_url":"https://api.github.com/users/wettenhj/gists{/gist_id}","starred_url":"https://api.github.com/users/wettenhj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wettenhj/subscriptions","organizations_url":"https://api.github.com/users/wettenhj/orgs","repos_url":"https://api.github.com/users/wettenhj/repos","events_url":"https://api.github.com/users/wettenhj/events{/privacy}","received_events_url":"https://api.github.com/users/wettenhj/received_events","type":"User","site_admin":false},"repo":{"id":18400238,"node_id":"MDEwOlJlcG9zaXRvcnkxODQwMDIzOA==","name":"mytardis","full_name":"wettenhj/mytardis","owner":{"login":"wettenhj","id":2209245,"node_id":"MDQ6VXNlcjIyMDkyNDU=","avatar_url":"https://avatars3.githubusercontent.com/u/2209245?v=4","gravatar_id":"","url":"https://api.github.com/users/wettenhj","html_url":"https://github.com/wettenhj","followers_url":"https://api.github.com/users/wettenhj/followers","following_url":"https://api.github.com/users/wettenhj/following{/other_user}","gists_url":"https://api.github.com/users/wettenhj/gists{/gist_id}","starred_url":"https://api.github.com/users/wettenhj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wettenhj/subscriptions","organizations_url":"https://api.github.com/users/wettenhj/orgs","repos_url":"https://api.github.com/users/wettenhj/repos","events_url":"https://api.github.com/users/wettenhj/events{/privacy}","received_events_url":"https://api.github.com/users/wettenhj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wettenhj/mytardis","description":"MyTardis - a data management system for private lab/facility data","fork":true,"url":"https://api.github.com/repos/wettenhj/mytardis","forks_url":"https://api.github.com/repos/wettenhj/mytardis/forks","keys_url":"https://api.github.com/repos/wettenhj/mytardis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wettenhj/mytardis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wettenhj/mytardis/teams","hooks_url":"https://api.github.com/repos/wettenhj/mytardis/hooks","issue_events_url":"https://api.github.com/repos/wettenhj/mytardis/issues/events{/number}","events_url":"https://api.github.com/repos/wettenhj/mytardis/events","assignees_url":"https://api.github.com/repos/wettenhj/mytardis/assignees{/user}","branches_url":"https://api.github.com/repos/wettenhj/mytardis/branches{/branch}","tags_url":"https://api.github.com/repos/wettenhj/mytardis/tags","blobs_url":"https://api.github.com/repos/wettenhj/mytardis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wettenhj/mytardis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wettenhj/mytardis/git/refs{/sha}","trees_url":"https://api.github.com/repos/wettenhj/mytardis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wettenhj/mytardis/statuses/{sha}","languages_url":"https://api.github.com/repos/wettenhj/mytardis/languages","stargazers_url":"https://api.github.com/repos/wettenhj/mytardis/stargazers","contributors_url":"https://api.github.com/repos/wettenhj/mytardis/contributors","subscribers_url":"https://api.github.com/repos/wettenhj/mytardis/subscribers","subscription_url":"https://api.github.com/repos/wettenhj/mytardis/subscription","commits_url":"https://api.github.com/repos/wettenhj/mytardis/commits{/sha}","git_commits_url":"https://api.github.com/repos/wettenhj/mytardis/git/commits{/sha}","comments_url":"https://api.github.com/repos/wettenhj/mytardis/comments{/number}","issue_comment_url":"https://api.github.com/repos/wettenhj/mytardis/issues/comments{/number}","contents_url":"https://api.github.com/repos/wettenhj/mytardis/contents/{+path}","compare_url":"https://api.github.com/repos/wettenhj/mytardis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wettenhj/mytardis/merges","archive_url":"https://api.github.com/repos/wettenhj/mytardis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wettenhj/mytardis/downloads","issues_url":"https://api.github.com/repos/wettenhj/mytardis/issues{/number}","pulls_url":"https://api.github.com/repos/wettenhj/mytardis/pulls{/number}","milestones_url":"https://api.github.com/repos/wettenhj/mytardis/milestones{/number}","notifications_url":"https://api.github.com/repos/wettenhj/mytardis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wettenhj/mytardis/labels{/name}","releases_url":"https://api.github.com/repos/wettenhj/mytardis/releases{/id}","deployments_url":"https://api.github.com/repos/wettenhj/mytardis/deployments","created_at":"2014-04-03T11:12:51Z","updated_at":"2018-08-05T12:44:48Z","pushed_at":"2018-08-06T01:01:28Z","git_url":"git://github.com/wettenhj/mytardis.git","ssh_url":"git@github.com:wettenhj/mytardis.git","clone_url":"https://github.com/wettenhj/mytardis.git","svn_url":"https://github.com/wettenhj/mytardis","homepage":"http://mytardis.github.com","size":33057,"stargazers_count":0,"watchers_count":0,"language":"Python","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":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"mytardis:develop","ref":"develop","sha":"61d3da318673891df3493dc705e1613469ab0c90","user":{"login":"mytardis","id":1234844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMzQ4NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1234844?v=4","gravatar_id":"","url":"https://api.github.com/users/mytardis","html_url":"https://github.com/mytardis","followers_url":"https://api.github.com/users/mytardis/followers","following_url":"https://api.github.com/users/mytardis/following{/other_user}","gists_url":"https://api.github.com/users/mytardis/gists{/gist_id}","starred_url":"https://api.github.com/users/mytardis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mytardis/subscriptions","organizations_url":"https://api.github.com/users/mytardis/orgs","repos_url":"https://api.github.com/users/mytardis/repos","events_url":"https://api.github.com/users/mytardis/events{/privacy}","received_events_url":"https://api.github.com/users/mytardis/received_events","type":"Organization","site_admin":false},"repo":{"id":2824643,"node_id":"MDEwOlJlcG9zaXRvcnkyODI0NjQz","name":"mytardis","full_name":"mytardis/mytardis","owner":{"login":"mytardis","id":1234844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMzQ4NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1234844?v=4","gravatar_id":"","url":"https://api.github.com/users/mytardis","html_url":"https://github.com/mytardis","followers_url":"https://api.github.com/users/mytardis/followers","following_url":"https://api.github.com/users/mytardis/following{/other_user}","gists_url":"https://api.github.com/users/mytardis/gists{/gist_id}","starred_url":"https://api.github.com/users/mytardis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mytardis/subscriptions","organizations_url":"https://api.github.com/users/mytardis/orgs","repos_url":"https://api.github.com/users/mytardis/repos","events_url":"https://api.github.com/users/mytardis/events{/privacy}","received_events_url":"https://api.github.com/users/mytardis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mytardis/mytardis","description":"MyTardis - a data management system for private lab/facility data","fork":false,"url":"https://api.github.com/repos/mytardis/mytardis","forks_url":"https://api.github.com/repos/mytardis/mytardis/forks","keys_url":"https://api.github.com/repos/mytardis/mytardis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mytardis/mytardis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mytardis/mytardis/teams","hooks_url":"https://api.github.com/repos/mytardis/mytardis/hooks","issue_events_url":"https://api.github.com/repos/mytardis/mytardis/issues/events{/number}","events_url":"https://api.github.com/repos/mytardis/mytardis/events","assignees_url":"https://api.github.com/repos/mytardis/mytardis/assignees{/user}","branches_url":"https://api.github.com/repos/mytardis/mytardis/branches{/branch}","tags_url":"https://api.github.com/repos/mytardis/mytardis/tags","blobs_url":"https://api.github.com/repos/mytardis/mytardis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mytardis/mytardis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mytardis/mytardis/git/refs{/sha}","trees_url":"https://api.github.com/repos/mytardis/mytardis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mytardis/mytardis/statuses/{sha}","languages_url":"https://api.github.com/repos/mytardis/mytardis/languages","stargazers_url":"https://api.github.com/repos/mytardis/mytardis/stargazers","contributors_url":"https://api.github.com/repos/mytardis/mytardis/contributors","subscribers_url":"https://api.github.com/repos/mytardis/mytardis/subscribers","subscription_url":"https://api.github.com/repos/mytardis/mytardis/subscription","commits_url":"https://api.github.com/repos/mytardis/mytardis/commits{/sha}","git_commits_url":"https://api.github.com/repos/mytardis/mytardis/git/commits{/sha}","comments_url":"https://api.github.com/repos/mytardis/mytardis/comments{/number}","issue_comment_url":"https://api.github.com/repos/mytardis/mytardis/issues/comments{/number}","contents_url":"https://api.github.com/repos/mytardis/mytardis/contents/{+path}","compare_url":"https://api.github.com/repos/mytardis/mytardis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mytardis/mytardis/merges","archive_url":"https://api.github.com/repos/mytardis/mytardis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mytardis/mytardis/downloads","issues_url":"https://api.github.com/repos/mytardis/mytardis/issues{/number}","pulls_url":"https://api.github.com/repos/mytardis/mytardis/pulls{/number}","milestones_url":"https://api.github.com/repos/mytardis/mytardis/milestones{/number}","notifications_url":"https://api.github.com/repos/mytardis/mytardis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mytardis/mytardis/labels{/name}","releases_url":"https://api.github.com/repos/mytardis/mytardis/releases{/id}","deployments_url":"https://api.github.com/repos/mytardis/mytardis/deployments","created_at":"2011-11-22T01:48:28Z","updated_at":"2018-08-05T13:11:54Z","pushed_at":"2018-08-06T01:01:29Z","git_url":"git://github.com/mytardis/mytardis.git","ssh_url":"git@github.com:mytardis/mytardis.git","clone_url":"https://github.com/mytardis/mytardis.git","svn_url":"https://github.com/mytardis/mytardis","homepage":"http://mytardis.org","size":29875,"stargazers_count":53,"watchers_count":53,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":56,"open_issues":89,"watchers":53,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/mytardis/mytardis/pulls/1211"},"html":{"href":"https://github.com/mytardis/mytardis/pull/1211"},"issue":{"href":"https://api.github.com/repos/mytardis/mytardis/issues/1211"},"comments":{"href":"https://api.github.com/repos/mytardis/mytardis/issues/1211/comments"},"review_comments":{"href":"https://api.github.com/repos/mytardis/mytardis/pulls/1211/comments"},"review_comment":{"href":"https://api.github.com/repos/mytardis/mytardis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mytardis/mytardis/pulls/1211/commits"},"statuses":{"href":"https://api.github.com/repos/mytardis/mytardis/statuses/8306dea1c40a24c7a348ddd5ceb112442f23548c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}