{"action":"closed","number":853,"pull_request":{"url":"https://api.github.com/repos/dotnet/arcade/pulls/853","id":218021358,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDIxMzU4","html_url":"https://github.com/dotnet/arcade/pull/853","diff_url":"https://github.com/dotnet/arcade/pull/853.diff","patch_url":"https://github.com/dotnet/arcade/pull/853.patch","issue_url":"https://api.github.com/repos/dotnet/arcade/issues/853","number":853,"state":"closed","locked":false,"title":"Basic get-channels and refactoring","user":{"login":"mmitche","id":8725170,"node_id":"MDQ6VXNlcjg3MjUxNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8725170?v=4","gravatar_id":"","url":"https://api.github.com/users/mmitche","html_url":"https://github.com/mmitche","followers_url":"https://api.github.com/users/mmitche/followers","following_url":"https://api.github.com/users/mmitche/following{/other_user}","gists_url":"https://api.github.com/users/mmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/mmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmitche/subscriptions","organizations_url":"https://api.github.com/users/mmitche/orgs","repos_url":"https://api.github.com/users/mmitche/repos","events_url":"https://api.github.com/users/mmitche/events{/privacy}","received_events_url":"https://api.github.com/users/mmitche/received_events","type":"User","site_admin":false},"body":"Implements a basic get-channels (get a list of channels). Simply calls the GET channels API and prints the results.\r\n\r\nAdditionally, performs the following refactorings + fixes\r\n- Authenticate operation now has '--clear', which removes settings\r\n- Authenticate operation now loads current settings when displaying the popup, and *'s out secrets.\r\n- Factored out the local settings into a separate class which the authenticate and other operations act on.  Implements a load operation that takes into account the local command line, which should override the settings file.\r\n- Factored out the operations into separate classes, so that I could easily implement IDisposable on them.  IDisposable disposes the logger factory.\r\n- Factor out the calls to the operations into a separate method in Program, so that Dispose can be called explicitly.  This is necessary because of a bug which means that the logger factory is not disposed on process exit. If it's not disposed, then the console log is often incomplete.\r\n- Added a \"none\" type for the git repo type.  If not provided with a repo type, then the Remote class does not attempt to initialize the git client.  Initializing is not necessary for many operations.\r\n- Add checks for appropriate BAR/Git clients on operations that need them.","created_at":"2018-09-25T15:20:35Z","updated_at":"2018-09-25T17:31:26Z","closed_at":"2018-09-25T17:31:26Z","merged_at":"2018-09-25T17:31:26Z","merge_commit_sha":"e67210da2a6ea1e63799724a02ab0b46a304e334","assignee":null,"assignees":[],"requested_reviewers":[{"login":"alexperovich","id":10565410,"node_id":"MDQ6VXNlcjEwNTY1NDEw","avatar_url":"https://avatars3.githubusercontent.com/u/10565410?v=4","gravatar_id":"","url":"https://api.github.com/users/alexperovich","html_url":"https://github.com/alexperovich","followers_url":"https://api.github.com/users/alexperovich/followers","following_url":"https://api.github.com/users/alexperovich/following{/other_user}","gists_url":"https://api.github.com/users/alexperovich/gists{/gist_id}","starred_url":"https://api.github.com/users/alexperovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexperovich/subscriptions","organizations_url":"https://api.github.com/users/alexperovich/orgs","repos_url":"https://api.github.com/users/alexperovich/repos","events_url":"https://api.github.com/users/alexperovich/events{/privacy}","received_events_url":"https://api.github.com/users/alexperovich/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/arcade/pulls/853/commits","review_comments_url":"https://api.github.com/repos/dotnet/arcade/pulls/853/comments","review_comment_url":"https://api.github.com/repos/dotnet/arcade/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/arcade/issues/853/comments","statuses_url":"https://api.github.com/repos/dotnet/arcade/statuses/489cb6dab509149e2ef36e98a9f8667e64207d38","head":{"label":"mmitche:get-channels-op","ref":"get-channels-op","sha":"489cb6dab509149e2ef36e98a9f8667e64207d38","user":{"login":"mmitche","id":8725170,"node_id":"MDQ6VXNlcjg3MjUxNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8725170?v=4","gravatar_id":"","url":"https://api.github.com/users/mmitche","html_url":"https://github.com/mmitche","followers_url":"https://api.github.com/users/mmitche/followers","following_url":"https://api.github.com/users/mmitche/following{/other_user}","gists_url":"https://api.github.com/users/mmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/mmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmitche/subscriptions","organizations_url":"https://api.github.com/users/mmitche/orgs","repos_url":"https://api.github.com/users/mmitche/repos","events_url":"https://api.github.com/users/mmitche/events{/privacy}","received_events_url":"https://api.github.com/users/mmitche/received_events","type":"User","site_admin":false},"repo":{"id":125901669,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU5MDE2Njk=","name":"arcade","full_name":"mmitche/arcade","private":false,"owner":{"login":"mmitche","id":8725170,"node_id":"MDQ6VXNlcjg3MjUxNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8725170?v=4","gravatar_id":"","url":"https://api.github.com/users/mmitche","html_url":"https://github.com/mmitche","followers_url":"https://api.github.com/users/mmitche/followers","following_url":"https://api.github.com/users/mmitche/following{/other_user}","gists_url":"https://api.github.com/users/mmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/mmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmitche/subscriptions","organizations_url":"https://api.github.com/users/mmitche/orgs","repos_url":"https://api.github.com/users/mmitche/repos","events_url":"https://api.github.com/users/mmitche/events{/privacy}","received_events_url":"https://api.github.com/users/mmitche/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mmitche/arcade","description":"Tools that provide common build infrastructure for multiple .NET Foundation projects.","fork":true,"url":"https://api.github.com/repos/mmitche/arcade","forks_url":"https://api.github.com/repos/mmitche/arcade/forks","keys_url":"https://api.github.com/repos/mmitche/arcade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmitche/arcade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmitche/arcade/teams","hooks_url":"https://api.github.com/repos/mmitche/arcade/hooks","issue_events_url":"https://api.github.com/repos/mmitche/arcade/issues/events{/number}","events_url":"https://api.github.com/repos/mmitche/arcade/events","assignees_url":"https://api.github.com/repos/mmitche/arcade/assignees{/user}","branches_url":"https://api.github.com/repos/mmitche/arcade/branches{/branch}","tags_url":"https://api.github.com/repos/mmitche/arcade/tags","blobs_url":"https://api.github.com/repos/mmitche/arcade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmitche/arcade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmitche/arcade/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmitche/arcade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmitche/arcade/statuses/{sha}","languages_url":"https://api.github.com/repos/mmitche/arcade/languages","stargazers_url":"https://api.github.com/repos/mmitche/arcade/stargazers","contributors_url":"https://api.github.com/repos/mmitche/arcade/contributors","subscribers_url":"https://api.github.com/repos/mmitche/arcade/subscribers","subscription_url":"https://api.github.com/repos/mmitche/arcade/subscription","commits_url":"https://api.github.com/repos/mmitche/arcade/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmitche/arcade/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmitche/arcade/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmitche/arcade/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmitche/arcade/contents/{+path}","compare_url":"https://api.github.com/repos/mmitche/arcade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmitche/arcade/merges","archive_url":"https://api.github.com/repos/mmitche/arcade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmitche/arcade/downloads","issues_url":"https://api.github.com/repos/mmitche/arcade/issues{/number}","pulls_url":"https://api.github.com/repos/mmitche/arcade/pulls{/number}","milestones_url":"https://api.github.com/repos/mmitche/arcade/milestones{/number}","notifications_url":"https://api.github.com/repos/mmitche/arcade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmitche/arcade/labels{/name}","releases_url":"https://api.github.com/repos/mmitche/arcade/releases{/id}","deployments_url":"https://api.github.com/repos/mmitche/arcade/deployments","created_at":"2018-03-19T18:18:12Z","updated_at":"2018-09-25T16:52:23Z","pushed_at":"2018-09-25T17:16:32Z","git_url":"git://github.com/mmitche/arcade.git","ssh_url":"git@github.com:mmitche/arcade.git","clone_url":"https://github.com/mmitche/arcade.git","svn_url":"https://github.com/mmitche/arcade","homepage":"","size":3678,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"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":"dotnet:master","ref":"master","sha":"b5bf7d5447b40bfa118f8f7aec86fac9bca835a4","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":121444325,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0NDQzMjU=","name":"arcade","full_name":"dotnet/arcade","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/arcade","description":"Tools that provide common build infrastructure for multiple .NET Foundation projects.","fork":false,"url":"https://api.github.com/repos/dotnet/arcade","forks_url":"https://api.github.com/repos/dotnet/arcade/forks","keys_url":"https://api.github.com/repos/dotnet/arcade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/arcade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/arcade/teams","hooks_url":"https://api.github.com/repos/dotnet/arcade/hooks","issue_events_url":"https://api.github.com/repos/dotnet/arcade/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/arcade/events","assignees_url":"https://api.github.com/repos/dotnet/arcade/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/arcade/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/arcade/tags","blobs_url":"https://api.github.com/repos/dotnet/arcade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/arcade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/arcade/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/arcade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/arcade/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/arcade/languages","stargazers_url":"https://api.github.com/repos/dotnet/arcade/stargazers","contributors_url":"https://api.github.com/repos/dotnet/arcade/contributors","subscribers_url":"https://api.github.com/repos/dotnet/arcade/subscribers","subscription_url":"https://api.github.com/repos/dotnet/arcade/subscription","commits_url":"https://api.github.com/repos/dotnet/arcade/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/arcade/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/arcade/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/arcade/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/arcade/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/arcade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/arcade/merges","archive_url":"https://api.github.com/repos/dotnet/arcade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/arcade/downloads","issues_url":"https://api.github.com/repos/dotnet/arcade/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/arcade/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/arcade/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/arcade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/arcade/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/arcade/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/arcade/deployments","created_at":"2018-02-13T22:29:54Z","updated_at":"2018-09-25T17:28:54Z","pushed_at":"2018-09-25T17:31:26Z","git_url":"git://github.com/dotnet/arcade.git","ssh_url":"git@github.com:dotnet/arcade.git","clone_url":"https://github.com/dotnet/arcade.git","svn_url":"https://github.com/dotnet/arcade","homepage":"","size":3692,"stargazers_count":15,"watchers_count":15,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":272,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":26,"open_issues":272,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/853"},"html":{"href":"https://github.com/dotnet/arcade/pull/853"},"issue":{"href":"https://api.github.com/repos/dotnet/arcade/issues/853"},"comments":{"href":"https://api.github.com/repos/dotnet/arcade/issues/853/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/853/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/853/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/arcade/statuses/489cb6dab509149e2ef36e98a9f8667e64207d38"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mmitche","id":8725170,"node_id":"MDQ6VXNlcjg3MjUxNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/8725170?v=4","gravatar_id":"","url":"https://api.github.com/users/mmitche","html_url":"https://github.com/mmitche","followers_url":"https://api.github.com/users/mmitche/followers","following_url":"https://api.github.com/users/mmitche/following{/other_user}","gists_url":"https://api.github.com/users/mmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/mmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmitche/subscriptions","organizations_url":"https://api.github.com/users/mmitche/orgs","repos_url":"https://api.github.com/users/mmitche/repos","events_url":"https://api.github.com/users/mmitche/events{/privacy}","received_events_url":"https://api.github.com/users/mmitche/received_events","type":"User","site_admin":false},"comments":0,"review_comments":11,"maintainer_can_modify":false,"commits":2,"additions":514,"deletions":99,"changed_files":18}}
{"actor":{"display_login":"mmitche"}}