{"action":"created","comment":{"url":"https://api.github.com/repos/fabianvf/scrapi/pulls/comments/31923940","id":31923940,"diff_hunk":"@@ -36,9 +36,22 @@ def renormalize(sources=None):\n \n \n @task\n-def rename(source, target, dry=True):\n-    from scripts.rename import rename\n-    rename(source, target, dry)\n+def migrate(migration, kwargs_string, dry=True, async=False):\n+    settings.CELERY_ALWAYS_EAGER = not async","path":"tasks.py","position":8,"original_position":8,"commit_id":"e6075517a3b7f0aa8ab90bc0b39ee43efcec699f","original_commit_id":"e6075517a3b7f0aa8ab90bc0b39ee43efcec699f","user":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"body":"Is this necessary?","created_at":"2015-06-08T15:08:08Z","updated_at":"2015-06-08T15:08:08Z","html_url":"https://github.com/fabianvf/scrapi/pull/220#discussion_r31923940","pull_request_url":"https://api.github.com/repos/fabianvf/scrapi/pulls/220","_links":{"self":{"href":"https://api.github.com/repos/fabianvf/scrapi/pulls/comments/31923940"},"html":{"href":"https://github.com/fabianvf/scrapi/pull/220#discussion_r31923940"},"pull_request":{"href":"https://api.github.com/repos/fabianvf/scrapi/pulls/220"}}},"pull_request":{"url":"https://api.github.com/repos/fabianvf/scrapi/pulls/220","id":37160008,"html_url":"https://github.com/fabianvf/scrapi/pull/220","diff_url":"https://github.com/fabianvf/scrapi/pull/220.diff","patch_url":"https://github.com/fabianvf/scrapi/pull/220.patch","issue_url":"https://api.github.com/repos/fabianvf/scrapi/issues/220","number":220,"state":"open","locked":false,"title":"Update migrations to use celery - rename task","user":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-08T14:39:35Z","updated_at":"2015-06-08T15:08:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4d619e6538b6a990299a2f9bbf4b194e60bc9eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fabianvf/scrapi/pulls/220/commits","review_comments_url":"https://api.github.com/repos/fabianvf/scrapi/pulls/220/comments","review_comment_url":"https://api.github.com/repos/fabianvf/scrapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fabianvf/scrapi/issues/220/comments","statuses_url":"https://api.github.com/repos/fabianvf/scrapi/statuses/e6075517a3b7f0aa8ab90bc0b39ee43efcec699f","head":{"label":"erinspace:celery_updates","ref":"celery_updates","sha":"e6075517a3b7f0aa8ab90bc0b39ee43efcec699f","user":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"repo":{"id":21392337,"name":"scrapi","full_name":"erinspace/scrapi","owner":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erinspace/scrapi","description":"Scrapers + api ","fork":true,"url":"https://api.github.com/repos/erinspace/scrapi","forks_url":"https://api.github.com/repos/erinspace/scrapi/forks","keys_url":"https://api.github.com/repos/erinspace/scrapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erinspace/scrapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erinspace/scrapi/teams","hooks_url":"https://api.github.com/repos/erinspace/scrapi/hooks","issue_events_url":"https://api.github.com/repos/erinspace/scrapi/issues/events{/number}","events_url":"https://api.github.com/repos/erinspace/scrapi/events","assignees_url":"https://api.github.com/repos/erinspace/scrapi/assignees{/user}","branches_url":"https://api.github.com/repos/erinspace/scrapi/branches{/branch}","tags_url":"https://api.github.com/repos/erinspace/scrapi/tags","blobs_url":"https://api.github.com/repos/erinspace/scrapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erinspace/scrapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erinspace/scrapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/erinspace/scrapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erinspace/scrapi/statuses/{sha}","languages_url":"https://api.github.com/repos/erinspace/scrapi/languages","stargazers_url":"https://api.github.com/repos/erinspace/scrapi/stargazers","contributors_url":"https://api.github.com/repos/erinspace/scrapi/contributors","subscribers_url":"https://api.github.com/repos/erinspace/scrapi/subscribers","subscription_url":"https://api.github.com/repos/erinspace/scrapi/subscription","commits_url":"https://api.github.com/repos/erinspace/scrapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/erinspace/scrapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/erinspace/scrapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/erinspace/scrapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/erinspace/scrapi/contents/{+path}","compare_url":"https://api.github.com/repos/erinspace/scrapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erinspace/scrapi/merges","archive_url":"https://api.github.com/repos/erinspace/scrapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erinspace/scrapi/downloads","issues_url":"https://api.github.com/repos/erinspace/scrapi/issues{/number}","pulls_url":"https://api.github.com/repos/erinspace/scrapi/pulls{/number}","milestones_url":"https://api.github.com/repos/erinspace/scrapi/milestones{/number}","notifications_url":"https://api.github.com/repos/erinspace/scrapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erinspace/scrapi/labels{/name}","releases_url":"https://api.github.com/repos/erinspace/scrapi/releases{/id}","created_at":"2014-07-01T15:12:14Z","updated_at":"2015-05-08T18:35:53Z","pushed_at":"2015-06-08T14:55:29Z","git_url":"git://github.com/erinspace/scrapi.git","ssh_url":"git@github.com:erinspace/scrapi.git","clone_url":"https://github.com/erinspace/scrapi.git","svn_url":"https://github.com/erinspace/scrapi","homepage":null,"size":28341,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"fabianvf:develop","ref":"develop","sha":"fcca7dfeb048aa66e1f284eed470e307904868b0","user":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"repo":{"id":21210102,"name":"scrapi","full_name":"fabianvf/scrapi","owner":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabianvf/scrapi","description":"A data processing pipeline that schedules and runs content harvesters, normalizes their data, and outputs that normalized data to a variety of output streams. Data collected can be explored at https://osf.io/share/, and viewed at https://osf.io/api/v1/share/search/. Developer docs can be viewed at https://osf.io/wur56/wiki","fork":false,"url":"https://api.github.com/repos/fabianvf/scrapi","forks_url":"https://api.github.com/repos/fabianvf/scrapi/forks","keys_url":"https://api.github.com/repos/fabianvf/scrapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabianvf/scrapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabianvf/scrapi/teams","hooks_url":"https://api.github.com/repos/fabianvf/scrapi/hooks","issue_events_url":"https://api.github.com/repos/fabianvf/scrapi/issues/events{/number}","events_url":"https://api.github.com/repos/fabianvf/scrapi/events","assignees_url":"https://api.github.com/repos/fabianvf/scrapi/assignees{/user}","branches_url":"https://api.github.com/repos/fabianvf/scrapi/branches{/branch}","tags_url":"https://api.github.com/repos/fabianvf/scrapi/tags","blobs_url":"https://api.github.com/repos/fabianvf/scrapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabianvf/scrapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabianvf/scrapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabianvf/scrapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabianvf/scrapi/statuses/{sha}","languages_url":"https://api.github.com/repos/fabianvf/scrapi/languages","stargazers_url":"https://api.github.com/repos/fabianvf/scrapi/stargazers","contributors_url":"https://api.github.com/repos/fabianvf/scrapi/contributors","subscribers_url":"https://api.github.com/repos/fabianvf/scrapi/subscribers","subscription_url":"https://api.github.com/repos/fabianvf/scrapi/subscription","commits_url":"https://api.github.com/repos/fabianvf/scrapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabianvf/scrapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabianvf/scrapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabianvf/scrapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabianvf/scrapi/contents/{+path}","compare_url":"https://api.github.com/repos/fabianvf/scrapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabianvf/scrapi/merges","archive_url":"https://api.github.com/repos/fabianvf/scrapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabianvf/scrapi/downloads","issues_url":"https://api.github.com/repos/fabianvf/scrapi/issues{/number}","pulls_url":"https://api.github.com/repos/fabianvf/scrapi/pulls{/number}","milestones_url":"https://api.github.com/repos/fabianvf/scrapi/milestones{/number}","notifications_url":"https://api.github.com/repos/fabianvf/scrapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabianvf/scrapi/labels{/name}","releases_url":"https://api.github.com/repos/fabianvf/scrapi/releases{/id}","created_at":"2014-06-25T16:21:08Z","updated_at":"2015-05-07T15:36:27Z","pushed_at":"2015-06-08T14:55:30Z","git_url":"git://github.com/fabianvf/scrapi.git","ssh_url":"git@github.com:fabianvf/scrapi.git","clone_url":"https://github.com/fabianvf/scrapi.git","svn_url":"https://github.com/fabianvf/scrapi","homepage":"","size":31138,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":17,"forks":20,"open_issues":17,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/fabianvf/scrapi/pulls/220"},"html":{"href":"https://github.com/fabianvf/scrapi/pull/220"},"issue":{"href":"https://api.github.com/repos/fabianvf/scrapi/issues/220"},"comments":{"href":"https://api.github.com/repos/fabianvf/scrapi/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/fabianvf/scrapi/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/fabianvf/scrapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fabianvf/scrapi/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/fabianvf/scrapi/statuses/e6075517a3b7f0aa8ab90bc0b39ee43efcec699f"}}}}