{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/965","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/965/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/965/events","html_url":"https://github.com/LLNL/spack/pull/965","id":155361985,"number":965,"title":"[WIP] Feature/remote repo","user":{"login":"DavidPoliakoff","id":4220361,"avatar_url":"https://avatars.githubusercontent.com/u/4220361?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidPoliakoff","html_url":"https://github.com/DavidPoliakoff","followers_url":"https://api.github.com/users/DavidPoliakoff/followers","following_url":"https://api.github.com/users/DavidPoliakoff/following{/other_user}","gists_url":"https://api.github.com/users/DavidPoliakoff/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidPoliakoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidPoliakoff/subscriptions","organizations_url":"https://api.github.com/users/DavidPoliakoff/orgs","repos_url":"https://api.github.com/users/DavidPoliakoff/repos","events_url":"https://api.github.com/users/DavidPoliakoff/events{/privacy}","received_events_url":"https://api.github.com/users/DavidPoliakoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-17T21:06:59Z","updated_at":"2016-05-17T22:02:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/965","html_url":"https://github.com/LLNL/spack/pull/965","diff_url":"https://github.com/LLNL/spack/pull/965.diff","patch_url":"https://github.com/LLNL/spack/pull/965.patch"},"body":"Currently in a straw man state, I wouldn't yet merge this. The feature I want:\r\n\r\n```bash\r\nspack repo add https://www.github.com/DavidPoliakoff/some_package_repository.git\r\n```\r\n\r\nTo download the given github package and add it as a repo (this will be useful for site-local collections of spack packages)\r\n\r\nSome questions remain:\r\n\r\n- How do we get the fetch strategy from the url (in fetch_strategy.py, the function from_url, currently a straw man)?\r\n\r\n- Where do we want these repositories to live? Right now I have them being stored in a package underneath the main repo, but could as easily see them living at the same level as the builtin collection of packages.\r\n\r\nThoughts? This is as much an issue with a strawman attached as a PR."},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/219867929","html_url":"https://github.com/LLNL/spack/pull/965#issuecomment-219867929","issue_url":"https://api.github.com/repos/LLNL/spack/issues/965","id":219867929,"user":{"login":"tgamblin","id":299842,"avatar_url":"https://avatars.githubusercontent.com/u/299842?v=3","gravatar_id":"","url":"https://api.github.com/users/tgamblin","html_url":"https://github.com/tgamblin","followers_url":"https://api.github.com/users/tgamblin/followers","following_url":"https://api.github.com/users/tgamblin/following{/other_user}","gists_url":"https://api.github.com/users/tgamblin/gists{/gist_id}","starred_url":"https://api.github.com/users/tgamblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgamblin/subscriptions","organizations_url":"https://api.github.com/users/tgamblin/orgs","repos_url":"https://api.github.com/users/tgamblin/repos","events_url":"https://api.github.com/users/tgamblin/events{/privacy}","received_events_url":"https://api.github.com/users/tgamblin/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T22:02:35Z","updated_at":"2016-05-17T22:02:35Z","body":"@DavidPoliakoff: I'd rather not have `--fetch` argument, esp. when you could figure out the protocol from the URL.  If that means we only support git, or git and http[s], for doing this, then I'm not really going to be too sad about it..."}}