{"action":"created","issue":{"url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/issues/14","labels_url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/issues/14/comments","events_url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/issues/14/events","html_url":"https://github.com/coin-or-tools/homebrew-coinor/pull/14","id":110767614,"number":14,"title":"Adding formula for Cbc","user":{"login":"tkralphs","id":4942502,"avatar_url":"https://avatars.githubusercontent.com/u/4942502?v=3","gravatar_id":"","url":"https://api.github.com/users/tkralphs","html_url":"https://github.com/tkralphs","followers_url":"https://api.github.com/users/tkralphs/followers","following_url":"https://api.github.com/users/tkralphs/following{/other_user}","gists_url":"https://api.github.com/users/tkralphs/gists{/gist_id}","starred_url":"https://api.github.com/users/tkralphs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkralphs/subscriptions","organizations_url":"https://api.github.com/users/tkralphs/orgs","repos_url":"https://api.github.com/users/tkralphs/repos","events_url":"https://api.github.com/users/tkralphs/events{/privacy}","received_events_url":"https://api.github.com/users/tkralphs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T04:23:30Z","updated_at":"2015-10-10T04:33:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/pulls/14","html_url":"https://github.com/coin-or-tools/homebrew-coinor/pull/14","diff_url":"https://github.com/coin-or-tools/homebrew-coinor/pull/14.diff","patch_url":"https://github.com/coin-or-tools/homebrew-coinor/pull/14.patch"},"body":"Trying my hand at this :). Things are getting a bit complicated with Cbc, as there are a lot of options we want to expose here that Cbc actually doesn't care about simply to pass them through to Clp and CoinUtils. In principle, the only dependency we really need here is Cgl, as it depends on the rest, but I noticed you didn't expose options in Cgl to control what options Clp is built with, which means we have to expose those options in Cbc, I think. Technically, I think Cgl should actually take all of the options a user might want to pass to Clp, but since I doubt anyone will actually be building Cgl on its own, we can just leave it as is until someone asks. I didn't think about this when we were doing the Cgl recipe.\r\n\r\nOh, I accidentally pushed the commit to my master branch, but I think I should have created a separate branch, right? I actually did create one, just forgot to switch to it. Oh git, you are such a difficult one to master."},"comment":{"url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/issues/comments/147036898","html_url":"https://github.com/coin-or-tools/homebrew-coinor/pull/14#issuecomment-147036898","issue_url":"https://api.github.com/repos/coin-or-tools/homebrew-coinor/issues/14","id":147036898,"user":{"login":"dpo","id":38760,"avatar_url":"https://avatars.githubusercontent.com/u/38760?v=3","gravatar_id":"","url":"https://api.github.com/users/dpo","html_url":"https://github.com/dpo","followers_url":"https://api.github.com/users/dpo/followers","following_url":"https://api.github.com/users/dpo/following{/other_user}","gists_url":"https://api.github.com/users/dpo/gists{/gist_id}","starred_url":"https://api.github.com/users/dpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpo/subscriptions","organizations_url":"https://api.github.com/users/dpo/orgs","repos_url":"https://api.github.com/users/dpo/repos","events_url":"https://api.github.com/users/dpo/events{/privacy}","received_events_url":"https://api.github.com/users/dpo/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T04:33:14Z","updated_at":"2015-10-10T04:33:14Z","body":"Thanks! You're right; I'm not sure what the best way is to expose the `clp` options. For now, we're assuming a user will first install `clp` with the desired options, and then install `cgl` and/or `cbc`. I don't think there's a mechanism in `brew` to \"inherit\" options."}}