{"action":"created","issue":{"url":"https://api.github.com/repos/whyrusleeping/gx/issues/21","labels_url":"https://api.github.com/repos/whyrusleeping/gx/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/whyrusleeping/gx/issues/21/comments","events_url":"https://api.github.com/repos/whyrusleeping/gx/issues/21/events","html_url":"https://github.com/whyrusleeping/gx/issues/21","id":118502720,"number":21,"title":"pathing","user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-24T00:05:45Z","updated_at":"2015-11-25T06:54:51Z","closed_at":null,"body":"Alright, We need to make a decision on what paths should look like so I can move forward without having to worry about going back and rewriting everything.\r\n\r\ncurrently, installing packages locally goes into `vendor/gx/<hash>`. Previously it was just `vendor/<hash>`\r\nGlobally installed packages get installed under `$GLOBAL_ROOT/gx/<hash>`.\r\n\r\n@jbenet has suggested `gx/ipfs/<hash>` for protocol nesting. \r\n\r\nSince the global root will be language dependent anyways (`$GOPATH/src` for go). We should probably do something similar for the local path, and default to something like `gx/ipfs/<hash>`. That way go packages can still specify to install under `vendor/gx/ipfs/<hash>`. Alternatively (go specific thing ahead), we can skip the vendor experiment thing altogether, and just have the paths be like how godep does them. (the go vendor experiment really did us fewer favors that I would have liked)\r\n\r\ncc @noffle @diasdavid"},"comment":{"url":"https://api.github.com/repos/whyrusleeping/gx/issues/comments/159516304","html_url":"https://github.com/whyrusleeping/gx/issues/21#issuecomment-159516304","issue_url":"https://api.github.com/repos/whyrusleeping/gx/issues/21","id":159516304,"user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T06:54:50Z","updated_at":"2015-11-25T06:54:50Z","body":"ipfs is not the only immutable/merkle protocol. And we might work on others\nin the future, who knows.\nOn Tue, Nov 24, 2015 at 19:01 Jeromy Johnson <notifications@github.com>\nwrote:\n\n> a packages reference will always remain static, gx does not allow a\n> 'mutable' package reference. You can however choose to update your current\n> ref from a mutable source (See repos).\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/whyrusleeping/gx/issues/21#issuecomment-159473891>.\n>\n"}}