{"action":"created","issue":{"url":"https://api.github.com/repos/jasongin/nvs/issues/14","repository_url":"https://api.github.com/repos/jasongin/nvs","labels_url":"https://api.github.com/repos/jasongin/nvs/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jasongin/nvs/issues/14/comments","events_url":"https://api.github.com/repos/jasongin/nvs/issues/14/events","html_url":"https://github.com/jasongin/nvs/issues/14","id":189499940,"number":14,"title":"Idea: split into 2 parts to solve the chicken and egg problem","user":{"login":"brodybits","id":1559888,"avatar_url":"https://avatars.githubusercontent.com/u/1559888?v=3","gravatar_id":"","url":"https://api.github.com/users/brodybits","html_url":"https://github.com/brodybits","followers_url":"https://api.github.com/users/brodybits/followers","following_url":"https://api.github.com/users/brodybits/following{/other_user}","gists_url":"https://api.github.com/users/brodybits/gists{/gist_id}","starred_url":"https://api.github.com/users/brodybits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brodybits/subscriptions","organizations_url":"https://api.github.com/users/brodybits/orgs","repos_url":"https://api.github.com/users/brodybits/repos","events_url":"https://api.github.com/users/brodybits/events{/privacy}","received_events_url":"https://api.github.com/users/brodybits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T20:36:42Z","updated_at":"2016-11-15T20:53:32Z","closed_at":null,"body":"1. Platform-specific scripts that automatically fetches the most recent lts version and does the installation (mostly *shell scripts)\r\n2. User-invoked nvs command scripts for version management\r\n\r\nTo take it even further: we could have a node version management \"stack\" with layers for installation shell scripts, node management command scripts, and a possible GUI layer."},"comment":{"url":"https://api.github.com/repos/jasongin/nvs/issues/comments/260764445","html_url":"https://github.com/jasongin/nvs/issues/14#issuecomment-260764445","issue_url":"https://api.github.com/repos/jasongin/nvs/issues/14","id":260764445,"user":{"login":"jasongin","id":13093042,"avatar_url":"https://avatars.githubusercontent.com/u/13093042?v=3","gravatar_id":"","url":"https://api.github.com/users/jasongin","html_url":"https://github.com/jasongin","followers_url":"https://api.github.com/users/jasongin/followers","following_url":"https://api.github.com/users/jasongin/following{/other_user}","gists_url":"https://api.github.com/users/jasongin/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongin/subscriptions","organizations_url":"https://api.github.com/users/jasongin/orgs","repos_url":"https://api.github.com/users/jasongin/repos","events_url":"https://api.github.com/users/jasongin/events{/privacy}","received_events_url":"https://api.github.com/users/jasongin/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T20:53:31Z","updated_at":"2016-11-15T20:53:31Z","body":"Part of the shell scripts could be factored out that way. But the split wouldn't be clean because the nvs platform-specific shell scripts do more than just download the private node binary. Other functionality includes:\r\n * Updating the environment (PATH) of the calling shell.\r\n * Hooking into the prompt/cd shell functions to enable auto switching per-directory.\r\n * Forwarding the current node version selection to a sudo environment (`nvsudo` command).\r\n * Initializing PATH to include the default version when sourced (on login).\r\n\r\nNow perhaps all of that functionality could also be used by other JS version-management tools. But do we really expect there to be a need for more than one JS-based tool?"}}
{"actor":{"display_login":"jasongin"}}