{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/387","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/387/comments","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/387/events","html_url":"https://github.com/sandstorm-io/sandstorm/pull/387","id":73478977,"number":387,"title":"WIP: Integrate Sandcats domain recovery into installer","user":{"login":"paulproteus","id":25457,"avatar_url":"https://avatars.githubusercontent.com/u/25457?v=3","gravatar_id":"","url":"https://api.github.com/users/paulproteus","html_url":"https://github.com/paulproteus","followers_url":"https://api.github.com/users/paulproteus/followers","following_url":"https://api.github.com/users/paulproteus/following{/other_user}","gists_url":"https://api.github.com/users/paulproteus/gists{/gist_id}","starred_url":"https://api.github.com/users/paulproteus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulproteus/subscriptions","organizations_url":"https://api.github.com/users/paulproteus/orgs","repos_url":"https://api.github.com/users/paulproteus/repos","events_url":"https://api.github.com/users/paulproteus/events{/privacy}","received_events_url":"https://api.github.com/users/paulproteus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-06T01:07:15Z","updated_at":"2015-05-08T22:44:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/387","html_url":"https://github.com/sandstorm-io/sandstorm/pull/387","diff_url":"https://github.com/sandstorm-io/sandstorm/pull/387.diff","patch_url":"https://github.com/sandstorm-io/sandstorm/pull/387.patch"},"body":"@kentonv it'd be nice to get a pre-review on this.\r\n\r\n(cc: @phildini )\r\n\r\nI'm going to revisit this tomorrow and do some cleaning up and some more manual testing, but I _think_ this works as required.\r\n\r\nOne thing I'm going to do is adjust the server response in sandcats itself, so that when you try to use a hostname that is already used, it will suggest you consider typing `help` instead to recover a domain.\r\n\r\nTested manually against the sandcats-dev.sandstorm.io domain via:\r\n\r\n`sudo OVERRIDE_SANDCATS_BASE_DOMAIN=sandcats-dev.sandstorm.io OVERRIDE_SANDCATS_API_BASE=https://sandcats-dev-machine.sandstorm.io OVERRIDE_SANDCATS_CURL_PARAMS=-k bash ./install.sh`\r\n\r\nNote that Sandcats prod doesn't have the backend for this yet, but sandcats-dev does."},"comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments/100387581","html_url":"https://github.com/sandstorm-io/sandstorm/pull/387#issuecomment-100387581","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/387","id":100387581,"user":{"login":"kentonv","id":4001805,"avatar_url":"https://avatars.githubusercontent.com/u/4001805?v=3","gravatar_id":"","url":"https://api.github.com/users/kentonv","html_url":"https://github.com/kentonv","followers_url":"https://api.github.com/users/kentonv/followers","following_url":"https://api.github.com/users/kentonv/following{/other_user}","gists_url":"https://api.github.com/users/kentonv/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonv/subscriptions","organizations_url":"https://api.github.com/users/kentonv/orgs","repos_url":"https://api.github.com/users/kentonv/repos","events_url":"https://api.github.com/users/kentonv/events{/privacy}","received_events_url":"https://api.github.com/users/kentonv/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T22:44:18Z","updated_at":"2015-05-08T22:44:18Z","body":"I think most users who are trying to recover a domain will start by typing in that name again rather than going to \"help\", so I think the error message when the domain is already token should say \"If this is your name and you lost the key, type 'help' to recover it.\""}}