{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/percona/pmm-agent/pulls/2","id":222885937,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyODg1OTM3","html_url":"https://github.com/percona/pmm-agent/pull/2","diff_url":"https://github.com/percona/pmm-agent/pull/2.diff","patch_url":"https://github.com/percona/pmm-agent/pull/2.patch","issue_url":"https://api.github.com/repos/percona/pmm-agent/issues/2","number":2,"state":"closed","locked":false,"title":"PMM-2990: Drop singletons generated by cobra.","user":{"login":"arvenil","id":450355,"node_id":"MDQ6VXNlcjQ1MDM1NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/450355?v=4","gravatar_id":"","url":"https://api.github.com/users/arvenil","html_url":"https://github.com/arvenil","followers_url":"https://api.github.com/users/arvenil/followers","following_url":"https://api.github.com/users/arvenil/following{/other_user}","gists_url":"https://api.github.com/users/arvenil/gists{/gist_id}","starred_url":"https://api.github.com/users/arvenil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvenil/subscriptions","organizations_url":"https://api.github.com/users/arvenil/orgs","repos_url":"https://api.github.com/users/arvenil/repos","events_url":"https://api.github.com/users/arvenil/events{/privacy}","received_events_url":"https://api.github.com/users/arvenil/received_events","type":"User","site_admin":false},"body":"* Easier to write parallel tests.\r\n* A bit better separation of app from cobra commands.\r\n* Tests.\r\n* Docs and cleanups.","created_at":"2018-10-15T12:21:27Z","updated_at":"2018-10-15T18:07:16Z","closed_at":"2018-10-15T18:07:16Z","merged_at":null,"merge_commit_sha":"5854de435f28a0eb12fbfd3f634ddda461cc2616","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/percona/pmm-agent/pulls/2/commits","review_comments_url":"https://api.github.com/repos/percona/pmm-agent/pulls/2/comments","review_comment_url":"https://api.github.com/repos/percona/pmm-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/pmm-agent/issues/2/comments","statuses_url":"https://api.github.com/repos/percona/pmm-agent/statuses/78a9f968c9ddca14bda979aa7a55c92354d488c9","head":{"label":"percona:PMM-2990_get_rid_of_cobra_generator","ref":"PMM-2990_get_rid_of_cobra_generator","sha":"78a9f968c9ddca14bda979aa7a55c92354d488c9","user":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":149303640,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkzMDM2NDA=","name":"pmm-agent","full_name":"percona/pmm-agent","private":false,"owner":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/percona/pmm-agent","description":null,"fork":false,"url":"https://api.github.com/repos/percona/pmm-agent","forks_url":"https://api.github.com/repos/percona/pmm-agent/forks","keys_url":"https://api.github.com/repos/percona/pmm-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/pmm-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/pmm-agent/teams","hooks_url":"https://api.github.com/repos/percona/pmm-agent/hooks","issue_events_url":"https://api.github.com/repos/percona/pmm-agent/issues/events{/number}","events_url":"https://api.github.com/repos/percona/pmm-agent/events","assignees_url":"https://api.github.com/repos/percona/pmm-agent/assignees{/user}","branches_url":"https://api.github.com/repos/percona/pmm-agent/branches{/branch}","tags_url":"https://api.github.com/repos/percona/pmm-agent/tags","blobs_url":"https://api.github.com/repos/percona/pmm-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/pmm-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/pmm-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/pmm-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/pmm-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/pmm-agent/languages","stargazers_url":"https://api.github.com/repos/percona/pmm-agent/stargazers","contributors_url":"https://api.github.com/repos/percona/pmm-agent/contributors","subscribers_url":"https://api.github.com/repos/percona/pmm-agent/subscribers","subscription_url":"https://api.github.com/repos/percona/pmm-agent/subscription","commits_url":"https://api.github.com/repos/percona/pmm-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/pmm-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/pmm-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/pmm-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/pmm-agent/contents/{+path}","compare_url":"https://api.github.com/repos/percona/pmm-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/pmm-agent/merges","archive_url":"https://api.github.com/repos/percona/pmm-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/pmm-agent/downloads","issues_url":"https://api.github.com/repos/percona/pmm-agent/issues{/number}","pulls_url":"https://api.github.com/repos/percona/pmm-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/pmm-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/pmm-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/pmm-agent/labels{/name}","releases_url":"https://api.github.com/repos/percona/pmm-agent/releases{/id}","deployments_url":"https://api.github.com/repos/percona/pmm-agent/deployments","created_at":"2018-09-18T14:39:05Z","updated_at":"2018-10-12T10:36:49Z","pushed_at":"2018-10-15T17:42:33Z","git_url":"git://github.com/percona/pmm-agent.git","ssh_url":"git@github.com:percona/pmm-agent.git","clone_url":"https://github.com/percona/pmm-agent.git","svn_url":"https://github.com/percona/pmm-agent","homepage":null,"size":4111,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"percona:master","ref":"master","sha":"fc61914e5f5241b00c0f1d0bfe75af352067cf7c","user":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":149303640,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkzMDM2NDA=","name":"pmm-agent","full_name":"percona/pmm-agent","private":false,"owner":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/percona/pmm-agent","description":null,"fork":false,"url":"https://api.github.com/repos/percona/pmm-agent","forks_url":"https://api.github.com/repos/percona/pmm-agent/forks","keys_url":"https://api.github.com/repos/percona/pmm-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/pmm-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/pmm-agent/teams","hooks_url":"https://api.github.com/repos/percona/pmm-agent/hooks","issue_events_url":"https://api.github.com/repos/percona/pmm-agent/issues/events{/number}","events_url":"https://api.github.com/repos/percona/pmm-agent/events","assignees_url":"https://api.github.com/repos/percona/pmm-agent/assignees{/user}","branches_url":"https://api.github.com/repos/percona/pmm-agent/branches{/branch}","tags_url":"https://api.github.com/repos/percona/pmm-agent/tags","blobs_url":"https://api.github.com/repos/percona/pmm-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/pmm-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/pmm-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/pmm-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/pmm-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/pmm-agent/languages","stargazers_url":"https://api.github.com/repos/percona/pmm-agent/stargazers","contributors_url":"https://api.github.com/repos/percona/pmm-agent/contributors","subscribers_url":"https://api.github.com/repos/percona/pmm-agent/subscribers","subscription_url":"https://api.github.com/repos/percona/pmm-agent/subscription","commits_url":"https://api.github.com/repos/percona/pmm-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/pmm-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/pmm-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/pmm-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/pmm-agent/contents/{+path}","compare_url":"https://api.github.com/repos/percona/pmm-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/pmm-agent/merges","archive_url":"https://api.github.com/repos/percona/pmm-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/pmm-agent/downloads","issues_url":"https://api.github.com/repos/percona/pmm-agent/issues{/number}","pulls_url":"https://api.github.com/repos/percona/pmm-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/pmm-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/pmm-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/pmm-agent/labels{/name}","releases_url":"https://api.github.com/repos/percona/pmm-agent/releases{/id}","deployments_url":"https://api.github.com/repos/percona/pmm-agent/deployments","created_at":"2018-09-18T14:39:05Z","updated_at":"2018-10-12T10:36:49Z","pushed_at":"2018-10-15T17:42:33Z","git_url":"git://github.com/percona/pmm-agent.git","ssh_url":"git@github.com:percona/pmm-agent.git","clone_url":"https://github.com/percona/pmm-agent.git","svn_url":"https://github.com/percona/pmm-agent","homepage":null,"size":4111,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/pmm-agent/pulls/2"},"html":{"href":"https://github.com/percona/pmm-agent/pull/2"},"issue":{"href":"https://api.github.com/repos/percona/pmm-agent/issues/2"},"comments":{"href":"https://api.github.com/repos/percona/pmm-agent/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/pmm-agent/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/pmm-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/pmm-agent/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/percona/pmm-agent/statuses/78a9f968c9ddca14bda979aa7a55c92354d488c9"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":3,"maintainer_can_modify":false,"commits":4,"additions":844,"deletions":593,"changed_files":28}}
{"actor":{"display_login":"AlekSi"}}