{"action":"created","issue":{"url":"https://api.github.com/repos/conan-io/conan/issues/372","repository_url":"https://api.github.com/repos/conan-io/conan","labels_url":"https://api.github.com/repos/conan-io/conan/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/conan-io/conan/issues/372/comments","events_url":"https://api.github.com/repos/conan-io/conan/issues/372/events","html_url":"https://github.com/conan-io/conan/issues/372","id":165980840,"number":372,"title":"Global installs","user":{"login":"paulobrizolara","id":1710573,"avatar_url":"https://avatars.githubusercontent.com/u/1710573?v=3","gravatar_id":"","url":"https://api.github.com/users/paulobrizolara","html_url":"https://github.com/paulobrizolara","followers_url":"https://api.github.com/users/paulobrizolara/followers","following_url":"https://api.github.com/users/paulobrizolara/following{/other_user}","gists_url":"https://api.github.com/users/paulobrizolara/gists{/gist_id}","starred_url":"https://api.github.com/users/paulobrizolara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulobrizolara/subscriptions","organizations_url":"https://api.github.com/users/paulobrizolara/orgs","repos_url":"https://api.github.com/users/paulobrizolara/repos","events_url":"https://api.github.com/users/paulobrizolara/events{/privacy}","received_events_url":"https://api.github.com/users/paulobrizolara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-17T15:15:55Z","updated_at":"2016-07-18T07:42:49Z","closed_at":null,"body":"I have been thinking if would be possible to conan have a 'global install' option, similar to npm '-g'.\r\n\r\nThis would be nice to enable developers to publish tools in conan, or even any kind of program.\r\nAlso, this could allow use conan as a cross platform installer to c/c++ programs (i believe that do not exist one currently).  \r\n\r\nI don't know how npm (or pip) handle global installs. But i had seen that, in Linux, some programs installed with those tools are copied to or linked from some system path (/usr/local/bin in my case).   \r\n\r\nI don't know if there are some problems related to this, but i think that could be a nice feature to conan."},"comment":{"url":"https://api.github.com/repos/conan-io/conan/issues/comments/233255935","html_url":"https://github.com/conan-io/conan/issues/372#issuecomment-233255935","issue_url":"https://api.github.com/repos/conan-io/conan/issues/372","id":233255935,"user":{"login":"lasote","id":3807515,"avatar_url":"https://avatars.githubusercontent.com/u/3807515?v=3","gravatar_id":"","url":"https://api.github.com/users/lasote","html_url":"https://github.com/lasote","followers_url":"https://api.github.com/users/lasote/followers","following_url":"https://api.github.com/users/lasote/following{/other_user}","gists_url":"https://api.github.com/users/lasote/gists{/gist_id}","starred_url":"https://api.github.com/users/lasote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasote/subscriptions","organizations_url":"https://api.github.com/users/lasote/orgs","repos_url":"https://api.github.com/users/lasote/repos","events_url":"https://api.github.com/users/lasote/events{/privacy}","received_events_url":"https://api.github.com/users/lasote/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T07:42:49Z","updated_at":"2016-07-18T07:42:49Z","body":"I think it can be tricky. We could easily make symbolic links to /usr/local/bin in linux (and even osx solving some issue with brew) but in windows it's not possible.\r\nIn addition to this, several conan commands will need to handle the \"unlink\" when a package is removed, or maybe updated etc. It adds a lot of complexity.\r\n\r\nA simpler approach could be use the new feature coming, the virtualenv generator, and copy the lines in the ~/.bashrc file to execute those lines in every opened shell. You would have the reponsability of manage those lines and to keep the packages with your tools.\r\n\r\nI don't think a global install is always a bad idea, but I agree with @memsharded that we would test the new feature first and get feedback from users, then maybe continue thinking about this issue. "}}
{"actor":{"display_login":"lasote"}}