{"action":"created","comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments/26003813","id":26003813,"diff_hunk":"@@ -0,0 +1,43 @@\n+cask :v1 => 'mplab-xc16' do\n+  version '1.24'\n+  sha256 'f717ff76388d8b46b0add82048a42fa34f56879814775fe798300a33266c47b3'\n+\n+  url \"http://ww1.microchip.com/downloads/en/DeviceDoc/xc16-v#{version}-full-install-osx-installer.dmg\"\n+  name 'MPLab XC32 Compiler'\n+  homepage 'http://www.microchip.com/pagehandler/en-us/devtools/mplabxc/home.html'\n+  license :freemium\n+\n+  installer :script => \"xc16-v#{version}-osx-installer.app/Contents/MacOS/installbuilder.sh\",\n+            :args => %w[--mode unattended\n+                        --unattendedmodeui none\n+                        --netclient 0\n+                        --netservername \"\"\n+                        --installerfunction installcompiler\n+                        --ModifyAll 0\n+                        --prefix /opt/homebrew-cask/Caskroom/mplab-xc16/1.24]\n+\n+  postflight do\n+    system '/usr/bin/sudo', '-E', '--', '/usr/sbin/chown', '-R', '--', \"#{Etc.getpwuid(Process.euid).name}:staff\", \"/opt/homebrew-cask/Caskroom/mplab-xc16/#{version}\"\n+    system '/bin/rm', '-rf', \"/opt/homebrew-cask/Caskroom/mplab-xc16/xc16-v#{version}-osx-installer.app\"","path":"Casks/mplab-xc16.rb","position":21,"original_position":21,"commit_id":"420e9902156f8ebfe33360740813d1762b1be8f1","original_commit_id":"420e9902156f8ebfe33360740813d1762b1be8f1","user":{"login":"guyzmo","id":254441,"avatar_url":"https://avatars.githubusercontent.com/u/254441?v=3","gravatar_id":"","url":"https://api.github.com/users/guyzmo","html_url":"https://github.com/guyzmo","followers_url":"https://api.github.com/users/guyzmo/followers","following_url":"https://api.github.com/users/guyzmo/following{/other_user}","gists_url":"https://api.github.com/users/guyzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/guyzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyzmo/subscriptions","organizations_url":"https://api.github.com/users/guyzmo/orgs","repos_url":"https://api.github.com/users/guyzmo/repos","events_url":"https://api.github.com/users/guyzmo/events{/privacy}","received_events_url":"https://api.github.com/users/guyzmo/received_events","type":"User","site_admin":false},"body":"ok, I'll do it.\r\n\r\nEven though, I do not believe it's making it \"more\" secure, as all the `--` does is making it impossible to do more options on its RHS, avoiding the use of potentially dangerous options, but here am I already using the strongest options `-r` and `-f`. :-)","created_at":"2015-03-08T09:43:15Z","updated_at":"2015-03-08T09:43:15Z","html_url":"https://github.com/caskroom/homebrew-cask/pull/9569#discussion_r26003813","pull_request_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569","_links":{"self":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments/26003813"},"html":{"href":"https://github.com/caskroom/homebrew-cask/pull/9569#discussion_r26003813"},"pull_request":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569"}}},"pull_request":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569","id":29198942,"html_url":"https://github.com/caskroom/homebrew-cask/pull/9569","diff_url":"https://github.com/caskroom/homebrew-cask/pull/9569.diff","patch_url":"https://github.com/caskroom/homebrew-cask/pull/9569.patch","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9569","number":9569,"state":"open","locked":false,"title":"added casks for microchip's mplab xc compilers support.","user":{"login":"guyzmo","id":254441,"avatar_url":"https://avatars.githubusercontent.com/u/254441?v=3","gravatar_id":"","url":"https://api.github.com/users/guyzmo","html_url":"https://github.com/guyzmo","followers_url":"https://api.github.com/users/guyzmo/followers","following_url":"https://api.github.com/users/guyzmo/following{/other_user}","gists_url":"https://api.github.com/users/guyzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/guyzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyzmo/subscriptions","organizations_url":"https://api.github.com/users/guyzmo/orgs","repos_url":"https://api.github.com/users/guyzmo/repos","events_url":"https://api.github.com/users/guyzmo/events{/privacy}","received_events_url":"https://api.github.com/users/guyzmo/received_events","type":"User","site_admin":false},"body":" - binary casks that deploy the compilers in /usr/local/bin/,\r\n - install and uninstall script support,\r\n - support for the xc32, xc16 and xc8 compilers for the PIC32, 16 and 8 series","created_at":"2015-02-12T17:32:14Z","updated_at":"2015-03-08T09:43:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4db214fab39e914b4a4767f545bc5605b15c7bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569/commits","review_comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569/comments","review_comment_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9569/comments","statuses_url":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/420e9902156f8ebfe33360740813d1762b1be8f1","head":{"label":"guyzmo:mplab-xc","ref":"mplab-xc","sha":"420e9902156f8ebfe33360740813d1762b1be8f1","user":{"login":"guyzmo","id":254441,"avatar_url":"https://avatars.githubusercontent.com/u/254441?v=3","gravatar_id":"","url":"https://api.github.com/users/guyzmo","html_url":"https://github.com/guyzmo","followers_url":"https://api.github.com/users/guyzmo/followers","following_url":"https://api.github.com/users/guyzmo/following{/other_user}","gists_url":"https://api.github.com/users/guyzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/guyzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyzmo/subscriptions","organizations_url":"https://api.github.com/users/guyzmo/orgs","repos_url":"https://api.github.com/users/guyzmo/repos","events_url":"https://api.github.com/users/guyzmo/events{/privacy}","received_events_url":"https://api.github.com/users/guyzmo/received_events","type":"User","site_admin":false},"repo":{"id":30425119,"name":"homebrew-cask","full_name":"guyzmo/homebrew-cask","owner":{"login":"guyzmo","id":254441,"avatar_url":"https://avatars.githubusercontent.com/u/254441?v=3","gravatar_id":"","url":"https://api.github.com/users/guyzmo","html_url":"https://github.com/guyzmo","followers_url":"https://api.github.com/users/guyzmo/followers","following_url":"https://api.github.com/users/guyzmo/following{/other_user}","gists_url":"https://api.github.com/users/guyzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/guyzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyzmo/subscriptions","organizations_url":"https://api.github.com/users/guyzmo/orgs","repos_url":"https://api.github.com/users/guyzmo/repos","events_url":"https://api.github.com/users/guyzmo/events{/privacy}","received_events_url":"https://api.github.com/users/guyzmo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guyzmo/homebrew-cask","description":"A CLI workflow for the administration of Mac applications distributed as binaries","fork":true,"url":"https://api.github.com/repos/guyzmo/homebrew-cask","forks_url":"https://api.github.com/repos/guyzmo/homebrew-cask/forks","keys_url":"https://api.github.com/repos/guyzmo/homebrew-cask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guyzmo/homebrew-cask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guyzmo/homebrew-cask/teams","hooks_url":"https://api.github.com/repos/guyzmo/homebrew-cask/hooks","issue_events_url":"https://api.github.com/repos/guyzmo/homebrew-cask/issues/events{/number}","events_url":"https://api.github.com/repos/guyzmo/homebrew-cask/events","assignees_url":"https://api.github.com/repos/guyzmo/homebrew-cask/assignees{/user}","branches_url":"https://api.github.com/repos/guyzmo/homebrew-cask/branches{/branch}","tags_url":"https://api.github.com/repos/guyzmo/homebrew-cask/tags","blobs_url":"https://api.github.com/repos/guyzmo/homebrew-cask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guyzmo/homebrew-cask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guyzmo/homebrew-cask/git/refs{/sha}","trees_url":"https://api.github.com/repos/guyzmo/homebrew-cask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guyzmo/homebrew-cask/statuses/{sha}","languages_url":"https://api.github.com/repos/guyzmo/homebrew-cask/languages","stargazers_url":"https://api.github.com/repos/guyzmo/homebrew-cask/stargazers","contributors_url":"https://api.github.com/repos/guyzmo/homebrew-cask/contributors","subscribers_url":"https://api.github.com/repos/guyzmo/homebrew-cask/subscribers","subscription_url":"https://api.github.com/repos/guyzmo/homebrew-cask/subscription","commits_url":"https://api.github.com/repos/guyzmo/homebrew-cask/commits{/sha}","git_commits_url":"https://api.github.com/repos/guyzmo/homebrew-cask/git/commits{/sha}","comments_url":"https://api.github.com/repos/guyzmo/homebrew-cask/comments{/number}","issue_comment_url":"https://api.github.com/repos/guyzmo/homebrew-cask/issues/comments{/number}","contents_url":"https://api.github.com/repos/guyzmo/homebrew-cask/contents/{+path}","compare_url":"https://api.github.com/repos/guyzmo/homebrew-cask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guyzmo/homebrew-cask/merges","archive_url":"https://api.github.com/repos/guyzmo/homebrew-cask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guyzmo/homebrew-cask/downloads","issues_url":"https://api.github.com/repos/guyzmo/homebrew-cask/issues{/number}","pulls_url":"https://api.github.com/repos/guyzmo/homebrew-cask/pulls{/number}","milestones_url":"https://api.github.com/repos/guyzmo/homebrew-cask/milestones{/number}","notifications_url":"https://api.github.com/repos/guyzmo/homebrew-cask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guyzmo/homebrew-cask/labels{/name}","releases_url":"https://api.github.com/repos/guyzmo/homebrew-cask/releases{/id}","created_at":"2015-02-06T17:50:05Z","updated_at":"2015-02-06T17:50:12Z","pushed_at":"2015-03-08T00:16:09Z","git_url":"git://github.com/guyzmo/homebrew-cask.git","ssh_url":"git@github.com:guyzmo/homebrew-cask.git","clone_url":"https://github.com/guyzmo/homebrew-cask.git","svn_url":"https://github.com/guyzmo/homebrew-cask","homepage":"http://caskroom.io","size":35784,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"caskroom:master","ref":"master","sha":"92a8f69f870015bdef86b19b3d8c69f515982b0b","user":{"login":"caskroom","id":5647711,"avatar_url":"https://avatars.githubusercontent.com/u/5647711?v=3","gravatar_id":"","url":"https://api.github.com/users/caskroom","html_url":"https://github.com/caskroom","followers_url":"https://api.github.com/users/caskroom/followers","following_url":"https://api.github.com/users/caskroom/following{/other_user}","gists_url":"https://api.github.com/users/caskroom/gists{/gist_id}","starred_url":"https://api.github.com/users/caskroom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskroom/subscriptions","organizations_url":"https://api.github.com/users/caskroom/orgs","repos_url":"https://api.github.com/users/caskroom/repos","events_url":"https://api.github.com/users/caskroom/events{/privacy}","received_events_url":"https://api.github.com/users/caskroom/received_events","type":"Organization","site_admin":false},"repo":{"id":3623050,"name":"homebrew-cask","full_name":"caskroom/homebrew-cask","owner":{"login":"caskroom","id":5647711,"avatar_url":"https://avatars.githubusercontent.com/u/5647711?v=3","gravatar_id":"","url":"https://api.github.com/users/caskroom","html_url":"https://github.com/caskroom","followers_url":"https://api.github.com/users/caskroom/followers","following_url":"https://api.github.com/users/caskroom/following{/other_user}","gists_url":"https://api.github.com/users/caskroom/gists{/gist_id}","starred_url":"https://api.github.com/users/caskroom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskroom/subscriptions","organizations_url":"https://api.github.com/users/caskroom/orgs","repos_url":"https://api.github.com/users/caskroom/repos","events_url":"https://api.github.com/users/caskroom/events{/privacy}","received_events_url":"https://api.github.com/users/caskroom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskroom/homebrew-cask","description":"A CLI workflow for the administration of Mac applications distributed as binaries","fork":false,"url":"https://api.github.com/repos/caskroom/homebrew-cask","forks_url":"https://api.github.com/repos/caskroom/homebrew-cask/forks","keys_url":"https://api.github.com/repos/caskroom/homebrew-cask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskroom/homebrew-cask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskroom/homebrew-cask/teams","hooks_url":"https://api.github.com/repos/caskroom/homebrew-cask/hooks","issue_events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/events{/number}","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/events","assignees_url":"https://api.github.com/repos/caskroom/homebrew-cask/assignees{/user}","branches_url":"https://api.github.com/repos/caskroom/homebrew-cask/branches{/branch}","tags_url":"https://api.github.com/repos/caskroom/homebrew-cask/tags","blobs_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/{sha}","languages_url":"https://api.github.com/repos/caskroom/homebrew-cask/languages","stargazers_url":"https://api.github.com/repos/caskroom/homebrew-cask/stargazers","contributors_url":"https://api.github.com/repos/caskroom/homebrew-cask/contributors","subscribers_url":"https://api.github.com/repos/caskroom/homebrew-cask/subscribers","subscription_url":"https://api.github.com/repos/caskroom/homebrew-cask/subscription","commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskroom/homebrew-cask/contents/{+path}","compare_url":"https://api.github.com/repos/caskroom/homebrew-cask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskroom/homebrew-cask/merges","archive_url":"https://api.github.com/repos/caskroom/homebrew-cask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskroom/homebrew-cask/downloads","issues_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues{/number}","pulls_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls{/number}","milestones_url":"https://api.github.com/repos/caskroom/homebrew-cask/milestones{/number}","notifications_url":"https://api.github.com/repos/caskroom/homebrew-cask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/labels{/name}","releases_url":"https://api.github.com/repos/caskroom/homebrew-cask/releases{/id}","created_at":"2012-03-05T02:05:17Z","updated_at":"2015-03-08T09:14:48Z","pushed_at":"2015-03-08T09:14:47Z","git_url":"git://github.com/caskroom/homebrew-cask.git","ssh_url":"git@github.com:caskroom/homebrew-cask.git","clone_url":"https://github.com/caskroom/homebrew-cask.git","svn_url":"https://github.com/caskroom/homebrew-cask","homepage":"http://caskroom.io","size":125782,"stargazers_count":6129,"watchers_count":6129,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1860,"mirror_url":null,"open_issues_count":214,"forks":1860,"open_issues":214,"watchers":6129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569"},"html":{"href":"https://github.com/caskroom/homebrew-cask/pull/9569"},"issue":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9569"},"comments":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9569/comments"},"review_comments":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569/comments"},"review_comment":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/9569/commits"},"statuses":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/420e9902156f8ebfe33360740813d1762b1be8f1"}}}}