{"action":"created","comment":{"url":"https://api.github.com/repos/conda/conda-env/pulls/comments/23129751","id":23129751,"diff_hunk":"@@ -41,13 +46,17 @@ def configure_parser(sub_parsers):\n         default=None,\n     )\n \n+\n     p.add_argument(\n         '-f', '--file',\n-        action='store',\n         help='environment definition (default: environment.yml)',\n         default='environment.yml',\n     )\n     p.add_argument(\n+        '--binstar',","path":"conda_env/cli/main_create.py","position":31,"original_position":31,"commit_id":"32b89ff39fbe39a0f904f559e674234c34027fee","original_commit_id":"32b89ff39fbe39a0f904f559e674234c34027fee","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},"body":"Using a `--binstar` isn't the correct way to do this.  As outlined in #27, the idea is to allow multiple lookups.  I'm using [hub][] as the inspiration.  The UI would then be:\r\n\r\n    conda create env tswicegood/stats\r\n    conda create env sean/geo\r\n\r\nBoth of these are probably outside the scope of this PR though, so I'd say keep that all in a PR related to #27.\r\n\r\n[hub]: https://github.com/github/hub/","created_at":"2015-01-18T00:37:04Z","updated_at":"2015-01-18T00:37:04Z","html_url":"https://github.com/conda/conda-env/pull/44#discussion_r23129751","pull_request_url":"https://api.github.com/repos/conda/conda-env/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/conda/conda-env/pulls/comments/23129751"},"html":{"href":"https://github.com/conda/conda-env/pull/44#discussion_r23129751"},"pull_request":{"href":"https://api.github.com/repos/conda/conda-env/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/conda/conda-env/pulls/44","id":27541103,"html_url":"https://github.com/conda/conda-env/pull/44","diff_url":"https://github.com/conda/conda-env/pull/44.diff","patch_url":"https://github.com/conda/conda-env/pull/44.patch","issue_url":"https://api.github.com/repos/conda/conda-env/issues/44","number":44,"state":"open","locked":false,"title":"Feature/remote environments","user":{"login":"srossross","id":741611,"avatar_url":"https://avatars.githubusercontent.com/u/741611?v=3","gravatar_id":"","url":"https://api.github.com/users/srossross","html_url":"https://github.com/srossross","followers_url":"https://api.github.com/users/srossross/followers","following_url":"https://api.github.com/users/srossross/following{/other_user}","gists_url":"https://api.github.com/users/srossross/gists{/gist_id}","starred_url":"https://api.github.com/users/srossross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srossross/subscriptions","organizations_url":"https://api.github.com/users/srossross/orgs","repos_url":"https://api.github.com/users/srossross/repos","events_url":"https://api.github.com/users/srossross/events{/privacy}","received_events_url":"https://api.github.com/users/srossross/received_events","type":"User","site_admin":false},"body":"## TODO:\r\n\r\nSome TODOs are referenced in the code:\r\n\r\n *  [ ] Add tests\r\n *  [ ] Test the the correct error shows up when binstar is not installed\r\n *  [ ] There are numerous functions in binstar parts of binstar that were originally internal. We need refactor binstar so that individual arguments are passed in instead of an arg object. And make general cli utilities.\r\n *  [ ] Binstar requires the explicit creation of a version namespace. This should be removed as a hard requirement of binstar.\r\n *  [ ] Check and filter versions from a command line specification \r\n *  [ ] Check MD5 of the environment yaml file before fetching it again\r\n *  [ ] Conda should be refactored to include a `Specs` object (or this needs to change to use the conda internals)\r\n * [ ] Update the environment object to take `version`  and `summary` arguments\r\n","created_at":"2015-01-16T22:19:43Z","updated_at":"2015-01-18T00:37:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbfa6934d3b60590876623a096f36cc614a24ea4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda-env/pulls/44/commits","review_comments_url":"https://api.github.com/repos/conda/conda-env/pulls/44/comments","review_comment_url":"https://api.github.com/repos/conda/conda-env/pulls/comments/{number}","comments_url":"https://api.github.com/repos/conda/conda-env/issues/44/comments","statuses_url":"https://api.github.com/repos/conda/conda-env/statuses/32b89ff39fbe39a0f904f559e674234c34027fee","head":{"label":"conda:feature/remote-environments","ref":"feature/remote-environments","sha":"32b89ff39fbe39a0f904f559e674234c34027fee","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":18802640,"name":"conda-env","full_name":"conda/conda-env","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda-env","description":"Experimental package to provide a unified interface to dealing with Conda environments.","fork":false,"url":"https://api.github.com/repos/conda/conda-env","forks_url":"https://api.github.com/repos/conda/conda-env/forks","keys_url":"https://api.github.com/repos/conda/conda-env/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda-env/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda-env/teams","hooks_url":"https://api.github.com/repos/conda/conda-env/hooks","issue_events_url":"https://api.github.com/repos/conda/conda-env/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda-env/events","assignees_url":"https://api.github.com/repos/conda/conda-env/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda-env/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda-env/tags","blobs_url":"https://api.github.com/repos/conda/conda-env/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda-env/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda-env/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda-env/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda-env/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda-env/languages","stargazers_url":"https://api.github.com/repos/conda/conda-env/stargazers","contributors_url":"https://api.github.com/repos/conda/conda-env/contributors","subscribers_url":"https://api.github.com/repos/conda/conda-env/subscribers","subscription_url":"https://api.github.com/repos/conda/conda-env/subscription","commits_url":"https://api.github.com/repos/conda/conda-env/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda-env/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda-env/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda-env/issues/comments/{number}","contents_url":"https://api.github.com/repos/conda/conda-env/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda-env/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda-env/merges","archive_url":"https://api.github.com/repos/conda/conda-env/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda-env/downloads","issues_url":"https://api.github.com/repos/conda/conda-env/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda-env/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda-env/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda-env/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda-env/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda-env/releases{/id}","created_at":"2014-04-15T14:16:17Z","updated_at":"2015-01-12T22:10:37Z","pushed_at":"2015-01-16T22:22:28Z","git_url":"git://github.com/conda/conda-env.git","ssh_url":"git@github.com:conda/conda-env.git","clone_url":"https://github.com/conda/conda-env.git","svn_url":"https://github.com/conda/conda-env","homepage":"","size":593,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":17,"forks":3,"open_issues":17,"watchers":6,"default_branch":"master"}},"base":{"label":"conda:master","ref":"master","sha":"8e9b4738bdbbcfc6c08c1de99e1670a90d91926d","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":18802640,"name":"conda-env","full_name":"conda/conda-env","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda-env","description":"Experimental package to provide a unified interface to dealing with Conda environments.","fork":false,"url":"https://api.github.com/repos/conda/conda-env","forks_url":"https://api.github.com/repos/conda/conda-env/forks","keys_url":"https://api.github.com/repos/conda/conda-env/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda-env/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda-env/teams","hooks_url":"https://api.github.com/repos/conda/conda-env/hooks","issue_events_url":"https://api.github.com/repos/conda/conda-env/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda-env/events","assignees_url":"https://api.github.com/repos/conda/conda-env/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda-env/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda-env/tags","blobs_url":"https://api.github.com/repos/conda/conda-env/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda-env/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda-env/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda-env/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda-env/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda-env/languages","stargazers_url":"https://api.github.com/repos/conda/conda-env/stargazers","contributors_url":"https://api.github.com/repos/conda/conda-env/contributors","subscribers_url":"https://api.github.com/repos/conda/conda-env/subscribers","subscription_url":"https://api.github.com/repos/conda/conda-env/subscription","commits_url":"https://api.github.com/repos/conda/conda-env/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda-env/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda-env/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda-env/issues/comments/{number}","contents_url":"https://api.github.com/repos/conda/conda-env/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda-env/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda-env/merges","archive_url":"https://api.github.com/repos/conda/conda-env/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda-env/downloads","issues_url":"https://api.github.com/repos/conda/conda-env/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda-env/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda-env/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda-env/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda-env/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda-env/releases{/id}","created_at":"2014-04-15T14:16:17Z","updated_at":"2015-01-12T22:10:37Z","pushed_at":"2015-01-16T22:22:28Z","git_url":"git://github.com/conda/conda-env.git","ssh_url":"git@github.com:conda/conda-env.git","clone_url":"https://github.com/conda/conda-env.git","svn_url":"https://github.com/conda/conda-env","homepage":"","size":593,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":17,"forks":3,"open_issues":17,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda-env/pulls/44"},"html":{"href":"https://github.com/conda/conda-env/pull/44"},"issue":{"href":"https://api.github.com/repos/conda/conda-env/issues/44"},"comments":{"href":"https://api.github.com/repos/conda/conda-env/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda-env/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda-env/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/conda/conda-env/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda-env/statuses/32b89ff39fbe39a0f904f559e674234c34027fee"}}}}