{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/6616","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/6616/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/6616/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/6616/events","html_url":"https://github.com/Homebrew/brew/issues/6616","id":508803479,"node_id":"MDU6SXNzdWU1MDg4MDM0Nzk=","number":6616,"title":"how can i stipulate a formula depends on a cask?","user":{"login":"tjt263","id":11675751,"node_id":"MDQ6VXNlcjExNjc1NzUx","avatar_url":"https://avatars0.githubusercontent.com/u/11675751?v=4","gravatar_id":"","url":"https://api.github.com/users/tjt263","html_url":"https://github.com/tjt263","followers_url":"https://api.github.com/users/tjt263/followers","following_url":"https://api.github.com/users/tjt263/following{/other_user}","gists_url":"https://api.github.com/users/tjt263/gists{/gist_id}","starred_url":"https://api.github.com/users/tjt263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjt263/subscriptions","organizations_url":"https://api.github.com/users/tjt263/orgs","repos_url":"https://api.github.com/users/tjt263/repos","events_url":"https://api.github.com/users/tjt263/events{/privacy}","received_events_url":"https://api.github.com/users/tjt263/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-18T01:32:33Z","updated_at":"2019-10-18T07:47:17Z","closed_at":"2019-10-18T07:47:17Z","author_association":"CONTRIBUTOR","body":"i'm not a ruby coder.\r\n\r\nhow can i stipulate a formula depends on a cask? \r\nspecifically java8 (`adoptopenjdk8`)\r\n\r\ncan i use something like:\r\n`its(:cask) { is_expected.to eq(\"homebrew/cask-versions/adoptopenjdk8\") }`?\r\n\r\nit's a line i found in `/usr/local/Homebrew/Library/Homebrew/test/java_requirement_spec.rb`.\r\n\r\nthanks.\r\n\r\n- - - \r\nps: i would just create a new cask, which can `depends_on cask: 'dependency_name'`, but the package in question is not a binary or .dmg, so a formula is most suitable."},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/543575962","html_url":"https://github.com/Homebrew/brew/issues/6616#issuecomment-543575962","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/6616","id":543575962,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MzU3NTk2Mg==","user":{"login":"MikeMcQuaid","id":125011,"node_id":"MDQ6VXNlcjEyNTAxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/125011?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"created_at":"2019-10-18T07:47:17Z","updated_at":"2019-10-18T07:47:17Z","author_association":"MEMBER","body":"From the issue template:\r\n\r\n> **Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.**\r\n\r\nPlease ask this in Discourse, thanks."}}
{"actor":{"display_login":"MikeMcQuaid"}}