{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cloud-issues/issues/207","repository_url":"https://api.github.com/repos/driftyco/ionic-cloud-issues","labels_url":"https://api.github.com/repos/driftyco/ionic-cloud-issues/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cloud-issues/issues/207/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cloud-issues/issues/207/events","html_url":"https://github.com/driftyco/ionic-cloud-issues/issues/207","id":182248066,"number":207,"title":"deploy_uuid returned from $ionicDeploy.info() needs some fix, and suggestion for deployment rollback function","user":{"login":"jay8585","id":8064923,"avatar_url":"https://avatars.githubusercontent.com/u/8064923?v=3","gravatar_id":"","url":"https://api.github.com/users/jay8585","html_url":"https://github.com/jay8585","followers_url":"https://api.github.com/users/jay8585/followers","following_url":"https://api.github.com/users/jay8585/following{/other_user}","gists_url":"https://api.github.com/users/jay8585/gists{/gist_id}","starred_url":"https://api.github.com/users/jay8585/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jay8585/subscriptions","organizations_url":"https://api.github.com/users/jay8585/orgs","repos_url":"https://api.github.com/users/jay8585/repos","events_url":"https://api.github.com/users/jay8585/events{/privacy}","received_events_url":"https://api.github.com/users/jay8585/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T12:14:15Z","updated_at":"2016-10-11T12:57:08Z","closed_at":null,"body":"Hello, I've just installed [Ionic Cloud] service on my app and I'm really enjoying it :D\r\nI'm interested in Ionic's Deploy System. While I'm digging into the System, I got some question and suggestion about $ionicDeploy.\r\n\r\n[Question1]\r\nI thought $ionicDeploy.info() should return current deploy_uuid. (even if there is no deploy downloaded on my app)\r\nWhen I run the function for the first time, I found it returns two variables like this... { binary_version: '0.2.0', deploy_uuid: 'NO_DEPLOY_AVAILABLE' }\r\nIsn't it strange? I thought variable deploy_uuid would contain current deploy_uuid (If it is stored in somewhere in my app), but its value was 'NO_DEPLOY_AVAILABLE'.\r\nI think it is not important for $ionicDeploy.info() to check whether there is downloaded deploy or not.\r\nSo I thought it would be better if deploy_uuid variable contains current deply_uuid. Isn't it?\r\n\r\n[Question2]\r\nI also wondered if ionic-cloud is planning to make $ionicDeploy rollback function. I searched google but I found nothing about deploy rollback.\r\nYeah, I know there is a way to rollback update on [apps.ionic.io](https://apps.ionic.io). But I just wanted to give app user to select the version of deploy by themselves, because some updates are not stable. ( As you know, we spend most of our time on fixing mistakes that we made :D )\r\nAnyway, I realized that downloaded deployments are still stored on device storage. If possible, it would be nice to have fancy rollback function which changes UUID in URL to ionic root folder.\r\n\r\nAny comments or suggestion are welcome!\r\nThank you :D"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cloud-issues/issues/comments/252908861","html_url":"https://github.com/driftyco/ionic-cloud-issues/issues/207#issuecomment-252908861","issue_url":"https://api.github.com/repos/driftyco/ionic-cloud-issues/issues/207","id":252908861,"user":{"login":"ericb","id":19638,"avatar_url":"https://avatars.githubusercontent.com/u/19638?v=3","gravatar_id":"","url":"https://api.github.com/users/ericb","html_url":"https://github.com/ericb","followers_url":"https://api.github.com/users/ericb/followers","following_url":"https://api.github.com/users/ericb/following{/other_user}","gists_url":"https://api.github.com/users/ericb/gists{/gist_id}","starred_url":"https://api.github.com/users/ericb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericb/subscriptions","organizations_url":"https://api.github.com/users/ericb/orgs","repos_url":"https://api.github.com/users/ericb/repos","events_url":"https://api.github.com/users/ericb/events{/privacy}","received_events_url":"https://api.github.com/users/ericb/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T12:57:08Z","updated_at":"2016-10-11T12:57:08Z","body":"closing this as a duplicate. see driftyco/ionic-plugin-deploy/issues/97"}}
{"actor":{"display_login":"ericb"}}