{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/1525","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/1525/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/1525/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/1525/events","html_url":"https://github.com/Homebrew/brew/issues/1525","id":190079618,"number":1525,"title":"How should installed dependency resolution handle versions?","user":{"login":"alyssais","id":2768870,"avatar_url":"https://avatars.githubusercontent.com/u/2768870?v=3","gravatar_id":"","url":"https://api.github.com/users/alyssais","html_url":"https://github.com/alyssais","followers_url":"https://api.github.com/users/alyssais/followers","following_url":"https://api.github.com/users/alyssais/following{/other_user}","gists_url":"https://api.github.com/users/alyssais/gists{/gist_id}","starred_url":"https://api.github.com/users/alyssais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyssais/subscriptions","organizations_url":"https://api.github.com/users/alyssais/orgs","repos_url":"https://api.github.com/users/alyssais/repos","events_url":"https://api.github.com/users/alyssais/events{/privacy}","received_events_url":"https://api.github.com/users/alyssais/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-17T15:33:11Z","updated_at":"2017-01-01T18:26:09Z","closed_at":"2017-01-01T18:26:09Z","body":"Currently, keg _A_ is only [considered](https://github.com/Homebrew/brew/blob/e6933b90dc750dc9aadb3bfb6acf1bf395942d57/Library/Homebrew/keg.rb#L349) to be a dependency of keg _B_ if the version of _A_ listed in _B_'s install receipt matches _A_'s version.\r\n\r\nThis means that, after a `brew upgrade`, the installed dependency resolution might not work any more.\r\n\r\nMy thinking is that it would be more correct to say _B_ depends on _A_ if _A_ is the currently linked keg for its formula (and maybe if _A_'s version is >= the version of _A_ that _B_ was installed with?).\r\n\r\nI'm not entirely sure if I've thought this wrong properly, though, so I'm looking for feedback on this before I try to fix it.\r\n\r\nThis _might_ be what's causing #1524, but I'm not sure yet."}}
{"actor":{"display_login":"MikeMcQuaid"}}