{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/1937","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/1937/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/1937/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/1937/events","html_url":"https://github.com/Homebrew/brew/issues/1937","id":204285038,"number":1937,"title":"How are we meant to use the new versions system?","user":{"login":"telemachus","id":62958,"avatar_url":"https://avatars.githubusercontent.com/u/62958?v=3","gravatar_id":"","url":"https://api.github.com/users/telemachus","html_url":"https://github.com/telemachus","followers_url":"https://api.github.com/users/telemachus/followers","following_url":"https://api.github.com/users/telemachus/following{/other_user}","gists_url":"https://api.github.com/users/telemachus/gists{/gist_id}","starred_url":"https://api.github.com/users/telemachus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telemachus/subscriptions","organizations_url":"https://api.github.com/users/telemachus/orgs","repos_url":"https://api.github.com/users/telemachus/repos","events_url":"https://api.github.com/users/telemachus/events{/privacy}","received_events_url":"https://api.github.com/users/telemachus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-31T12:44:39Z","updated_at":"2017-01-31T13:21:27Z","closed_at":null,"body":"I apologize if this is the wrong place to bring this up, but I'm not sure where else to raise the issue. In a nutshell, I'm not sure I understand how best to use the new versioning system.\r\n\r\nI'd like to be able to install the latest version of Lua (5.3.4) and have it appear as `/usr/local/bin/lua` with `luarocks` at `/usr/local/bin/luarocks`. But that doesn't appear possible any longer. I suppose that I can make the symlinks myself or rig some way for scripts that assume `/usr/bin/env lua` to find `lua-5.3@`, but that feels cludgy and clumsy. So, without assuming that the new Homebrew system is at fault, I just want to understand how you all intend for it to be used. What is the right way for end-users who just want to use one version (the newest or any other) of a program to simplify things?\r\n\r\nAnother way of putting my question is why not let users determine which version of a package gets installed with the default executable names? Only one at a time can be default, but why can't each user decide for themselves which one?\r\n\r\nTIA"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/276361074","html_url":"https://github.com/Homebrew/brew/issues/1937#issuecomment-276361074","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/1937","id":276361074,"user":{"login":"telemachus","id":62958,"avatar_url":"https://avatars.githubusercontent.com/u/62958?v=3","gravatar_id":"","url":"https://api.github.com/users/telemachus","html_url":"https://github.com/telemachus","followers_url":"https://api.github.com/users/telemachus/followers","following_url":"https://api.github.com/users/telemachus/following{/other_user}","gists_url":"https://api.github.com/users/telemachus/gists{/gist_id}","starred_url":"https://api.github.com/users/telemachus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telemachus/subscriptions","organizations_url":"https://api.github.com/users/telemachus/orgs","repos_url":"https://api.github.com/users/telemachus/repos","events_url":"https://api.github.com/users/telemachus/events{/privacy}","received_events_url":"https://api.github.com/users/telemachus/received_events","type":"User","site_admin":false},"created_at":"2017-01-31T13:21:27Z","updated_at":"2017-01-31T13:21:27Z","body":"> That's the mentality we're hoping to change through better tooling. Keg only things just mean you need to add an extra location to your PATH.\r\n\r\nAh, that does make sense. Now I half-wish that lua-5.3 *was* keg only—provided it was called `lua`.\r\n\r\n> Longer term brew switch or a similar tool may allow you to specify that they should always be linked to /usr/local/bin but we need to avoid our dependency system exploding on that before then.\r\n\r\nOk. That sounds reasonable. (At the moment `brew switch` doesn't seem able to handle or find things like `lua-5.3` at all. Am I correct about that or just using it wrong? The documentation for it is pretty terse.)"}}
{"actor":{"display_login":"telemachus"}}