{"action":"created","comment":{"url":"https://api.github.com/repos/c2corg/v6_api/pulls/comments/103442595","pull_request_review_id":24226995,"id":103442595,"diff_hunk":"@@ -15,6 +15,7 @@ def migrate(self):\n             self.session_target.execute(SQL_DOCUMENT_CREATE_CHANGE)\n             self.session_target.execute(SQL_AREAS_FOR_CHANGES)\n             self.session_target.execute(SQL_ACTIVITIES_FOR_CHANGES)\n+            self.session_target.exececute(SQL_LANGUAGES_FOR_CHANGES)","path":"c2corg_api/scripts/migration/init_feed.py","position":4,"original_position":4,"commit_id":"867ec2d320fb2f5a7fe3551be5e3082f2aeb7c4b","original_commit_id":"867ec2d320fb2f5a7fe3551be5e3082f2aeb7c4b","user":{"login":"dkocich","id":6165660,"avatar_url":"https://avatars.githubusercontent.com/u/6165660?v=3","gravatar_id":"","url":"https://api.github.com/users/dkocich","html_url":"https://github.com/dkocich","followers_url":"https://api.github.com/users/dkocich/followers","following_url":"https://api.github.com/users/dkocich/following{/other_user}","gists_url":"https://api.github.com/users/dkocich/gists{/gist_id}","starred_url":"https://api.github.com/users/dkocich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkocich/subscriptions","organizations_url":"https://api.github.com/users/dkocich/orgs","repos_url":"https://api.github.com/users/dkocich/repos","events_url":"https://api.github.com/users/dkocich/events{/privacy}","received_events_url":"https://api.github.com/users/dkocich/received_events","type":"User","site_admin":false},"body":"Ok, so we probably won't need this (IMO I would keep it in the code just for completeness).","created_at":"2017-02-28T12:29:16Z","updated_at":"2017-02-28T12:29:16Z","html_url":"https://github.com/c2corg/v6_api/pull/642#discussion_r103442595","pull_request_url":"https://api.github.com/repos/c2corg/v6_api/pulls/642","_links":{"self":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/comments/103442595"},"html":{"href":"https://github.com/c2corg/v6_api/pull/642#discussion_r103442595"},"pull_request":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/642"}}},"pull_request":{"url":"https://api.github.com/repos/c2corg/v6_api/pulls/642","id":107852458,"html_url":"https://github.com/c2corg/v6_api/pull/642","diff_url":"https://github.com/c2corg/v6_api/pull/642.diff","patch_url":"https://github.com/c2corg/v6_api/pull/642.patch","issue_url":"https://api.github.com/repos/c2corg/v6_api/issues/642","number":642,"state":"open","locked":false,"title":"[WIP] Add a language preferences to the feed - API part","user":{"login":"dkocich","id":6165660,"avatar_url":"https://avatars.githubusercontent.com/u/6165660?v=3","gravatar_id":"","url":"https://api.github.com/users/dkocich","html_url":"https://github.com/dkocich","followers_url":"https://api.github.com/users/dkocich/followers","following_url":"https://api.github.com/users/dkocich/following{/other_user}","gists_url":"https://api.github.com/users/dkocich/gists{/gist_id}","starred_url":"https://api.github.com/users/dkocich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkocich/subscriptions","organizations_url":"https://api.github.com/users/dkocich/orgs","repos_url":"https://api.github.com/users/dkocich/repos","events_url":"https://api.github.com/users/dkocich/events{/privacy}","received_events_url":"https://api.github.com/users/dkocich/received_events","type":"User","site_admin":false},"body":"related to issue https://github.com/c2corg/v6_api/issues/608\r\n\r\nSTILL WIP!\r\n\r\nFew notes to look at later\r\n- I wonder why activities were updatable only for some document types? ([code here](https://github.com/c2corg/v6_api/blob/3e23b418cc0ffae0fe6a1757cc000cd39a0f3631/c2corg_api/models/feed.py#L253))\r\n- ","created_at":"2017-02-24T15:43:04Z","updated_at":"2017-02-28T12:29:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c879064eed55ec2f6e4215c72675ebccd4ae82f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/c2corg/v6_api/pulls/642/commits","review_comments_url":"https://api.github.com/repos/c2corg/v6_api/pulls/642/comments","review_comment_url":"https://api.github.com/repos/c2corg/v6_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/c2corg/v6_api/issues/642/comments","statuses_url":"https://api.github.com/repos/c2corg/v6_api/statuses/867ec2d320fb2f5a7fe3551be5e3082f2aeb7c4b","head":{"label":"c2corg:langPrefFeed","ref":"langPrefFeed","sha":"867ec2d320fb2f5a7fe3551be5e3082f2aeb7c4b","user":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"repo":{"id":41029840,"name":"v6_api","full_name":"c2corg/v6_api","owner":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/c2corg/v6_api","description":"REST API for c2c.org v6","fork":false,"url":"https://api.github.com/repos/c2corg/v6_api","forks_url":"https://api.github.com/repos/c2corg/v6_api/forks","keys_url":"https://api.github.com/repos/c2corg/v6_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c2corg/v6_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c2corg/v6_api/teams","hooks_url":"https://api.github.com/repos/c2corg/v6_api/hooks","issue_events_url":"https://api.github.com/repos/c2corg/v6_api/issues/events{/number}","events_url":"https://api.github.com/repos/c2corg/v6_api/events","assignees_url":"https://api.github.com/repos/c2corg/v6_api/assignees{/user}","branches_url":"https://api.github.com/repos/c2corg/v6_api/branches{/branch}","tags_url":"https://api.github.com/repos/c2corg/v6_api/tags","blobs_url":"https://api.github.com/repos/c2corg/v6_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c2corg/v6_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c2corg/v6_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/c2corg/v6_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c2corg/v6_api/statuses/{sha}","languages_url":"https://api.github.com/repos/c2corg/v6_api/languages","stargazers_url":"https://api.github.com/repos/c2corg/v6_api/stargazers","contributors_url":"https://api.github.com/repos/c2corg/v6_api/contributors","subscribers_url":"https://api.github.com/repos/c2corg/v6_api/subscribers","subscription_url":"https://api.github.com/repos/c2corg/v6_api/subscription","commits_url":"https://api.github.com/repos/c2corg/v6_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/c2corg/v6_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/c2corg/v6_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/c2corg/v6_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/c2corg/v6_api/contents/{+path}","compare_url":"https://api.github.com/repos/c2corg/v6_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c2corg/v6_api/merges","archive_url":"https://api.github.com/repos/c2corg/v6_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c2corg/v6_api/downloads","issues_url":"https://api.github.com/repos/c2corg/v6_api/issues{/number}","pulls_url":"https://api.github.com/repos/c2corg/v6_api/pulls{/number}","milestones_url":"https://api.github.com/repos/c2corg/v6_api/milestones{/number}","notifications_url":"https://api.github.com/repos/c2corg/v6_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c2corg/v6_api/labels{/name}","releases_url":"https://api.github.com/repos/c2corg/v6_api/releases{/id}","deployments_url":"https://api.github.com/repos/c2corg/v6_api/deployments","created_at":"2015-08-19T11:21:39Z","updated_at":"2017-02-21T16:35:45Z","pushed_at":"2017-02-28T08:43:22Z","git_url":"git://github.com/c2corg/v6_api.git","ssh_url":"git@github.com:c2corg/v6_api.git","clone_url":"https://github.com/c2corg/v6_api.git","svn_url":"https://github.com/c2corg/v6_api","homepage":"","size":3472,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":48,"forks":2,"open_issues":48,"watchers":5,"default_branch":"master"}},"base":{"label":"c2corg:master","ref":"master","sha":"3e23b418cc0ffae0fe6a1757cc000cd39a0f3631","user":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"repo":{"id":41029840,"name":"v6_api","full_name":"c2corg/v6_api","owner":{"login":"c2corg","id":3200587,"avatar_url":"https://avatars.githubusercontent.com/u/3200587?v=3","gravatar_id":"","url":"https://api.github.com/users/c2corg","html_url":"https://github.com/c2corg","followers_url":"https://api.github.com/users/c2corg/followers","following_url":"https://api.github.com/users/c2corg/following{/other_user}","gists_url":"https://api.github.com/users/c2corg/gists{/gist_id}","starred_url":"https://api.github.com/users/c2corg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2corg/subscriptions","organizations_url":"https://api.github.com/users/c2corg/orgs","repos_url":"https://api.github.com/users/c2corg/repos","events_url":"https://api.github.com/users/c2corg/events{/privacy}","received_events_url":"https://api.github.com/users/c2corg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/c2corg/v6_api","description":"REST API for c2c.org v6","fork":false,"url":"https://api.github.com/repos/c2corg/v6_api","forks_url":"https://api.github.com/repos/c2corg/v6_api/forks","keys_url":"https://api.github.com/repos/c2corg/v6_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c2corg/v6_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c2corg/v6_api/teams","hooks_url":"https://api.github.com/repos/c2corg/v6_api/hooks","issue_events_url":"https://api.github.com/repos/c2corg/v6_api/issues/events{/number}","events_url":"https://api.github.com/repos/c2corg/v6_api/events","assignees_url":"https://api.github.com/repos/c2corg/v6_api/assignees{/user}","branches_url":"https://api.github.com/repos/c2corg/v6_api/branches{/branch}","tags_url":"https://api.github.com/repos/c2corg/v6_api/tags","blobs_url":"https://api.github.com/repos/c2corg/v6_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c2corg/v6_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c2corg/v6_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/c2corg/v6_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c2corg/v6_api/statuses/{sha}","languages_url":"https://api.github.com/repos/c2corg/v6_api/languages","stargazers_url":"https://api.github.com/repos/c2corg/v6_api/stargazers","contributors_url":"https://api.github.com/repos/c2corg/v6_api/contributors","subscribers_url":"https://api.github.com/repos/c2corg/v6_api/subscribers","subscription_url":"https://api.github.com/repos/c2corg/v6_api/subscription","commits_url":"https://api.github.com/repos/c2corg/v6_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/c2corg/v6_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/c2corg/v6_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/c2corg/v6_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/c2corg/v6_api/contents/{+path}","compare_url":"https://api.github.com/repos/c2corg/v6_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c2corg/v6_api/merges","archive_url":"https://api.github.com/repos/c2corg/v6_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c2corg/v6_api/downloads","issues_url":"https://api.github.com/repos/c2corg/v6_api/issues{/number}","pulls_url":"https://api.github.com/repos/c2corg/v6_api/pulls{/number}","milestones_url":"https://api.github.com/repos/c2corg/v6_api/milestones{/number}","notifications_url":"https://api.github.com/repos/c2corg/v6_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c2corg/v6_api/labels{/name}","releases_url":"https://api.github.com/repos/c2corg/v6_api/releases{/id}","deployments_url":"https://api.github.com/repos/c2corg/v6_api/deployments","created_at":"2015-08-19T11:21:39Z","updated_at":"2017-02-21T16:35:45Z","pushed_at":"2017-02-28T08:43:22Z","git_url":"git://github.com/c2corg/v6_api.git","ssh_url":"git@github.com:c2corg/v6_api.git","clone_url":"https://github.com/c2corg/v6_api.git","svn_url":"https://github.com/c2corg/v6_api","homepage":"","size":3472,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":48,"forks":2,"open_issues":48,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/642"},"html":{"href":"https://github.com/c2corg/v6_api/pull/642"},"issue":{"href":"https://api.github.com/repos/c2corg/v6_api/issues/642"},"comments":{"href":"https://api.github.com/repos/c2corg/v6_api/issues/642/comments"},"review_comments":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/642/comments"},"review_comment":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/c2corg/v6_api/pulls/642/commits"},"statuses":{"href":"https://api.github.com/repos/c2corg/v6_api/statuses/867ec2d320fb2f5a7fe3551be5e3082f2aeb7c4b"}}}}
{"actor":{"display_login":"dkocich"}}