{"action":"created","comment":{"url":"https://api.github.com/repos/go-gitea/gitea/pulls/comments/300852416","pull_request_review_id":258612084,"id":300852416,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMDg1MjQxNg==","diff_hunk":"@@ -12,80 +12,107 @@ import (\n \t\"code.gitea.io/gitea/models\"\n \t\"code.gitea.io/gitea/modules/log\"\n \t\"code.gitea.io/gitea/modules/setting\"\n+\t\"code.gitea.io/gitea/modules/sync\"","path":"modules/cron/cron.go","position":4,"original_position":4,"commit_id":"8704a94745250cfdceace73aa1863fbe44343cf1","original_commit_id":"8704a94745250cfdceace73aa1863fbe44343cf1","user":{"login":"techknowlogick","id":164197,"node_id":"MDQ6VXNlcjE2NDE5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/164197?v=4","gravatar_id":"","url":"https://api.github.com/users/techknowlogick","html_url":"https://github.com/techknowlogick","followers_url":"https://api.github.com/users/techknowlogick/followers","following_url":"https://api.github.com/users/techknowlogick/following{/other_user}","gists_url":"https://api.github.com/users/techknowlogick/gists{/gist_id}","starred_url":"https://api.github.com/users/techknowlogick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techknowlogick/subscriptions","organizations_url":"https://api.github.com/users/techknowlogick/orgs","repos_url":"https://api.github.com/users/techknowlogick/repos","events_url":"https://api.github.com/users/techknowlogick/events{/privacy}","received_events_url":"https://api.github.com/users/techknowlogick/received_events","type":"User","site_admin":false},"body":"\r\n* copyright header\r\n* order of imports\r\n* path to cron package may need to be updated (it is now github.com/gogs/cron)","created_at":"2019-07-07T06:54:51Z","updated_at":"2019-07-07T06:54:51Z","html_url":"https://github.com/go-gitea/gitea/pull/7370#discussion_r300852416","pull_request_url":"https://api.github.com/repos/go-gitea/gitea/pulls/7370","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/comments/300852416"},"html":{"href":"https://github.com/go-gitea/gitea/pull/7370#discussion_r300852416"},"pull_request":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/7370"}}},"pull_request":{"url":"https://api.github.com/repos/go-gitea/gitea/pulls/7370","id":295083079,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk1MDgzMDc5","html_url":"https://github.com/go-gitea/gitea/pull/7370","diff_url":"https://github.com/go-gitea/gitea/pull/7370.diff","patch_url":"https://github.com/go-gitea/gitea/pull/7370.patch","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/7370","number":7370,"state":"open","locked":false,"title":"Move status table to cron package","user":{"login":"lunny","id":81045,"node_id":"MDQ6VXNlcjgxMDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/81045?v=4","gravatar_id":"","url":"https://api.github.com/users/lunny","html_url":"https://github.com/lunny","followers_url":"https://api.github.com/users/lunny/followers","following_url":"https://api.github.com/users/lunny/following{/other_user}","gists_url":"https://api.github.com/users/lunny/gists{/gist_id}","starred_url":"https://api.github.com/users/lunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunny/subscriptions","organizations_url":"https://api.github.com/users/lunny/orgs","repos_url":"https://api.github.com/users/lunny/repos","events_url":"https://api.github.com/users/lunny/events{/privacy}","received_events_url":"https://api.github.com/users/lunny/received_events","type":"User","site_admin":false},"body":"As title.","created_at":"2019-07-07T06:52:17Z","updated_at":"2019-07-07T06:54:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":487889463,"node_id":"MDU6TGFiZWw0ODc4ODk0NjM=","url":"https://api.github.com/repos/go-gitea/gitea/labels/kind/refactor","name":"kind/refactor","color":"1d76db","default":false}],"milestone":{"url":"https://api.github.com/repos/go-gitea/gitea/milestones/46","html_url":"https://github.com/go-gitea/gitea/milestone/46","labels_url":"https://api.github.com/repos/go-gitea/gitea/milestones/46/labels","id":4376376,"node_id":"MDk6TWlsZXN0b25lNDM3NjM3Ng==","number":46,"title":"1.10.0","description":"","creator":{"login":"techknowlogick","id":164197,"node_id":"MDQ6VXNlcjE2NDE5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/164197?v=4","gravatar_id":"","url":"https://api.github.com/users/techknowlogick","html_url":"https://github.com/techknowlogick","followers_url":"https://api.github.com/users/techknowlogick/followers","following_url":"https://api.github.com/users/techknowlogick/following{/other_user}","gists_url":"https://api.github.com/users/techknowlogick/gists{/gist_id}","starred_url":"https://api.github.com/users/techknowlogick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techknowlogick/subscriptions","organizations_url":"https://api.github.com/users/techknowlogick/orgs","repos_url":"https://api.github.com/users/techknowlogick/repos","events_url":"https://api.github.com/users/techknowlogick/events{/privacy}","received_events_url":"https://api.github.com/users/techknowlogick/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":8,"state":"open","created_at":"2019-06-04T19:32:22Z","updated_at":"2019-07-07T06:53:25Z","due_on":"2019-09-14T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/go-gitea/gitea/pulls/7370/commits","review_comments_url":"https://api.github.com/repos/go-gitea/gitea/pulls/7370/comments","review_comment_url":"https://api.github.com/repos/go-gitea/gitea/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/7370/comments","statuses_url":"https://api.github.com/repos/go-gitea/gitea/statuses/8704a94745250cfdceace73aa1863fbe44343cf1","head":{"label":"lunny:lunny/move_cron","ref":"lunny/move_cron","sha":"8704a94745250cfdceace73aa1863fbe44343cf1","user":{"login":"lunny","id":81045,"node_id":"MDQ6VXNlcjgxMDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/81045?v=4","gravatar_id":"","url":"https://api.github.com/users/lunny","html_url":"https://github.com/lunny","followers_url":"https://api.github.com/users/lunny/followers","following_url":"https://api.github.com/users/lunny/following{/other_user}","gists_url":"https://api.github.com/users/lunny/gists{/gist_id}","starred_url":"https://api.github.com/users/lunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunny/subscriptions","organizations_url":"https://api.github.com/users/lunny/orgs","repos_url":"https://api.github.com/users/lunny/repos","events_url":"https://api.github.com/users/lunny/events{/privacy}","received_events_url":"https://api.github.com/users/lunny/received_events","type":"User","site_admin":false},"repo":{"id":72803355,"node_id":"MDEwOlJlcG9zaXRvcnk3MjgwMzM1NQ==","name":"gitea","full_name":"lunny/gitea","private":false,"owner":{"login":"lunny","id":81045,"node_id":"MDQ6VXNlcjgxMDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/81045?v=4","gravatar_id":"","url":"https://api.github.com/users/lunny","html_url":"https://github.com/lunny","followers_url":"https://api.github.com/users/lunny/followers","following_url":"https://api.github.com/users/lunny/following{/other_user}","gists_url":"https://api.github.com/users/lunny/gists{/gist_id}","starred_url":"https://api.github.com/users/lunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunny/subscriptions","organizations_url":"https://api.github.com/users/lunny/orgs","repos_url":"https://api.github.com/users/lunny/repos","events_url":"https://api.github.com/users/lunny/events{/privacy}","received_events_url":"https://api.github.com/users/lunny/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lunny/gitea","description":"Git with a cup of tea","fork":true,"url":"https://api.github.com/repos/lunny/gitea","forks_url":"https://api.github.com/repos/lunny/gitea/forks","keys_url":"https://api.github.com/repos/lunny/gitea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lunny/gitea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lunny/gitea/teams","hooks_url":"https://api.github.com/repos/lunny/gitea/hooks","issue_events_url":"https://api.github.com/repos/lunny/gitea/issues/events{/number}","events_url":"https://api.github.com/repos/lunny/gitea/events","assignees_url":"https://api.github.com/repos/lunny/gitea/assignees{/user}","branches_url":"https://api.github.com/repos/lunny/gitea/branches{/branch}","tags_url":"https://api.github.com/repos/lunny/gitea/tags","blobs_url":"https://api.github.com/repos/lunny/gitea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lunny/gitea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lunny/gitea/git/refs{/sha}","trees_url":"https://api.github.com/repos/lunny/gitea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lunny/gitea/statuses/{sha}","languages_url":"https://api.github.com/repos/lunny/gitea/languages","stargazers_url":"https://api.github.com/repos/lunny/gitea/stargazers","contributors_url":"https://api.github.com/repos/lunny/gitea/contributors","subscribers_url":"https://api.github.com/repos/lunny/gitea/subscribers","subscription_url":"https://api.github.com/repos/lunny/gitea/subscription","commits_url":"https://api.github.com/repos/lunny/gitea/commits{/sha}","git_commits_url":"https://api.github.com/repos/lunny/gitea/git/commits{/sha}","comments_url":"https://api.github.com/repos/lunny/gitea/comments{/number}","issue_comment_url":"https://api.github.com/repos/lunny/gitea/issues/comments{/number}","contents_url":"https://api.github.com/repos/lunny/gitea/contents/{+path}","compare_url":"https://api.github.com/repos/lunny/gitea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lunny/gitea/merges","archive_url":"https://api.github.com/repos/lunny/gitea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lunny/gitea/downloads","issues_url":"https://api.github.com/repos/lunny/gitea/issues{/number}","pulls_url":"https://api.github.com/repos/lunny/gitea/pulls{/number}","milestones_url":"https://api.github.com/repos/lunny/gitea/milestones{/number}","notifications_url":"https://api.github.com/repos/lunny/gitea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lunny/gitea/labels{/name}","releases_url":"https://api.github.com/repos/lunny/gitea/releases{/id}","deployments_url":"https://api.github.com/repos/lunny/gitea/deployments","created_at":"2016-11-04T01:40:08Z","updated_at":"2019-04-05T10:43:09Z","pushed_at":"2019-07-07T06:53:40Z","git_url":"git://github.com/lunny/gitea.git","ssh_url":"git@github.com:lunny/gitea.git","clone_url":"https://github.com/lunny/gitea.git","svn_url":"https://github.com/lunny/gitea","homepage":"http://gitea.io","size":137585,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"go-gitea:master","ref":"master","sha":"8d9d6aa903baf3662fa31bceb489291564a873d1","user":{"login":"go-gitea","id":12724356,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzI0MzU2","avatar_url":"https://avatars1.githubusercontent.com/u/12724356?v=4","gravatar_id":"","url":"https://api.github.com/users/go-gitea","html_url":"https://github.com/go-gitea","followers_url":"https://api.github.com/users/go-gitea/followers","following_url":"https://api.github.com/users/go-gitea/following{/other_user}","gists_url":"https://api.github.com/users/go-gitea/gists{/gist_id}","starred_url":"https://api.github.com/users/go-gitea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-gitea/subscriptions","organizations_url":"https://api.github.com/users/go-gitea/orgs","repos_url":"https://api.github.com/users/go-gitea/repos","events_url":"https://api.github.com/users/go-gitea/events{/privacy}","received_events_url":"https://api.github.com/users/go-gitea/received_events","type":"Organization","site_admin":false},"repo":{"id":72495579,"node_id":"MDEwOlJlcG9zaXRvcnk3MjQ5NTU3OQ==","name":"gitea","full_name":"go-gitea/gitea","private":false,"owner":{"login":"go-gitea","id":12724356,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNzI0MzU2","avatar_url":"https://avatars1.githubusercontent.com/u/12724356?v=4","gravatar_id":"","url":"https://api.github.com/users/go-gitea","html_url":"https://github.com/go-gitea","followers_url":"https://api.github.com/users/go-gitea/followers","following_url":"https://api.github.com/users/go-gitea/following{/other_user}","gists_url":"https://api.github.com/users/go-gitea/gists{/gist_id}","starred_url":"https://api.github.com/users/go-gitea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-gitea/subscriptions","organizations_url":"https://api.github.com/users/go-gitea/orgs","repos_url":"https://api.github.com/users/go-gitea/repos","events_url":"https://api.github.com/users/go-gitea/events{/privacy}","received_events_url":"https://api.github.com/users/go-gitea/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/go-gitea/gitea","description":"Git with a cup of tea, painless self-hosted git service","fork":false,"url":"https://api.github.com/repos/go-gitea/gitea","forks_url":"https://api.github.com/repos/go-gitea/gitea/forks","keys_url":"https://api.github.com/repos/go-gitea/gitea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-gitea/gitea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-gitea/gitea/teams","hooks_url":"https://api.github.com/repos/go-gitea/gitea/hooks","issue_events_url":"https://api.github.com/repos/go-gitea/gitea/issues/events{/number}","events_url":"https://api.github.com/repos/go-gitea/gitea/events","assignees_url":"https://api.github.com/repos/go-gitea/gitea/assignees{/user}","branches_url":"https://api.github.com/repos/go-gitea/gitea/branches{/branch}","tags_url":"https://api.github.com/repos/go-gitea/gitea/tags","blobs_url":"https://api.github.com/repos/go-gitea/gitea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-gitea/gitea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-gitea/gitea/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-gitea/gitea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-gitea/gitea/statuses/{sha}","languages_url":"https://api.github.com/repos/go-gitea/gitea/languages","stargazers_url":"https://api.github.com/repos/go-gitea/gitea/stargazers","contributors_url":"https://api.github.com/repos/go-gitea/gitea/contributors","subscribers_url":"https://api.github.com/repos/go-gitea/gitea/subscribers","subscription_url":"https://api.github.com/repos/go-gitea/gitea/subscription","commits_url":"https://api.github.com/repos/go-gitea/gitea/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-gitea/gitea/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-gitea/gitea/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-gitea/gitea/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-gitea/gitea/contents/{+path}","compare_url":"https://api.github.com/repos/go-gitea/gitea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-gitea/gitea/merges","archive_url":"https://api.github.com/repos/go-gitea/gitea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-gitea/gitea/downloads","issues_url":"https://api.github.com/repos/go-gitea/gitea/issues{/number}","pulls_url":"https://api.github.com/repos/go-gitea/gitea/pulls{/number}","milestones_url":"https://api.github.com/repos/go-gitea/gitea/milestones{/number}","notifications_url":"https://api.github.com/repos/go-gitea/gitea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-gitea/gitea/labels{/name}","releases_url":"https://api.github.com/repos/go-gitea/gitea/releases{/id}","deployments_url":"https://api.github.com/repos/go-gitea/gitea/deployments","created_at":"2016-11-01T02:13:26Z","updated_at":"2019-07-07T06:01:24Z","pushed_at":"2019-07-07T06:52:18Z","git_url":"git://github.com/go-gitea/gitea.git","ssh_url":"git@github.com:go-gitea/gitea.git","clone_url":"https://github.com/go-gitea/gitea.git","svn_url":"https://github.com/go-gitea/gitea","homepage":"https://gitea.io","size":136840,"stargazers_count":14664,"watchers_count":14664,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1593,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":943,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1593,"open_issues":943,"watchers":14664,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/7370"},"html":{"href":"https://github.com/go-gitea/gitea/pull/7370"},"issue":{"href":"https://api.github.com/repos/go-gitea/gitea/issues/7370"},"comments":{"href":"https://api.github.com/repos/go-gitea/gitea/issues/7370/comments"},"review_comments":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/7370/comments"},"review_comment":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/7370/commits"},"statuses":{"href":"https://api.github.com/repos/go-gitea/gitea/statuses/8704a94745250cfdceace73aa1863fbe44343cf1"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"techknowlogick"}}