{"action":"created","comment":{"url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/comments/69717537","id":69717537,"diff_hunk":"@@ -70,5 +76,12 @@ func main() {\n \tdao.InitDB()\n \tdao.UpgradeDB()\n \tupdateInitPassword(adminUserID, os.Getenv(\"HARBOR_ADMIN_PASSWORD\"))\n+\n+\tgit.InitParam()\n+\tconfig := git.Pairs()\n+\tif config.Storemethod == \"git\" {\n+\t\tmodCatalogTimer()","path":"main.go","position":30,"original_position":30,"commit_id":"b5c7729cd90821d478a022bcc106daa240d05943","original_commit_id":"b5c7729cd90821d478a022bcc106daa240d05943","user":{"login":"cmingxu","id":124767,"avatar_url":"https://avatars.githubusercontent.com/u/124767?v=3","gravatar_id":"","url":"https://api.github.com/users/cmingxu","html_url":"https://github.com/cmingxu","followers_url":"https://api.github.com/users/cmingxu/followers","following_url":"https://api.github.com/users/cmingxu/following{/other_user}","gists_url":"https://api.github.com/users/cmingxu/gists{/gist_id}","starred_url":"https://api.github.com/users/cmingxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmingxu/subscriptions","organizations_url":"https://api.github.com/users/cmingxu/orgs","repos_url":"https://api.github.com/users/cmingxu/repos","events_url":"https://api.github.com/users/cmingxu/events{/privacy}","received_events_url":"https://api.github.com/users/cmingxu/received_events","type":"User","site_admin":false},"body":"mod是什么意思？","created_at":"2016-07-06T12:03:04Z","updated_at":"2016-07-06T12:03:04Z","html_url":"https://github.com/Dataman-Cloud/harbor/pull/13#discussion_r69717537","pull_request_url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/comments/69717537"},"html":{"href":"https://github.com/Dataman-Cloud/harbor/pull/13#discussion_r69717537"},"pull_request":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13","id":76419826,"html_url":"https://github.com/Dataman-Cloud/harbor/pull/13","diff_url":"https://github.com/Dataman-Cloud/harbor/pull/13.diff","patch_url":"https://github.com/Dataman-Cloud/harbor/pull/13.patch","issue_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/13","number":13,"state":"open","locked":false,"title":"Catalognew","user":{"login":"riverxing","id":16753369,"avatar_url":"https://avatars.githubusercontent.com/u/16753369?v=3","gravatar_id":"","url":"https://api.github.com/users/riverxing","html_url":"https://github.com/riverxing","followers_url":"https://api.github.com/users/riverxing/followers","following_url":"https://api.github.com/users/riverxing/following{/other_user}","gists_url":"https://api.github.com/users/riverxing/gists{/gist_id}","starred_url":"https://api.github.com/users/riverxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riverxing/subscriptions","organizations_url":"https://api.github.com/users/riverxing/orgs","repos_url":"https://api.github.com/users/riverxing/repos","events_url":"https://api.github.com/users/riverxing/events{/privacy}","received_events_url":"https://api.github.com/users/riverxing/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-06T11:53:03Z","updated_at":"2016-07-06T12:03:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3368432dd8d5b9be6ed3f0679b2924c865c88e4c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/13/comments","statuses_url":"https://api.github.com/repos/Dataman-Cloud/harbor/statuses/b5c7729cd90821d478a022bcc106daa240d05943","head":{"label":"Dataman-Cloud:catalognew","ref":"catalognew","sha":"b5c7729cd90821d478a022bcc106daa240d05943","user":{"login":"Dataman-Cloud","id":10776998,"avatar_url":"https://avatars.githubusercontent.com/u/10776998?v=3","gravatar_id":"","url":"https://api.github.com/users/Dataman-Cloud","html_url":"https://github.com/Dataman-Cloud","followers_url":"https://api.github.com/users/Dataman-Cloud/followers","following_url":"https://api.github.com/users/Dataman-Cloud/following{/other_user}","gists_url":"https://api.github.com/users/Dataman-Cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Dataman-Cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dataman-Cloud/subscriptions","organizations_url":"https://api.github.com/users/Dataman-Cloud/orgs","repos_url":"https://api.github.com/users/Dataman-Cloud/repos","events_url":"https://api.github.com/users/Dataman-Cloud/events{/privacy}","received_events_url":"https://api.github.com/users/Dataman-Cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":53463898,"name":"harbor","full_name":"Dataman-Cloud/harbor","owner":{"login":"Dataman-Cloud","id":10776998,"avatar_url":"https://avatars.githubusercontent.com/u/10776998?v=3","gravatar_id":"","url":"https://api.github.com/users/Dataman-Cloud","html_url":"https://github.com/Dataman-Cloud","followers_url":"https://api.github.com/users/Dataman-Cloud/followers","following_url":"https://api.github.com/users/Dataman-Cloud/following{/other_user}","gists_url":"https://api.github.com/users/Dataman-Cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Dataman-Cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dataman-Cloud/subscriptions","organizations_url":"https://api.github.com/users/Dataman-Cloud/orgs","repos_url":"https://api.github.com/users/Dataman-Cloud/repos","events_url":"https://api.github.com/users/Dataman-Cloud/events{/privacy}","received_events_url":"https://api.github.com/users/Dataman-Cloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dataman-Cloud/harbor","description":"","fork":true,"url":"https://api.github.com/repos/Dataman-Cloud/harbor","forks_url":"https://api.github.com/repos/Dataman-Cloud/harbor/forks","keys_url":"https://api.github.com/repos/Dataman-Cloud/harbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dataman-Cloud/harbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dataman-Cloud/harbor/teams","hooks_url":"https://api.github.com/repos/Dataman-Cloud/harbor/hooks","issue_events_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/events{/number}","events_url":"https://api.github.com/repos/Dataman-Cloud/harbor/events","assignees_url":"https://api.github.com/repos/Dataman-Cloud/harbor/assignees{/user}","branches_url":"https://api.github.com/repos/Dataman-Cloud/harbor/branches{/branch}","tags_url":"https://api.github.com/repos/Dataman-Cloud/harbor/tags","blobs_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dataman-Cloud/harbor/statuses/{sha}","languages_url":"https://api.github.com/repos/Dataman-Cloud/harbor/languages","stargazers_url":"https://api.github.com/repos/Dataman-Cloud/harbor/stargazers","contributors_url":"https://api.github.com/repos/Dataman-Cloud/harbor/contributors","subscribers_url":"https://api.github.com/repos/Dataman-Cloud/harbor/subscribers","subscription_url":"https://api.github.com/repos/Dataman-Cloud/harbor/subscription","commits_url":"https://api.github.com/repos/Dataman-Cloud/harbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dataman-Cloud/harbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dataman-Cloud/harbor/contents/{+path}","compare_url":"https://api.github.com/repos/Dataman-Cloud/harbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dataman-Cloud/harbor/merges","archive_url":"https://api.github.com/repos/Dataman-Cloud/harbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dataman-Cloud/harbor/downloads","issues_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues{/number}","pulls_url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls{/number}","milestones_url":"https://api.github.com/repos/Dataman-Cloud/harbor/milestones{/number}","notifications_url":"https://api.github.com/repos/Dataman-Cloud/harbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dataman-Cloud/harbor/labels{/name}","releases_url":"https://api.github.com/repos/Dataman-Cloud/harbor/releases{/id}","deployments_url":"https://api.github.com/repos/Dataman-Cloud/harbor/deployments","created_at":"2016-03-09T03:06:36Z","updated_at":"2016-04-11T03:31:06Z","pushed_at":"2016-07-06T11:53:03Z","git_url":"git://github.com/Dataman-Cloud/harbor.git","ssh_url":"git@github.com:Dataman-Cloud/harbor.git","clone_url":"https://github.com/Dataman-Cloud/harbor.git","svn_url":"https://github.com/Dataman-Cloud/harbor","homepage":null,"size":5918,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Dataman-Cloud:master","ref":"master","sha":"7444f88566809860be8f5530dc3a77bb95b6682b","user":{"login":"Dataman-Cloud","id":10776998,"avatar_url":"https://avatars.githubusercontent.com/u/10776998?v=3","gravatar_id":"","url":"https://api.github.com/users/Dataman-Cloud","html_url":"https://github.com/Dataman-Cloud","followers_url":"https://api.github.com/users/Dataman-Cloud/followers","following_url":"https://api.github.com/users/Dataman-Cloud/following{/other_user}","gists_url":"https://api.github.com/users/Dataman-Cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Dataman-Cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dataman-Cloud/subscriptions","organizations_url":"https://api.github.com/users/Dataman-Cloud/orgs","repos_url":"https://api.github.com/users/Dataman-Cloud/repos","events_url":"https://api.github.com/users/Dataman-Cloud/events{/privacy}","received_events_url":"https://api.github.com/users/Dataman-Cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":53463898,"name":"harbor","full_name":"Dataman-Cloud/harbor","owner":{"login":"Dataman-Cloud","id":10776998,"avatar_url":"https://avatars.githubusercontent.com/u/10776998?v=3","gravatar_id":"","url":"https://api.github.com/users/Dataman-Cloud","html_url":"https://github.com/Dataman-Cloud","followers_url":"https://api.github.com/users/Dataman-Cloud/followers","following_url":"https://api.github.com/users/Dataman-Cloud/following{/other_user}","gists_url":"https://api.github.com/users/Dataman-Cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Dataman-Cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dataman-Cloud/subscriptions","organizations_url":"https://api.github.com/users/Dataman-Cloud/orgs","repos_url":"https://api.github.com/users/Dataman-Cloud/repos","events_url":"https://api.github.com/users/Dataman-Cloud/events{/privacy}","received_events_url":"https://api.github.com/users/Dataman-Cloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Dataman-Cloud/harbor","description":"","fork":true,"url":"https://api.github.com/repos/Dataman-Cloud/harbor","forks_url":"https://api.github.com/repos/Dataman-Cloud/harbor/forks","keys_url":"https://api.github.com/repos/Dataman-Cloud/harbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dataman-Cloud/harbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dataman-Cloud/harbor/teams","hooks_url":"https://api.github.com/repos/Dataman-Cloud/harbor/hooks","issue_events_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/events{/number}","events_url":"https://api.github.com/repos/Dataman-Cloud/harbor/events","assignees_url":"https://api.github.com/repos/Dataman-Cloud/harbor/assignees{/user}","branches_url":"https://api.github.com/repos/Dataman-Cloud/harbor/branches{/branch}","tags_url":"https://api.github.com/repos/Dataman-Cloud/harbor/tags","blobs_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dataman-Cloud/harbor/statuses/{sha}","languages_url":"https://api.github.com/repos/Dataman-Cloud/harbor/languages","stargazers_url":"https://api.github.com/repos/Dataman-Cloud/harbor/stargazers","contributors_url":"https://api.github.com/repos/Dataman-Cloud/harbor/contributors","subscribers_url":"https://api.github.com/repos/Dataman-Cloud/harbor/subscribers","subscription_url":"https://api.github.com/repos/Dataman-Cloud/harbor/subscription","commits_url":"https://api.github.com/repos/Dataman-Cloud/harbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dataman-Cloud/harbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dataman-Cloud/harbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dataman-Cloud/harbor/contents/{+path}","compare_url":"https://api.github.com/repos/Dataman-Cloud/harbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dataman-Cloud/harbor/merges","archive_url":"https://api.github.com/repos/Dataman-Cloud/harbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dataman-Cloud/harbor/downloads","issues_url":"https://api.github.com/repos/Dataman-Cloud/harbor/issues{/number}","pulls_url":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls{/number}","milestones_url":"https://api.github.com/repos/Dataman-Cloud/harbor/milestones{/number}","notifications_url":"https://api.github.com/repos/Dataman-Cloud/harbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dataman-Cloud/harbor/labels{/name}","releases_url":"https://api.github.com/repos/Dataman-Cloud/harbor/releases{/id}","deployments_url":"https://api.github.com/repos/Dataman-Cloud/harbor/deployments","created_at":"2016-03-09T03:06:36Z","updated_at":"2016-04-11T03:31:06Z","pushed_at":"2016-07-06T11:53:03Z","git_url":"git://github.com/Dataman-Cloud/harbor.git","ssh_url":"git@github.com:Dataman-Cloud/harbor.git","clone_url":"https://github.com/Dataman-Cloud/harbor.git","svn_url":"https://github.com/Dataman-Cloud/harbor","homepage":null,"size":5918,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13"},"html":{"href":"https://github.com/Dataman-Cloud/harbor/pull/13"},"issue":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/13"},"comments":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Dataman-Cloud/harbor/statuses/b5c7729cd90821d478a022bcc106daa240d05943"}}}}
{"actor":{"display_login":"cmingxu"}}