{"action":"created","comment":{"url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/comments/54979826","id":54979826,"diff_hunk":"@@ -0,0 +1,147 @@\n+# =====================================================================\n+# Copyright 2011 - Present RealDimensions Software, LLC, and the\n+# original authors/contributors from ChocolateyGallery\n+# at https://github.com/chocolatey/chocolatey.org\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#   http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+# =====================================================================\n+\n+# Environment Variables, specified as $env:NAME in PowerShell.exe and %NAME% in cmd.exe.\n+# For explicit proxy, please set $env:chocolateyProxyLocation and optionally $env:chocolateyProxyUser and $env:chocolateyProxyPassword\n+# For an explicit version of Chocolatey, please set $env:chocolateyVersion = 'versionnumber'\n+# To target a different url for chocolatey.nupkg, please set $env:chocolateyDownloadUrl = 'full url to nupkg file' \n+# NOTE: $env:chocolateyDownloadUrl does not work with $env:chocolateyVersion.\n+# To use built-in compression (no 7zip download), please set $env:chocolateyUseWindowsCompression = 'true'\n+\n+$url = \"https://chocolatey.org/api/v2/package/chocolatey/\"","path":"templates/default/InstallChocolatey.ps1.erb","position":26,"original_position":26,"commit_id":"2a7b6e0572586d7aa7e76dac2af7c8b8093e7428","original_commit_id":"2a7b6e0572586d7aa7e76dac2af7c8b8093e7428","user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","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":"That's what we do in the Puppet module","created_at":"2016-03-04T01:42:38Z","updated_at":"2016-03-04T01:42:38Z","html_url":"https://github.com/chocolatey/chocolatey-cookbook/pull/81#discussion_r54979826","pull_request_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/comments/54979826"},"html":{"href":"https://github.com/chocolatey/chocolatey-cookbook/pull/81#discussion_r54979826"},"pull_request":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81","id":61638501,"html_url":"https://github.com/chocolatey/chocolatey-cookbook/pull/81","diff_url":"https://github.com/chocolatey/chocolatey-cookbook/pull/81.diff","patch_url":"https://github.com/chocolatey/chocolatey-cookbook/pull/81.patch","issue_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues/81","number":81,"state":"open","locked":false,"title":"No longer dependent on chocolatey.org for install script","user":{"login":"spuder","id":242382,"avatar_url":"https://avatars.githubusercontent.com/u/242382?v=3","gravatar_id":"","url":"https://api.github.com/users/spuder","html_url":"https://github.com/spuder","followers_url":"https://api.github.com/users/spuder/followers","following_url":"https://api.github.com/users/spuder/following{/other_user}","gists_url":"https://api.github.com/users/spuder/gists{/gist_id}","starred_url":"https://api.github.com/users/spuder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spuder/subscriptions","organizations_url":"https://api.github.com/users/spuder/orgs","repos_url":"https://api.github.com/users/spuder/repos","events_url":"https://api.github.com/users/spuder/events{/privacy}","received_events_url":"https://api.github.com/users/spuder/received_events","type":"User","site_admin":false},"body":"Fixes #80 ","created_at":"2016-03-03T22:44:40Z","updated_at":"2016-03-04T01:42:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f463f19c20c117bcadf1984feb3200056d3b75d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81/commits","review_comments_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81/comments","review_comment_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues/81/comments","statuses_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/statuses/2a7b6e0572586d7aa7e76dac2af7c8b8093e7428","head":{"label":"spuder:feature/install-ps1","ref":"feature/install-ps1","sha":"2a7b6e0572586d7aa7e76dac2af7c8b8093e7428","user":{"login":"spuder","id":242382,"avatar_url":"https://avatars.githubusercontent.com/u/242382?v=3","gravatar_id":"","url":"https://api.github.com/users/spuder","html_url":"https://github.com/spuder","followers_url":"https://api.github.com/users/spuder/followers","following_url":"https://api.github.com/users/spuder/following{/other_user}","gists_url":"https://api.github.com/users/spuder/gists{/gist_id}","starred_url":"https://api.github.com/users/spuder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spuder/subscriptions","organizations_url":"https://api.github.com/users/spuder/orgs","repos_url":"https://api.github.com/users/spuder/repos","events_url":"https://api.github.com/users/spuder/events{/privacy}","received_events_url":"https://api.github.com/users/spuder/received_events","type":"User","site_admin":false},"repo":{"id":40146636,"name":"chocolatey-cookbook","full_name":"spuder/chocolatey-cookbook","owner":{"login":"spuder","id":242382,"avatar_url":"https://avatars.githubusercontent.com/u/242382?v=3","gravatar_id":"","url":"https://api.github.com/users/spuder","html_url":"https://github.com/spuder","followers_url":"https://api.github.com/users/spuder/followers","following_url":"https://api.github.com/users/spuder/following{/other_user}","gists_url":"https://api.github.com/users/spuder/gists{/gist_id}","starred_url":"https://api.github.com/users/spuder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spuder/subscriptions","organizations_url":"https://api.github.com/users/spuder/orgs","repos_url":"https://api.github.com/users/spuder/repos","events_url":"https://api.github.com/users/spuder/events{/privacy}","received_events_url":"https://api.github.com/users/spuder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spuder/chocolatey-cookbook","description":"Chef cookbook to install chocolatey and packages on Windows","fork":true,"url":"https://api.github.com/repos/spuder/chocolatey-cookbook","forks_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/forks","keys_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/teams","hooks_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/hooks","issue_events_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/events","assignees_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/tags","blobs_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/languages","stargazers_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/stargazers","contributors_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/contributors","subscribers_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/subscribers","subscription_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/subscription","commits_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/merges","archive_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/downloads","issues_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/spuder/chocolatey-cookbook/deployments","created_at":"2015-08-03T20:34:53Z","updated_at":"2016-03-03T22:36:49Z","pushed_at":"2016-03-03T23:34:56Z","git_url":"git://github.com/spuder/chocolatey-cookbook.git","ssh_url":"git@github.com:spuder/chocolatey-cookbook.git","clone_url":"https://github.com/spuder/chocolatey-cookbook.git","svn_url":"https://github.com/spuder/chocolatey-cookbook","homepage":null,"size":325,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chocolatey:master","ref":"master","sha":"41cf16a515c74f149dd047788f21e666e22f9df9","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":6073097,"name":"chocolatey-cookbook","full_name":"chocolatey/chocolatey-cookbook","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/chocolatey-cookbook","description":"Chef cookbook to install chocolatey and packages on Windows","fork":false,"url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook","forks_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/forks","keys_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/teams","hooks_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/hooks","issue_events_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/events","assignees_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/tags","blobs_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/languages","stargazers_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/stargazers","contributors_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/contributors","subscribers_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/subscribers","subscription_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/subscription","commits_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/merges","archive_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/downloads","issues_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/deployments","created_at":"2012-10-04T09:17:00Z","updated_at":"2016-01-24T00:11:46Z","pushed_at":"2016-03-03T23:34:56Z","git_url":"git://github.com/chocolatey/chocolatey-cookbook.git","ssh_url":"git@github.com:chocolatey/chocolatey-cookbook.git","clone_url":"https://github.com/chocolatey/chocolatey-cookbook.git","svn_url":"https://github.com/chocolatey/chocolatey-cookbook","homepage":null,"size":377,"stargazers_count":48,"watchers_count":48,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":14,"forks":57,"open_issues":14,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81"},"html":{"href":"https://github.com/chocolatey/chocolatey-cookbook/pull/81"},"issue":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues/81"},"comments":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/chocolatey/chocolatey-cookbook/statuses/2a7b6e0572586d7aa7e76dac2af7c8b8093e7428"}}}}