{"action":"created","comment":{"url":"https://api.github.com/repos/huacnlee/gobackup/pulls/comments/240071785","pull_request_review_id":183016046,"id":240071785,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDA3MTc4NQ==","diff_hunk":"@@ -13,9 +14,9 @@ import (\n // host: 127.0.0.1\n // port: 27017\n // database:\n-// username:\n-// password:\n-// authdb:\n+// username: nil, means no auth is needed.\n+// password: nil\n+// authdb: nil","path":"database/mongodb.go","position":21,"original_position":21,"commit_id":"6fe9673b820ad0301be86b388d4ae7e1405cc5eb","original_commit_id":"6fe9673b820ad0301be86b388d4ae7e1405cc5eb","user":{"login":"huacnlee","id":5518,"node_id":"MDQ6VXNlcjU1MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5518?v=4","gravatar_id":"","url":"https://api.github.com/users/huacnlee","html_url":"https://github.com/huacnlee","followers_url":"https://api.github.com/users/huacnlee/followers","following_url":"https://api.github.com/users/huacnlee/following{/other_user}","gists_url":"https://api.github.com/users/huacnlee/gists{/gist_id}","starred_url":"https://api.github.com/users/huacnlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huacnlee/subscriptions","organizations_url":"https://api.github.com/users/huacnlee/orgs","repos_url":"https://api.github.com/users/huacnlee/repos","events_url":"https://api.github.com/users/huacnlee/events{/privacy}","received_events_url":"https://api.github.com/users/huacnlee/received_events","type":"User","site_admin":false},"body":"add `empty_password: true` key for instead that. `nil` is not a good idea.\r\n\r\nhttps://github.com/docker-library/docs/tree/master/mysql#mysql_allow_empty_password","created_at":"2018-12-10T02:42:18Z","updated_at":"2018-12-10T02:42:19Z","html_url":"https://github.com/huacnlee/gobackup/pull/35#discussion_r240071785","pull_request_url":"https://api.github.com/repos/huacnlee/gobackup/pulls/35","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/huacnlee/gobackup/pulls/comments/240071785"},"html":{"href":"https://github.com/huacnlee/gobackup/pull/35#discussion_r240071785"},"pull_request":{"href":"https://api.github.com/repos/huacnlee/gobackup/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/huacnlee/gobackup/pulls/35","id":236844348,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2ODQ0MzQ4","html_url":"https://github.com/huacnlee/gobackup/pull/35","diff_url":"https://github.com/huacnlee/gobackup/pull/35.diff","patch_url":"https://github.com/huacnlee/gobackup/pull/35.patch","issue_url":"https://api.github.com/repos/huacnlee/gobackup/issues/35","number":35,"state":"open","locked":false,"title":"support no auth ","user":{"login":"jianhaiqing","id":20268277,"node_id":"MDQ6VXNlcjIwMjY4Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/20268277?v=4","gravatar_id":"","url":"https://api.github.com/users/jianhaiqing","html_url":"https://github.com/jianhaiqing","followers_url":"https://api.github.com/users/jianhaiqing/followers","following_url":"https://api.github.com/users/jianhaiqing/following{/other_user}","gists_url":"https://api.github.com/users/jianhaiqing/gists{/gist_id}","starred_url":"https://api.github.com/users/jianhaiqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianhaiqing/subscriptions","organizations_url":"https://api.github.com/users/jianhaiqing/orgs","repos_url":"https://api.github.com/users/jianhaiqing/repos","events_url":"https://api.github.com/users/jianhaiqing/events{/privacy}","received_events_url":"https://api.github.com/users/jianhaiqing/received_events","type":"User","site_admin":false},"body":"in some cases , mongo is not authorized. ","created_at":"2018-12-07T11:55:39Z","updated_at":"2018-12-10T02:42:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c99eaf69c2c2ff795a89b0ee32a488e8b19829db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/huacnlee/gobackup/pulls/35/commits","review_comments_url":"https://api.github.com/repos/huacnlee/gobackup/pulls/35/comments","review_comment_url":"https://api.github.com/repos/huacnlee/gobackup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/huacnlee/gobackup/issues/35/comments","statuses_url":"https://api.github.com/repos/huacnlee/gobackup/statuses/6fe9673b820ad0301be86b388d4ae7e1405cc5eb","head":{"label":"jianhaiqing:master","ref":"master","sha":"6fe9673b820ad0301be86b388d4ae7e1405cc5eb","user":{"login":"jianhaiqing","id":20268277,"node_id":"MDQ6VXNlcjIwMjY4Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/20268277?v=4","gravatar_id":"","url":"https://api.github.com/users/jianhaiqing","html_url":"https://github.com/jianhaiqing","followers_url":"https://api.github.com/users/jianhaiqing/followers","following_url":"https://api.github.com/users/jianhaiqing/following{/other_user}","gists_url":"https://api.github.com/users/jianhaiqing/gists{/gist_id}","starred_url":"https://api.github.com/users/jianhaiqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianhaiqing/subscriptions","organizations_url":"https://api.github.com/users/jianhaiqing/orgs","repos_url":"https://api.github.com/users/jianhaiqing/repos","events_url":"https://api.github.com/users/jianhaiqing/events{/privacy}","received_events_url":"https://api.github.com/users/jianhaiqing/received_events","type":"User","site_admin":false},"repo":{"id":153083047,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMwODMwNDc=","name":"gobackup","full_name":"jianhaiqing/gobackup","private":false,"owner":{"login":"jianhaiqing","id":20268277,"node_id":"MDQ6VXNlcjIwMjY4Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/20268277?v=4","gravatar_id":"","url":"https://api.github.com/users/jianhaiqing","html_url":"https://github.com/jianhaiqing","followers_url":"https://api.github.com/users/jianhaiqing/followers","following_url":"https://api.github.com/users/jianhaiqing/following{/other_user}","gists_url":"https://api.github.com/users/jianhaiqing/gists{/gist_id}","starred_url":"https://api.github.com/users/jianhaiqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianhaiqing/subscriptions","organizations_url":"https://api.github.com/users/jianhaiqing/orgs","repos_url":"https://api.github.com/users/jianhaiqing/repos","events_url":"https://api.github.com/users/jianhaiqing/events{/privacy}","received_events_url":"https://api.github.com/users/jianhaiqing/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jianhaiqing/gobackup","description":"🗄 Simple tool for backup your databases, files to FTP / SCP / S3 storages.","fork":true,"url":"https://api.github.com/repos/jianhaiqing/gobackup","forks_url":"https://api.github.com/repos/jianhaiqing/gobackup/forks","keys_url":"https://api.github.com/repos/jianhaiqing/gobackup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jianhaiqing/gobackup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jianhaiqing/gobackup/teams","hooks_url":"https://api.github.com/repos/jianhaiqing/gobackup/hooks","issue_events_url":"https://api.github.com/repos/jianhaiqing/gobackup/issues/events{/number}","events_url":"https://api.github.com/repos/jianhaiqing/gobackup/events","assignees_url":"https://api.github.com/repos/jianhaiqing/gobackup/assignees{/user}","branches_url":"https://api.github.com/repos/jianhaiqing/gobackup/branches{/branch}","tags_url":"https://api.github.com/repos/jianhaiqing/gobackup/tags","blobs_url":"https://api.github.com/repos/jianhaiqing/gobackup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jianhaiqing/gobackup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jianhaiqing/gobackup/git/refs{/sha}","trees_url":"https://api.github.com/repos/jianhaiqing/gobackup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jianhaiqing/gobackup/statuses/{sha}","languages_url":"https://api.github.com/repos/jianhaiqing/gobackup/languages","stargazers_url":"https://api.github.com/repos/jianhaiqing/gobackup/stargazers","contributors_url":"https://api.github.com/repos/jianhaiqing/gobackup/contributors","subscribers_url":"https://api.github.com/repos/jianhaiqing/gobackup/subscribers","subscription_url":"https://api.github.com/repos/jianhaiqing/gobackup/subscription","commits_url":"https://api.github.com/repos/jianhaiqing/gobackup/commits{/sha}","git_commits_url":"https://api.github.com/repos/jianhaiqing/gobackup/git/commits{/sha}","comments_url":"https://api.github.com/repos/jianhaiqing/gobackup/comments{/number}","issue_comment_url":"https://api.github.com/repos/jianhaiqing/gobackup/issues/comments{/number}","contents_url":"https://api.github.com/repos/jianhaiqing/gobackup/contents/{+path}","compare_url":"https://api.github.com/repos/jianhaiqing/gobackup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jianhaiqing/gobackup/merges","archive_url":"https://api.github.com/repos/jianhaiqing/gobackup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jianhaiqing/gobackup/downloads","issues_url":"https://api.github.com/repos/jianhaiqing/gobackup/issues{/number}","pulls_url":"https://api.github.com/repos/jianhaiqing/gobackup/pulls{/number}","milestones_url":"https://api.github.com/repos/jianhaiqing/gobackup/milestones{/number}","notifications_url":"https://api.github.com/repos/jianhaiqing/gobackup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jianhaiqing/gobackup/labels{/name}","releases_url":"https://api.github.com/repos/jianhaiqing/gobackup/releases{/id}","deployments_url":"https://api.github.com/repos/jianhaiqing/gobackup/deployments","created_at":"2018-10-15T09:00:22Z","updated_at":"2018-10-24T00:17:30Z","pushed_at":"2018-10-24T00:17:28Z","git_url":"git://github.com/jianhaiqing/gobackup.git","ssh_url":"git@github.com:jianhaiqing/gobackup.git","clone_url":"https://github.com/jianhaiqing/gobackup.git","svn_url":"https://github.com/jianhaiqing/gobackup","homepage":"https://gobackup.github.io","size":112,"stargazers_count":0,"watchers_count":0,"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,"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":0,"default_branch":"master"}},"base":{"label":"huacnlee:master","ref":"master","sha":"0b36664f9b2388d2bc4439c42f5dc99e9c7b4ff1","user":{"login":"huacnlee","id":5518,"node_id":"MDQ6VXNlcjU1MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5518?v=4","gravatar_id":"","url":"https://api.github.com/users/huacnlee","html_url":"https://github.com/huacnlee","followers_url":"https://api.github.com/users/huacnlee/followers","following_url":"https://api.github.com/users/huacnlee/following{/other_user}","gists_url":"https://api.github.com/users/huacnlee/gists{/gist_id}","starred_url":"https://api.github.com/users/huacnlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huacnlee/subscriptions","organizations_url":"https://api.github.com/users/huacnlee/orgs","repos_url":"https://api.github.com/users/huacnlee/repos","events_url":"https://api.github.com/users/huacnlee/events{/privacy}","received_events_url":"https://api.github.com/users/huacnlee/received_events","type":"User","site_admin":false},"repo":{"id":102588436,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI1ODg0MzY=","name":"gobackup","full_name":"huacnlee/gobackup","private":false,"owner":{"login":"huacnlee","id":5518,"node_id":"MDQ6VXNlcjU1MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5518?v=4","gravatar_id":"","url":"https://api.github.com/users/huacnlee","html_url":"https://github.com/huacnlee","followers_url":"https://api.github.com/users/huacnlee/followers","following_url":"https://api.github.com/users/huacnlee/following{/other_user}","gists_url":"https://api.github.com/users/huacnlee/gists{/gist_id}","starred_url":"https://api.github.com/users/huacnlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huacnlee/subscriptions","organizations_url":"https://api.github.com/users/huacnlee/orgs","repos_url":"https://api.github.com/users/huacnlee/repos","events_url":"https://api.github.com/users/huacnlee/events{/privacy}","received_events_url":"https://api.github.com/users/huacnlee/received_events","type":"User","site_admin":false},"html_url":"https://github.com/huacnlee/gobackup","description":"🗄 Simple tool for backup your databases, files to FTP / SCP / S3 storages.","fork":false,"url":"https://api.github.com/repos/huacnlee/gobackup","forks_url":"https://api.github.com/repos/huacnlee/gobackup/forks","keys_url":"https://api.github.com/repos/huacnlee/gobackup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huacnlee/gobackup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huacnlee/gobackup/teams","hooks_url":"https://api.github.com/repos/huacnlee/gobackup/hooks","issue_events_url":"https://api.github.com/repos/huacnlee/gobackup/issues/events{/number}","events_url":"https://api.github.com/repos/huacnlee/gobackup/events","assignees_url":"https://api.github.com/repos/huacnlee/gobackup/assignees{/user}","branches_url":"https://api.github.com/repos/huacnlee/gobackup/branches{/branch}","tags_url":"https://api.github.com/repos/huacnlee/gobackup/tags","blobs_url":"https://api.github.com/repos/huacnlee/gobackup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huacnlee/gobackup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huacnlee/gobackup/git/refs{/sha}","trees_url":"https://api.github.com/repos/huacnlee/gobackup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huacnlee/gobackup/statuses/{sha}","languages_url":"https://api.github.com/repos/huacnlee/gobackup/languages","stargazers_url":"https://api.github.com/repos/huacnlee/gobackup/stargazers","contributors_url":"https://api.github.com/repos/huacnlee/gobackup/contributors","subscribers_url":"https://api.github.com/repos/huacnlee/gobackup/subscribers","subscription_url":"https://api.github.com/repos/huacnlee/gobackup/subscription","commits_url":"https://api.github.com/repos/huacnlee/gobackup/commits{/sha}","git_commits_url":"https://api.github.com/repos/huacnlee/gobackup/git/commits{/sha}","comments_url":"https://api.github.com/repos/huacnlee/gobackup/comments{/number}","issue_comment_url":"https://api.github.com/repos/huacnlee/gobackup/issues/comments{/number}","contents_url":"https://api.github.com/repos/huacnlee/gobackup/contents/{+path}","compare_url":"https://api.github.com/repos/huacnlee/gobackup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huacnlee/gobackup/merges","archive_url":"https://api.github.com/repos/huacnlee/gobackup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huacnlee/gobackup/downloads","issues_url":"https://api.github.com/repos/huacnlee/gobackup/issues{/number}","pulls_url":"https://api.github.com/repos/huacnlee/gobackup/pulls{/number}","milestones_url":"https://api.github.com/repos/huacnlee/gobackup/milestones{/number}","notifications_url":"https://api.github.com/repos/huacnlee/gobackup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huacnlee/gobackup/labels{/name}","releases_url":"https://api.github.com/repos/huacnlee/gobackup/releases{/id}","deployments_url":"https://api.github.com/repos/huacnlee/gobackup/deployments","created_at":"2017-09-06T09:14:52Z","updated_at":"2018-12-03T14:18:36Z","pushed_at":"2018-12-07T11:55:40Z","git_url":"git://github.com/huacnlee/gobackup.git","ssh_url":"git@github.com:huacnlee/gobackup.git","clone_url":"https://github.com/huacnlee/gobackup.git","svn_url":"https://github.com/huacnlee/gobackup","homepage":"https://gobackup.github.io","size":116,"stargazers_count":179,"watchers_count":179,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":45,"open_issues":8,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/huacnlee/gobackup/pulls/35"},"html":{"href":"https://github.com/huacnlee/gobackup/pull/35"},"issue":{"href":"https://api.github.com/repos/huacnlee/gobackup/issues/35"},"comments":{"href":"https://api.github.com/repos/huacnlee/gobackup/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/huacnlee/gobackup/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/huacnlee/gobackup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/huacnlee/gobackup/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/huacnlee/gobackup/statuses/6fe9673b820ad0301be86b388d4ae7e1405cc5eb"}},"author_association":"NONE"}}
{"actor":{"display_login":"huacnlee"}}