{"action":"closed","number":37293,"pull_request":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/37293","id":133587441,"html_url":"https://github.com/caskroom/homebrew-cask/pull/37293","diff_url":"https://github.com/caskroom/homebrew-cask/pull/37293.diff","patch_url":"https://github.com/caskroom/homebrew-cask/pull/37293.patch","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/37293","number":37293,"state":"closed","locked":false,"title":"softu2f 0.0.12 — fix side effects of Soft U2F installer running as root","user":{"login":"mastahyeti","id":1144197,"avatar_url":"https://avatars3.githubusercontent.com/u/1144197?v=4","gravatar_id":"","url":"https://api.github.com/users/mastahyeti","html_url":"https://github.com/mastahyeti","followers_url":"https://api.github.com/users/mastahyeti/followers","following_url":"https://api.github.com/users/mastahyeti/following{/other_user}","gists_url":"https://api.github.com/users/mastahyeti/gists{/gist_id}","starred_url":"https://api.github.com/users/mastahyeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastahyeti/subscriptions","organizations_url":"https://api.github.com/users/mastahyeti/orgs","repos_url":"https://api.github.com/users/mastahyeti/repos","events_url":"https://api.github.com/users/mastahyeti/events{/privacy}","received_events_url":"https://api.github.com/users/mastahyeti/received_events","type":"User","site_admin":true},"body":"I maintain the Soft U2F tool and have had a few users report that the homebrew installer isn't working. It turns out that homebrew runs `installer` with sudo, messing with the postinstall script in Soft U2F. I couldn't figure out a reliable way of getting the login of the actual user in the postinstall script, so instead, this PR fixes the broken install in a `postflight` block in the formula in this repo.\r\n\r\n/cc @fletchto99 @manuelmeurer \r\n\r\n---\r\n\r\n*If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.*\r\n\r\nAfter making all changes to the cask:\r\n\r\n- [x] `brew cask audit --download {{cask_file}}` is error-free.\r\n- [x] `brew cask style --fix {{cask_file}}` reports no offenses.\r\n- [x] The commit message includes the cask’s name and version.\r\n\r\nAdditionally, if **updating a cask**:\r\n\r\n- [x] ~[If the `sha256` changed but the `version` didn’t][version-checksum], provide public confirmation by the developer: {{link}}~\r\n\r\nAdditionally, if **adding a new cask**:\r\n\r\n- [x] ~Named the cask according to the [token reference].~\r\n- [x] ~`brew cask install {{cask_file}}` worked successfully.~\r\n- [x] ~`brew cask uninstall {{cask_file}}` worked successfully.~\r\n- [x] ~Checked there are no [open pull requests] for the same cask.~\r\n- [x] ~Checked the cask was not already refused in [closed issues].~\r\n- [x] ~Checked the cask is submitted to [the correct repo].~\r\n\r\n[token reference]: https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/token_reference.md\r\n[open pull requests]: https://github.com/caskroom/homebrew-cask/pulls\r\n[closed issues]: https://github.com/caskroom/homebrew-cask/issues?q=is%3Aissue+is%3Aclosed\r\n[the correct repo]: https://github.com/caskroom/homebrew-cask/blob/master/doc/development/adding_a_cask.md#finding-a-home-for-your-cask\r\n[version-checksum]: https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/sha256.md#updating-the-sha256","created_at":"2017-08-01T22:36:31Z","updated_at":"2017-08-03T05:58:16Z","closed_at":"2017-08-03T05:58:16Z","merged_at":"2017-08-03T05:58:16Z","merge_commit_sha":"636383aeb47803dedb6d8a0567aa587ef26217aa","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/37293/commits","review_comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/37293/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/37293/comments","statuses_url":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/41fb7a706724b2b5e6b18c1416608c3714b8f160","head":{"label":"mastahyeti:master","ref":"master","sha":"41fb7a706724b2b5e6b18c1416608c3714b8f160","user":{"login":"mastahyeti","id":1144197,"avatar_url":"https://avatars3.githubusercontent.com/u/1144197?v=4","gravatar_id":"","url":"https://api.github.com/users/mastahyeti","html_url":"https://github.com/mastahyeti","followers_url":"https://api.github.com/users/mastahyeti/followers","following_url":"https://api.github.com/users/mastahyeti/following{/other_user}","gists_url":"https://api.github.com/users/mastahyeti/gists{/gist_id}","starred_url":"https://api.github.com/users/mastahyeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastahyeti/subscriptions","organizations_url":"https://api.github.com/users/mastahyeti/orgs","repos_url":"https://api.github.com/users/mastahyeti/repos","events_url":"https://api.github.com/users/mastahyeti/events{/privacy}","received_events_url":"https://api.github.com/users/mastahyeti/received_events","type":"User","site_admin":true},"repo":{"id":99047157,"name":"homebrew-cask","full_name":"mastahyeti/homebrew-cask","owner":{"login":"mastahyeti","id":1144197,"avatar_url":"https://avatars3.githubusercontent.com/u/1144197?v=4","gravatar_id":"","url":"https://api.github.com/users/mastahyeti","html_url":"https://github.com/mastahyeti","followers_url":"https://api.github.com/users/mastahyeti/followers","following_url":"https://api.github.com/users/mastahyeti/following{/other_user}","gists_url":"https://api.github.com/users/mastahyeti/gists{/gist_id}","starred_url":"https://api.github.com/users/mastahyeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastahyeti/subscriptions","organizations_url":"https://api.github.com/users/mastahyeti/orgs","repos_url":"https://api.github.com/users/mastahyeti/repos","events_url":"https://api.github.com/users/mastahyeti/events{/privacy}","received_events_url":"https://api.github.com/users/mastahyeti/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/mastahyeti/homebrew-cask","description":"A CLI workflow for the administration of Mac applications distributed as binaries","fork":true,"url":"https://api.github.com/repos/mastahyeti/homebrew-cask","forks_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/forks","keys_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/teams","hooks_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/hooks","issue_events_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/issues/events{/number}","events_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/events","assignees_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/assignees{/user}","branches_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/branches{/branch}","tags_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/tags","blobs_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/git/refs{/sha}","trees_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/statuses/{sha}","languages_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/languages","stargazers_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/stargazers","contributors_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/contributors","subscribers_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/subscribers","subscription_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/subscription","commits_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/commits{/sha}","git_commits_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/git/commits{/sha}","comments_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/comments{/number}","issue_comment_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/issues/comments{/number}","contents_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/contents/{+path}","compare_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/merges","archive_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/downloads","issues_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/issues{/number}","pulls_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/pulls{/number}","milestones_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/milestones{/number}","notifications_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/labels{/name}","releases_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/releases{/id}","deployments_url":"https://api.github.com/repos/mastahyeti/homebrew-cask/deployments","created_at":"2017-08-01T22:08:37Z","updated_at":"2017-08-01T22:08:56Z","pushed_at":"2017-08-02T22:48:24Z","git_url":"git://github.com/mastahyeti/homebrew-cask.git","ssh_url":"git@github.com:mastahyeti/homebrew-cask.git","clone_url":"https://github.com/mastahyeti/homebrew-cask.git","svn_url":"https://github.com/mastahyeti/homebrew-cask","homepage":"https://caskroom.github.io","size":85022,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"caskroom:master","ref":"master","sha":"43e55deb4a623880a645871ab141196767ede3e1","user":{"login":"caskroom","id":5647711,"avatar_url":"https://avatars0.githubusercontent.com/u/5647711?v=4","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://avatars0.githubusercontent.com/u/5647711?v=4","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}","deployments_url":"https://api.github.com/repos/caskroom/homebrew-cask/deployments","created_at":"2012-03-05T02:05:17Z","updated_at":"2017-08-02T23:41:49Z","pushed_at":"2017-08-03T05:58:16Z","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":"https://caskroom.github.io","size":85055,"stargazers_count":11341,"watchers_count":11341,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5170,"mirror_url":null,"open_issues_count":45,"forks":5170,"open_issues":45,"watchers":11341,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/37293"},"html":{"href":"https://github.com/caskroom/homebrew-cask/pull/37293"},"issue":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/issues/37293"},"comments":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/issues/37293/comments"},"review_comments":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/37293/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/37293/commits"},"statuses":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/41fb7a706724b2b5e6b18c1416608c3714b8f160"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"miccal","id":6127163,"avatar_url":"https://avatars0.githubusercontent.com/u/6127163?v=4","gravatar_id":"","url":"https://api.github.com/users/miccal","html_url":"https://github.com/miccal","followers_url":"https://api.github.com/users/miccal/followers","following_url":"https://api.github.com/users/miccal/following{/other_user}","gists_url":"https://api.github.com/users/miccal/gists{/gist_id}","starred_url":"https://api.github.com/users/miccal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miccal/subscriptions","organizations_url":"https://api.github.com/users/miccal/orgs","repos_url":"https://api.github.com/users/miccal/repos","events_url":"https://api.github.com/users/miccal/events{/privacy}","received_events_url":"https://api.github.com/users/miccal/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":13,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"miccal"}}