{"action":"created","comment":{"url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/comments/27076092","id":27076092,"diff_hunk":"@@ -183,6 +197,37 @@ public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)\n             }\r\n         }\r\n \r\n+        public async void ExportAll()\r\n+        {\r\n+            try\r\n+            {\r\n+                var fileStream = this._persistenceService.SaveFile(\"*.config\", \"Config Files (.config)|*.config\");\r\n+\r\n+                if (fileStream == null)\r\n+                {\r\n+                    return;\r\n+                }\r\n+\r\n+                using (StreamWriter sw = new StreamWriter(fileStream, Encoding.ASCII))\r","path":"Source/ChocolateyGui/ViewModels/Controls/LocalSourceControlViewModel.cs","position":69,"original_position":69,"commit_id":"62f933eb59944af32238e02ff9ebb64c9e9cf63b","original_commit_id":"62f933eb59944af32238e02ff9ebb64c9e9cf63b","user":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"body":"Yip, this is just a PoC, to see what people's thoughts are.  Can switch to using Xml based classes for actual implementation.","created_at":"2015-03-24T21:39:22Z","updated_at":"2015-03-24T21:39:22Z","html_url":"https://github.com/chocolatey/ChocolateyGUI/pull/247#discussion_r27076092","pull_request_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247","_links":{"self":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/comments/27076092"},"html":{"href":"https://github.com/chocolatey/ChocolateyGUI/pull/247#discussion_r27076092"},"pull_request":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247"}}},"pull_request":{"url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247","id":31870381,"html_url":"https://github.com/chocolatey/ChocolateyGUI/pull/247","diff_url":"https://github.com/chocolatey/ChocolateyGUI/pull/247.diff","patch_url":"https://github.com/chocolatey/ChocolateyGUI/pull/247.patch","issue_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/247","number":247,"state":"open","locked":false,"title":"Ability to Export currently installed packages","user":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"body":"- Using a simple PersistenceService, i.e. Open/Save Dialog\r\n- Provide option to export the current list of installed packages to a packages.config file","created_at":"2015-03-24T21:11:11Z","updated_at":"2015-03-24T21:39:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb3932905670ec9457d075c225bbd5767d542412","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247/commits","review_comments_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247/comments","review_comment_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/247/comments","statuses_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/statuses/62f933eb59944af32238e02ff9ebb64c9e9cf63b","head":{"label":"chocolatey:feature/Issue-7","ref":"feature/Issue-7","sha":"62f933eb59944af32238e02ff9ebb64c9e9cf63b","user":{"login":"chocolatey","id":811025,"avatar_url":"https://avatars.githubusercontent.com/u/811025?v=3","gravatar_id":"","url":"https://api.github.com/users/chocolatey","html_url":"https://github.com/chocolatey","followers_url":"https://api.github.com/users/chocolatey/followers","following_url":"https://api.github.com/users/chocolatey/following{/other_user}","gists_url":"https://api.github.com/users/chocolatey/gists{/gist_id}","starred_url":"https://api.github.com/users/chocolatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocolatey/subscriptions","organizations_url":"https://api.github.com/users/chocolatey/orgs","repos_url":"https://api.github.com/users/chocolatey/repos","events_url":"https://api.github.com/users/chocolatey/events{/privacy}","received_events_url":"https://api.github.com/users/chocolatey/received_events","type":"Organization","site_admin":false},"repo":{"id":2306769,"name":"ChocolateyGUI","full_name":"chocolatey/ChocolateyGUI","owner":{"login":"chocolatey","id":811025,"avatar_url":"https://avatars.githubusercontent.com/u/811025?v=3","gravatar_id":"","url":"https://api.github.com/users/chocolatey","html_url":"https://github.com/chocolatey","followers_url":"https://api.github.com/users/chocolatey/followers","following_url":"https://api.github.com/users/chocolatey/following{/other_user}","gists_url":"https://api.github.com/users/chocolatey/gists{/gist_id}","starred_url":"https://api.github.com/users/chocolatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocolatey/subscriptions","organizations_url":"https://api.github.com/users/chocolatey/orgs","repos_url":"https://api.github.com/users/chocolatey/repos","events_url":"https://api.github.com/users/chocolatey/events{/privacy}","received_events_url":"https://api.github.com/users/chocolatey/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chocolatey/ChocolateyGUI","description":"Explorer for chocolatey, requires the install of chocolatey","fork":false,"url":"https://api.github.com/repos/chocolatey/ChocolateyGUI","forks_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/forks","keys_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/teams","hooks_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/hooks","issue_events_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/events{/number}","events_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/events","assignees_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/assignees{/user}","branches_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/branches{/branch}","tags_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/tags","blobs_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/refs{/sha}","trees_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/statuses/{sha}","languages_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/languages","stargazers_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/stargazers","contributors_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/contributors","subscribers_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/subscribers","subscription_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/subscription","commits_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/commits{/sha}","git_commits_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/commits{/sha}","comments_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/comments{/number}","issue_comment_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/comments{/number}","contents_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/contents/{+path}","compare_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/merges","archive_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/downloads","issues_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues{/number}","pulls_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls{/number}","milestones_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/milestones{/number}","notifications_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/labels{/name}","releases_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/releases{/id}","created_at":"2011-09-01T08:58:27Z","updated_at":"2015-03-24T19:27:16Z","pushed_at":"2015-03-24T21:11:11Z","git_url":"git://github.com/chocolatey/ChocolateyGUI.git","ssh_url":"git@github.com:chocolatey/ChocolateyGUI.git","clone_url":"https://github.com/chocolatey/ChocolateyGUI.git","svn_url":"https://github.com/chocolatey/ChocolateyGUI","homepage":"","size":42035,"stargazers_count":149,"watchers_count":149,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":42,"mirror_url":null,"open_issues_count":33,"forks":42,"open_issues":33,"watchers":149,"default_branch":"develop"}},"base":{"label":"chocolatey:develop","ref":"develop","sha":"246a759c8b31c13d8f48c7b27dca9e041d415934","user":{"login":"chocolatey","id":811025,"avatar_url":"https://avatars.githubusercontent.com/u/811025?v=3","gravatar_id":"","url":"https://api.github.com/users/chocolatey","html_url":"https://github.com/chocolatey","followers_url":"https://api.github.com/users/chocolatey/followers","following_url":"https://api.github.com/users/chocolatey/following{/other_user}","gists_url":"https://api.github.com/users/chocolatey/gists{/gist_id}","starred_url":"https://api.github.com/users/chocolatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocolatey/subscriptions","organizations_url":"https://api.github.com/users/chocolatey/orgs","repos_url":"https://api.github.com/users/chocolatey/repos","events_url":"https://api.github.com/users/chocolatey/events{/privacy}","received_events_url":"https://api.github.com/users/chocolatey/received_events","type":"Organization","site_admin":false},"repo":{"id":2306769,"name":"ChocolateyGUI","full_name":"chocolatey/ChocolateyGUI","owner":{"login":"chocolatey","id":811025,"avatar_url":"https://avatars.githubusercontent.com/u/811025?v=3","gravatar_id":"","url":"https://api.github.com/users/chocolatey","html_url":"https://github.com/chocolatey","followers_url":"https://api.github.com/users/chocolatey/followers","following_url":"https://api.github.com/users/chocolatey/following{/other_user}","gists_url":"https://api.github.com/users/chocolatey/gists{/gist_id}","starred_url":"https://api.github.com/users/chocolatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocolatey/subscriptions","organizations_url":"https://api.github.com/users/chocolatey/orgs","repos_url":"https://api.github.com/users/chocolatey/repos","events_url":"https://api.github.com/users/chocolatey/events{/privacy}","received_events_url":"https://api.github.com/users/chocolatey/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chocolatey/ChocolateyGUI","description":"Explorer for chocolatey, requires the install of chocolatey","fork":false,"url":"https://api.github.com/repos/chocolatey/ChocolateyGUI","forks_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/forks","keys_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/teams","hooks_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/hooks","issue_events_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/events{/number}","events_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/events","assignees_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/assignees{/user}","branches_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/branches{/branch}","tags_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/tags","blobs_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/refs{/sha}","trees_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/statuses/{sha}","languages_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/languages","stargazers_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/stargazers","contributors_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/contributors","subscribers_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/subscribers","subscription_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/subscription","commits_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/commits{/sha}","git_commits_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/git/commits{/sha}","comments_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/comments{/number}","issue_comment_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/comments{/number}","contents_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/contents/{+path}","compare_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/merges","archive_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/downloads","issues_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues{/number}","pulls_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls{/number}","milestones_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/milestones{/number}","notifications_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/labels{/name}","releases_url":"https://api.github.com/repos/chocolatey/ChocolateyGUI/releases{/id}","created_at":"2011-09-01T08:58:27Z","updated_at":"2015-03-24T19:27:16Z","pushed_at":"2015-03-24T21:11:11Z","git_url":"git://github.com/chocolatey/ChocolateyGUI.git","ssh_url":"git@github.com:chocolatey/ChocolateyGUI.git","clone_url":"https://github.com/chocolatey/ChocolateyGUI.git","svn_url":"https://github.com/chocolatey/ChocolateyGUI","homepage":"","size":42035,"stargazers_count":149,"watchers_count":149,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":42,"mirror_url":null,"open_issues_count":33,"forks":42,"open_issues":33,"watchers":149,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247"},"html":{"href":"https://github.com/chocolatey/ChocolateyGUI/pull/247"},"issue":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/247"},"comments":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/chocolatey/ChocolateyGUI/statuses/62f933eb59944af32238e02ff9ebb64c9e9cf63b"}}}}