{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/1150","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/1150/comments","events_url":"https://api.github.com/repos/conda/conda/issues/1150/events","html_url":"https://github.com/conda/conda/issues/1150","id":57548475,"number":1150,"title":"Add conda fetch or download command","user":{"login":"tswicegood","id":4328,"avatar_url":"https://avatars.githubusercontent.com/u/4328?v=3","gravatar_id":"","url":"https://api.github.com/users/tswicegood","html_url":"https://github.com/tswicegood","followers_url":"https://api.github.com/users/tswicegood/followers","following_url":"https://api.github.com/users/tswicegood/following{/other_user}","gists_url":"https://api.github.com/users/tswicegood/gists{/gist_id}","starred_url":"https://api.github.com/users/tswicegood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tswicegood/subscriptions","organizations_url":"https://api.github.com/users/tswicegood/orgs","repos_url":"https://api.github.com/users/tswicegood/repos","events_url":"https://api.github.com/users/tswicegood/events{/privacy}","received_events_url":"https://api.github.com/users/tswicegood/received_events","type":"User","site_admin":false},"labels":[{"id":16544532,"url":"https://api.github.com/repos/conda/conda/labels/Feature","name":"Feature","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2015-02-13T01:52:28Z","updated_at":"2016-12-19T05:14:59Z","closed_at":null,"body":"As part of the work of creating offline environments I need a reliable way to retrieve a package and write it to another location.  The proposal is to add a `conda fetch` or `conda download` command.\n## Proposed Interface\n\nNote, `conda fetch` is used here, but it could be `conda fetch` or `conda download`\n\nHere's an example that would simply download the packages and place the tarballs in the package cache.\n\n``` bash\n$ conda fetch ipython-notebook\n```\n\nHere's an example that would download the packages but write them to another directory:\n\n``` bash\n$ conda fetch ipython-notebook --directory=/path/to/dir\n# or\n$ conda fetch ipython-notebook -d /path/to/dir\n```\n## Proposed Implementation\n\nThis should work through the same mechanism as `conda install`.  It should build the index and determine what package to fetch / use.  If a local tarball is available in the package cache, fetch should not re-retrieve the file from the index.  If a local file is available and `-d|--directory` was used it should use that tarball when writing to disk.\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/267883785","html_url":"https://github.com/conda/conda/issues/1150#issuecomment-267883785","issue_url":"https://api.github.com/repos/conda/conda/issues/1150","id":267883785,"user":{"login":"y2kbugger","id":6101677,"avatar_url":"https://avatars.githubusercontent.com/u/6101677?v=3","gravatar_id":"","url":"https://api.github.com/users/y2kbugger","html_url":"https://github.com/y2kbugger","followers_url":"https://api.github.com/users/y2kbugger/followers","following_url":"https://api.github.com/users/y2kbugger/following{/other_user}","gists_url":"https://api.github.com/users/y2kbugger/gists{/gist_id}","starred_url":"https://api.github.com/users/y2kbugger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y2kbugger/subscriptions","organizations_url":"https://api.github.com/users/y2kbugger/orgs","repos_url":"https://api.github.com/users/y2kbugger/repos","events_url":"https://api.github.com/users/y2kbugger/events{/privacy}","received_events_url":"https://api.github.com/users/y2kbugger/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T05:14:59Z","updated_at":"2016-12-19T05:14:59Z","body":"Another +1 for cross platform flags. I also agree about the tar as well.\r\n\r\nOne assumption would be to be able to choose a miniconda or full anaconda or no assumptions (updating all packages) to be already installed."}}
{"actor":{"display_login":"y2kbugger"}}