{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49049","repository_url":"https://api.github.com/repos/Homebrew/homebrew-cask","labels_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49049/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49049/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49049/events","html_url":"https://github.com/Homebrew/homebrew-cask/issues/49049","id":336579234,"node_id":"MDU6SXNzdWUzMzY1NzkyMzQ=","number":49049,"title":"Broken caveats on cask break brew search and more stuff","user":{"login":"stek29","id":11808223,"node_id":"MDQ6VXNlcjExODA4MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/11808223?v=4","gravatar_id":"","url":"https://api.github.com/users/stek29","html_url":"https://github.com/stek29","followers_url":"https://api.github.com/users/stek29/followers","following_url":"https://api.github.com/users/stek29/following{/other_user}","gists_url":"https://api.github.com/users/stek29/gists{/gist_id}","starred_url":"https://api.github.com/users/stek29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stek29/subscriptions","organizations_url":"https://api.github.com/users/stek29/orgs","repos_url":"https://api.github.com/users/stek29/repos","events_url":"https://api.github.com/users/stek29/events{/privacy}","received_events_url":"https://api.github.com/users/stek29/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-28T11:19:16Z","updated_at":"2018-06-28T15:37:47Z","closed_at":null,"author_association":"NONE","body":"I have a small brew tap dedicated to iOS/macOS related tools at https://github.com/stek29/homebrew-idevice.\r\n\r\nA cask in that tap (supraudit) has caveats which print LICENSE file from staged path:\r\nhttps://github.com/stek29/homebrew-idevice/blob/6f89f0f4ba0093bdb583b39423d1c999dd99fdc3/Casks/supraudit.rb#L12-L21\r\n\r\nI can see that file is still there when I download the tar manually:\r\n```\r\n❯ curl http://newosxbook.com/tools/supraudit.tar | tar -t\r\ntmp/\r\ntmp/LICENSE\r\ntmp/CREDITS\r\ntmp/praudit.c\r\nusr/\r\nusr/local/\r\nusr/share/\r\nusr/share/man/\r\nusr/share/man/manj/\r\nusr/share/man/manj/supraudit.j\r\nusr/local/bin/\r\n```\r\n\r\nBut that's not the main issue.\r\n\r\nIf you try to install that cask, installation would fail with `No such file or directory @ rb_sysopen - /usr/local/Caskroom/supraudit/latest/tmp/LICENSE` error.\r\n\r\nAnd afaiu there's no way to fix that error without manually creating that file.\r\n\r\nAnd it's not possible to uninstall that cask, `brew search` gets broken too, so is `brew cask info` and many more.\r\n\r\nI will try to fix that issue on my side, however, I don't think that it's normal that broken caveats in one cask lead to it being stuck in semi-installed state while breaking not only cask, but brew as a whole.\r\n\r\nIt was originally reported at stek29/homebrew-idevice#2."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/comments/401078152","html_url":"https://github.com/Homebrew/homebrew-cask/issues/49049#issuecomment-401078152","issue_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49049","id":401078152,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTA3ODE1Mg==","user":{"login":"vitorgalvao","id":1699443,"node_id":"MDQ6VXNlcjE2OTk0NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1699443?v=4","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T15:37:47Z","updated_at":"2018-06-28T15:37:47Z","author_association":"MEMBER","body":"In what way does `search` break?"}}
{"actor":{"display_login":"vitorgalvao"}}