{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/comments/169213365","pull_request_review_id":97702666,"id":169213365,"diff_hunk":"@@ -90,15 +91,10 @@ param (\n Download-File $url $file\n \n if ($unzipMethod -eq '7zip') {\n-  # download 7zip\n-  Write-Output \"Download 7Zip commandline tool\"\n-  $7zaExe = Join-Path $tempDir '7za.exe'\n-\n-  Download-File 'https://chocolatey.org/7za.exe' \"$7zaExe\"\n-\n   # unzip the package\n   Write-Output \"Extracting $file to $tempDir...\"\n   Start-Process \"$7zaExe\" -ArgumentList \"x -o`\"$tempDir`\" -y `\"$file`\"\" -Wait -NoNewWindow\n+  Remove-Item -Path \"$7zaExe\" -Force","path":"templates/InstallChocolatey.ps1.erb","position":21,"original_position":21,"commit_id":"2c235100b1bbdb6f3feaf7d530b8f06452bdc2e8","original_commit_id":"2c235100b1bbdb6f3feaf7d530b8f06452bdc2e8","user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars0.githubusercontent.com/u/63502?v=4","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"body":"And on second look, realized this is in Puppet and not Ruby. Hmm","created_at":"2018-02-20T04:01:48Z","updated_at":"2018-02-20T04:01:48Z","html_url":"https://github.com/puppetlabs/puppetlabs-chocolatey/pull/94#discussion_r169213365","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/comments/169213365"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-chocolatey/pull/94#discussion_r169213365"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94"}},"in_reply_to_id":169039271},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94","id":169593781,"html_url":"https://github.com/puppetlabs/puppetlabs-chocolatey/pull/94","diff_url":"https://github.com/puppetlabs/puppetlabs-chocolatey/pull/94.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-chocolatey/pull/94.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues/94","number":94,"state":"open","locked":false,"title":"(MODULES-6652) Fix download 7z behind proxy","user":{"login":"helge000","id":13696924,"avatar_url":"https://avatars1.githubusercontent.com/u/13696924?v=4","gravatar_id":"","url":"https://api.github.com/users/helge000","html_url":"https://github.com/helge000","followers_url":"https://api.github.com/users/helge000/followers","following_url":"https://api.github.com/users/helge000/following{/other_user}","gists_url":"https://api.github.com/users/helge000/gists{/gist_id}","starred_url":"https://api.github.com/users/helge000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helge000/subscriptions","organizations_url":"https://api.github.com/users/helge000/orgs","repos_url":"https://api.github.com/users/helge000/repos","events_url":"https://api.github.com/users/helge000/events{/privacy}","received_events_url":"https://api.github.com/users/helge000/received_events","type":"User","site_admin":false},"body":"Adds a local file '7za.exe' witch is copied to $::system32 in case unzip\r\nmethod is '7zip'.\r\n7za - source: https://chocolatey.org/7za.exe, witch was originally used\r\nin the template.","created_at":"2018-02-16T10:47:27Z","updated_at":"2018-02-20T04:01:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16454413373ffffbbae34c2d12c5db61d05046fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues/94/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/statuses/2c235100b1bbdb6f3feaf7d530b8f06452bdc2e8","head":{"label":"helge000:MODULES-6652","ref":"MODULES-6652","sha":"2c235100b1bbdb6f3feaf7d530b8f06452bdc2e8","user":{"login":"helge000","id":13696924,"avatar_url":"https://avatars1.githubusercontent.com/u/13696924?v=4","gravatar_id":"","url":"https://api.github.com/users/helge000","html_url":"https://github.com/helge000","followers_url":"https://api.github.com/users/helge000/followers","following_url":"https://api.github.com/users/helge000/following{/other_user}","gists_url":"https://api.github.com/users/helge000/gists{/gist_id}","starred_url":"https://api.github.com/users/helge000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helge000/subscriptions","organizations_url":"https://api.github.com/users/helge000/orgs","repos_url":"https://api.github.com/users/helge000/repos","events_url":"https://api.github.com/users/helge000/events{/privacy}","received_events_url":"https://api.github.com/users/helge000/received_events","type":"User","site_admin":false},"repo":{"id":76245801,"name":"puppetlabs-chocolatey","full_name":"helge000/puppetlabs-chocolatey","owner":{"login":"helge000","id":13696924,"avatar_url":"https://avatars1.githubusercontent.com/u/13696924?v=4","gravatar_id":"","url":"https://api.github.com/users/helge000","html_url":"https://github.com/helge000","followers_url":"https://api.github.com/users/helge000/followers","following_url":"https://api.github.com/users/helge000/following{/other_user}","gists_url":"https://api.github.com/users/helge000/gists{/gist_id}","starred_url":"https://api.github.com/users/helge000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helge000/subscriptions","organizations_url":"https://api.github.com/users/helge000/orgs","repos_url":"https://api.github.com/users/helge000/repos","events_url":"https://api.github.com/users/helge000/events{/privacy}","received_events_url":"https://api.github.com/users/helge000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/helge000/puppetlabs-chocolatey","description":"Chocolatey Package Provider for Puppet","fork":true,"url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey","forks_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/forks","keys_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/teams","hooks_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/hooks","issue_events_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/issues/events{/number}","events_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/events","assignees_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/assignees{/user}","branches_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/branches{/branch}","tags_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/tags","blobs_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/git/refs{/sha}","trees_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/statuses/{sha}","languages_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/languages","stargazers_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/stargazers","contributors_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/contributors","subscribers_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/subscribers","subscription_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/subscription","commits_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/commits{/sha}","git_commits_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/git/commits{/sha}","comments_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/comments{/number}","issue_comment_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/issues/comments{/number}","contents_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/contents/{+path}","compare_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/merges","archive_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/downloads","issues_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/issues{/number}","pulls_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/pulls{/number}","milestones_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/milestones{/number}","notifications_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/labels{/name}","releases_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/releases{/id}","deployments_url":"https://api.github.com/repos/helge000/puppetlabs-chocolatey/deployments","created_at":"2016-12-12T10:21:48Z","updated_at":"2016-12-12T10:21:49Z","pushed_at":"2018-02-19T10:41:42Z","git_url":"git://github.com/helge000/puppetlabs-chocolatey.git","ssh_url":"git@github.com:helge000/puppetlabs-chocolatey.git","clone_url":"https://github.com/helge000/puppetlabs-chocolatey.git","svn_url":"https://github.com/helge000/puppetlabs-chocolatey","homepage":"","size":807,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"79dd265c2c8c02decba64956104a113aa699c73b","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":53894597,"name":"puppetlabs-chocolatey","full_name":"puppetlabs/puppetlabs-chocolatey","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetlabs-chocolatey","description":"Chocolatey Package Provider for Puppet","fork":true,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/deployments","created_at":"2016-03-14T21:53:34Z","updated_at":"2017-11-22T16:01:13Z","pushed_at":"2018-02-19T10:41:45Z","git_url":"git://github.com/puppetlabs/puppetlabs-chocolatey.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-chocolatey.git","clone_url":"https://github.com/puppetlabs/puppetlabs-chocolatey.git","svn_url":"https://github.com/puppetlabs/puppetlabs-chocolatey","homepage":"","size":505,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"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"},"forks":30,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-chocolatey/pull/94"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues/94"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-chocolatey/statuses/2c235100b1bbdb6f3feaf7d530b8f06452bdc2e8"}},"author_association":"NONE"}}
{"actor":{"display_login":"ferventcoder"}}