{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/comments/208891435","pull_request_review_id":144792802,"id":208891435,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODg5MTQzNQ==","diff_hunk":"@@ -38,6 +38,8 @@ Command line flags override config values.\n \n func main() {\n \tconfigFilePath := flag.String(\"config\", \"\", \"the config file in yaml format\")\n+\tgithubHost := flag.String(\"github-host\", \"\", \"the address of github (eg. github.com)\")","path":"cmd/init-repo/main.go","position":4,"original_position":4,"commit_id":"61e12c493bdc2431c05075cb39703e5f8ccee2e1","original_commit_id":"61e12c493bdc2431c05075cb39703e5f8ccee2e1","user":{"login":"sttts","id":730123,"node_id":"MDQ6VXNlcjczMDEyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/730123?v=4","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"body":"s/eg/defaults to/","created_at":"2018-08-09T11:14:06Z","updated_at":"2018-08-09T11:14:07Z","html_url":"https://github.com/kubernetes/publishing-bot/pull/83#discussion_r208891435","pull_request_url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/comments/208891435"},"html":{"href":"https://github.com/kubernetes/publishing-bot/pull/83#discussion_r208891435"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83","id":207210068,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MjEwMDY4","html_url":"https://github.com/kubernetes/publishing-bot/pull/83","diff_url":"https://github.com/kubernetes/publishing-bot/pull/83.diff","patch_url":"https://github.com/kubernetes/publishing-bot/pull/83.patch","issue_url":"https://api.github.com/repos/kubernetes/publishing-bot/issues/83","number":83,"state":"open","locked":false,"title":"cmd/*: add github-host and package flag","user":{"login":"zhouhaibing089","id":4516999,"node_id":"MDQ6VXNlcjQ1MTY5OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4516999?v=4","gravatar_id":"","url":"https://api.github.com/users/zhouhaibing089","html_url":"https://github.com/zhouhaibing089","followers_url":"https://api.github.com/users/zhouhaibing089/followers","following_url":"https://api.github.com/users/zhouhaibing089/following{/other_user}","gists_url":"https://api.github.com/users/zhouhaibing089/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouhaibing089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouhaibing089/subscriptions","organizations_url":"https://api.github.com/users/zhouhaibing089/orgs","repos_url":"https://api.github.com/users/zhouhaibing089/repos","events_url":"https://api.github.com/users/zhouhaibing089/events{/privacy}","received_events_url":"https://api.github.com/users/zhouhaibing089/received_events","type":"User","site_admin":false},"body":"In case people are running github on-premise, they should be able\r\nto tweak the github address.\r\n\r\nthe second case is: people might not be using the traditional name\r\nconvention like github.com/xxx/yyy as the package base, we should\r\nallow them to specify the package name when cloning the code into\r\nGOPATH.","created_at":"2018-08-09T06:10:29Z","updated_at":"2018-08-09T11:14:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1955b49c8c6982dce22734d26e1474bd6ad6ce1b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"marun","id":451477,"node_id":"MDQ6VXNlcjQ1MTQ3Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/451477?v=4","gravatar_id":"","url":"https://api.github.com/users/marun","html_url":"https://github.com/marun","followers_url":"https://api.github.com/users/marun/followers","following_url":"https://api.github.com/users/marun/following{/other_user}","gists_url":"https://api.github.com/users/marun/gists{/gist_id}","starred_url":"https://api.github.com/users/marun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marun/subscriptions","organizations_url":"https://api.github.com/users/marun/orgs","repos_url":"https://api.github.com/users/marun/repos","events_url":"https://api.github.com/users/marun/events{/privacy}","received_events_url":"https://api.github.com/users/marun/received_events","type":"User","site_admin":false},{"login":"apelisse","id":1929644,"node_id":"MDQ6VXNlcjE5Mjk2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1929644?v=4","gravatar_id":"","url":"https://api.github.com/users/apelisse","html_url":"https://github.com/apelisse","followers_url":"https://api.github.com/users/apelisse/followers","following_url":"https://api.github.com/users/apelisse/following{/other_user}","gists_url":"https://api.github.com/users/apelisse/gists{/gist_id}","starred_url":"https://api.github.com/users/apelisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apelisse/subscriptions","organizations_url":"https://api.github.com/users/apelisse/orgs","repos_url":"https://api.github.com/users/apelisse/repos","events_url":"https://api.github.com/users/apelisse/events{/privacy}","received_events_url":"https://api.github.com/users/apelisse/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":772517983,"node_id":"MDU6TGFiZWw3NzI1MTc5ODM=","url":"https://api.github.com/repos/kubernetes/publishing-bot/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":772517934,"node_id":"MDU6TGFiZWw3NzI1MTc5MzQ=","url":"https://api.github.com/repos/kubernetes/publishing-bot/labels/size/M","name":"size/M","color":"eebb00","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83/commits","review_comments_url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83/comments","review_comment_url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/publishing-bot/issues/83/comments","statuses_url":"https://api.github.com/repos/kubernetes/publishing-bot/statuses/61e12c493bdc2431c05075cb39703e5f8ccee2e1","head":{"label":"zhouhaibing089:master","ref":"master","sha":"61e12c493bdc2431c05075cb39703e5f8ccee2e1","user":{"login":"zhouhaibing089","id":4516999,"node_id":"MDQ6VXNlcjQ1MTY5OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4516999?v=4","gravatar_id":"","url":"https://api.github.com/users/zhouhaibing089","html_url":"https://github.com/zhouhaibing089","followers_url":"https://api.github.com/users/zhouhaibing089/followers","following_url":"https://api.github.com/users/zhouhaibing089/following{/other_user}","gists_url":"https://api.github.com/users/zhouhaibing089/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouhaibing089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouhaibing089/subscriptions","organizations_url":"https://api.github.com/users/zhouhaibing089/orgs","repos_url":"https://api.github.com/users/zhouhaibing089/repos","events_url":"https://api.github.com/users/zhouhaibing089/events{/privacy}","received_events_url":"https://api.github.com/users/zhouhaibing089/received_events","type":"User","site_admin":false},"repo":{"id":144108042,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxMDgwNDI=","name":"publishing-bot","full_name":"zhouhaibing089/publishing-bot","owner":{"login":"zhouhaibing089","id":4516999,"node_id":"MDQ6VXNlcjQ1MTY5OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/4516999?v=4","gravatar_id":"","url":"https://api.github.com/users/zhouhaibing089","html_url":"https://github.com/zhouhaibing089","followers_url":"https://api.github.com/users/zhouhaibing089/followers","following_url":"https://api.github.com/users/zhouhaibing089/following{/other_user}","gists_url":"https://api.github.com/users/zhouhaibing089/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouhaibing089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouhaibing089/subscriptions","organizations_url":"https://api.github.com/users/zhouhaibing089/orgs","repos_url":"https://api.github.com/users/zhouhaibing089/repos","events_url":"https://api.github.com/users/zhouhaibing089/events{/privacy}","received_events_url":"https://api.github.com/users/zhouhaibing089/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhouhaibing089/publishing-bot","description":"Code behind robot to publish from staging to real repositories.","fork":true,"url":"https://api.github.com/repos/zhouhaibing089/publishing-bot","forks_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/forks","keys_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/teams","hooks_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/hooks","issue_events_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/issues/events{/number}","events_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/events","assignees_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/assignees{/user}","branches_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/branches{/branch}","tags_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/tags","blobs_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/languages","stargazers_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/stargazers","contributors_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/contributors","subscribers_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/subscribers","subscription_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/subscription","commits_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/contents/{+path}","compare_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/merges","archive_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/downloads","issues_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/issues{/number}","pulls_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/labels{/name}","releases_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/releases{/id}","deployments_url":"https://api.github.com/repos/zhouhaibing089/publishing-bot/deployments","created_at":"2018-08-09T06:08:06Z","updated_at":"2018-08-09T09:36:40Z","pushed_at":"2018-08-09T09:36:38Z","git_url":"git://github.com/zhouhaibing089/publishing-bot.git","ssh_url":"git@github.com:zhouhaibing089/publishing-bot.git","clone_url":"https://github.com/zhouhaibing089/publishing-bot.git","svn_url":"https://github.com/zhouhaibing089/publishing-bot","homepage":null,"size":11931,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"c85c539e47c42edbee94e368147ca88e2a1a8001","user":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":113460341,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM0NjAzNDE=","name":"publishing-bot","full_name":"kubernetes/publishing-bot","owner":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/publishing-bot","description":"Code behind robot to publish from staging to real repositories.","fork":false,"url":"https://api.github.com/repos/kubernetes/publishing-bot","forks_url":"https://api.github.com/repos/kubernetes/publishing-bot/forks","keys_url":"https://api.github.com/repos/kubernetes/publishing-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/publishing-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/publishing-bot/teams","hooks_url":"https://api.github.com/repos/kubernetes/publishing-bot/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/publishing-bot/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/publishing-bot/events","assignees_url":"https://api.github.com/repos/kubernetes/publishing-bot/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/publishing-bot/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/publishing-bot/tags","blobs_url":"https://api.github.com/repos/kubernetes/publishing-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/publishing-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/publishing-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/publishing-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/publishing-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/publishing-bot/languages","stargazers_url":"https://api.github.com/repos/kubernetes/publishing-bot/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/publishing-bot/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/publishing-bot/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/publishing-bot/subscription","commits_url":"https://api.github.com/repos/kubernetes/publishing-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/publishing-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/publishing-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/publishing-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/publishing-bot/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/publishing-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/publishing-bot/merges","archive_url":"https://api.github.com/repos/kubernetes/publishing-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/publishing-bot/downloads","issues_url":"https://api.github.com/repos/kubernetes/publishing-bot/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/publishing-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/publishing-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/publishing-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/publishing-bot/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/publishing-bot/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/publishing-bot/deployments","created_at":"2017-12-07T14:26:05Z","updated_at":"2018-08-08T16:44:33Z","pushed_at":"2018-08-09T09:36:40Z","git_url":"git://github.com/kubernetes/publishing-bot.git","ssh_url":"git@github.com:kubernetes/publishing-bot.git","clone_url":"https://github.com/kubernetes/publishing-bot.git","svn_url":"https://github.com/kubernetes/publishing-bot","homepage":null,"size":11936,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":17,"open_issues":5,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83"},"html":{"href":"https://github.com/kubernetes/publishing-bot/pull/83"},"issue":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/issues/83"},"comments":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/publishing-bot/statuses/61e12c493bdc2431c05075cb39703e5f8ccee2e1"}},"author_association":"NONE"}}
{"actor":{"display_login":"sttts"}}