{"action":"created","issue":{"url":"https://api.github.com/repos/globus/globus-cli/issues/80","repository_url":"https://api.github.com/repos/globus/globus-cli","labels_url":"https://api.github.com/repos/globus/globus-cli/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/globus/globus-cli/issues/80/comments","events_url":"https://api.github.com/repos/globus/globus-cli/issues/80/events","html_url":"https://github.com/globus/globus-cli/pull/80","id":183784783,"number":80,"title":"Improve error message for S3 endpoint creation","user":{"login":"corpulentcoffee","id":3958448,"avatar_url":"https://avatars.githubusercontent.com/u/3958448?v=3","gravatar_id":"","url":"https://api.github.com/users/corpulentcoffee","html_url":"https://github.com/corpulentcoffee","followers_url":"https://api.github.com/users/corpulentcoffee/followers","following_url":"https://api.github.com/users/corpulentcoffee/following{/other_user}","gists_url":"https://api.github.com/users/corpulentcoffee/gists{/gist_id}","starred_url":"https://api.github.com/users/corpulentcoffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corpulentcoffee/subscriptions","organizations_url":"https://api.github.com/users/corpulentcoffee/orgs","repos_url":"https://api.github.com/users/corpulentcoffee/repos","events_url":"https://api.github.com/users/corpulentcoffee/events{/privacy}","received_events_url":"https://api.github.com/users/corpulentcoffee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T19:47:21Z","updated_at":"2016-10-18T22:33:32Z","closed_at":"2016-10-18T22:31:34Z","pull_request":{"url":"https://api.github.com/repos/globus/globus-cli/pulls/80","html_url":"https://github.com/globus/globus-cli/pull/80","diff_url":"https://github.com/globus/globus-cli/pull/80.diff","patch_url":"https://github.com/globus/globus-cli/pull/80.patch"},"body":"With regards to #64...\r\n\r\n- we already error on `--endpoint-type=s3`\r\n- the (current) process for setting up an S3 endpoint is relatively involved and requires the legacy CLI\r\n- this it to be replaced with the new S3 DSI at some point soon, so support is unlikely to ever land in Transfer's current REST API\r\n\r\n... so, what if we just improve the error message until S3 endpoints can be created natively via the new CLI?\r\n\r\nOld:\r\n\r\n```\r\n(.venv3) ~/Repos/globus-cli$ globus transfer endpoint create --endpoint-type=s3 --display-name=x\r\nNotImplementedError: S3 Endpoints cannot be created through the new CLI yet.\r\n```\r\n\r\nProposed:\r\n\r\n```\r\n(.venv3) ~/Repos/globus-cli$ globus transfer endpoint create --endpoint-type=s3 --display-name=x\r\nError: At this time, S3-backed endpoints can only be created via the legacy\r\nhosted Globus CLI.\r\n\r\nFor more information, see:\r\n- https://docs.globus.org/cli/using-the-cli\r\n- https://docs.globus.org/how-to/amazon-aws-s3-endpoints\r\n```"},"comment":{"url":"https://api.github.com/repos/globus/globus-cli/issues/comments/254659049","html_url":"https://github.com/globus/globus-cli/pull/80#issuecomment-254659049","issue_url":"https://api.github.com/repos/globus/globus-cli/issues/80","id":254659049,"user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T22:33:32Z","updated_at":"2016-10-18T22:33:32Z","body":"Yeah, I guess that's a good point.\r\n\r\nI think it's good enough though, especially considering the number of S3 endpoint users we're likely to encounter."}}
{"actor":{"display_login":"jaswilli"}}