{"action":"created","issue":{"url":"https://api.github.com/repos/pantheon-systems/cli/issues/76","labels_url":"https://api.github.com/repos/pantheon-systems/cli/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/pantheon-systems/cli/issues/76/comments","events_url":"https://api.github.com/repos/pantheon-systems/cli/issues/76/events","html_url":"https://github.com/pantheon-systems/cli/issues/76","id":55788699,"number":76,"title":"creating a site with --product=wordpress does not fail, but does not work either","user":{"login":"calevans","id":426938,"avatar_url":"https://avatars.githubusercontent.com/u/426938?v=3","gravatar_id":"","url":"https://api.github.com/users/calevans","html_url":"https://github.com/calevans","followers_url":"https://api.github.com/users/calevans/followers","following_url":"https://api.github.com/users/calevans/following{/other_user}","gists_url":"https://api.github.com/users/calevans/gists{/gist_id}","starred_url":"https://api.github.com/users/calevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calevans/subscriptions","organizations_url":"https://api.github.com/users/calevans/orgs","repos_url":"https://api.github.com/users/calevans/repos","events_url":"https://api.github.com/users/calevans/events{/privacy}","received_events_url":"https://api.github.com/users/calevans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pantheon-systems/cli/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mikevanwinkle","id":429554,"avatar_url":"https://avatars.githubusercontent.com/u/429554?v=3","gravatar_id":"","url":"https://api.github.com/users/mikevanwinkle","html_url":"https://github.com/mikevanwinkle","followers_url":"https://api.github.com/users/mikevanwinkle/followers","following_url":"https://api.github.com/users/mikevanwinkle/following{/other_user}","gists_url":"https://api.github.com/users/mikevanwinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevanwinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevanwinkle/subscriptions","organizations_url":"https://api.github.com/users/mikevanwinkle/orgs","repos_url":"https://api.github.com/users/mikevanwinkle/repos","events_url":"https://api.github.com/users/mikevanwinkle/events{/privacy}","received_events_url":"https://api.github.com/users/mikevanwinkle/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pantheon-systems/cli/milestones/2","labels_url":"https://api.github.com/repos/pantheon-systems/cli/milestones/2/labels","id":944225,"number":2,"title":"0.4-beta","description":null,"creator":{"login":"mikevanwinkle","id":429554,"avatar_url":"https://avatars.githubusercontent.com/u/429554?v=3","gravatar_id":"","url":"https://api.github.com/users/mikevanwinkle","html_url":"https://github.com/mikevanwinkle","followers_url":"https://api.github.com/users/mikevanwinkle/followers","following_url":"https://api.github.com/users/mikevanwinkle/following{/other_user}","gists_url":"https://api.github.com/users/mikevanwinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevanwinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevanwinkle/subscriptions","organizations_url":"https://api.github.com/users/mikevanwinkle/orgs","repos_url":"https://api.github.com/users/mikevanwinkle/repos","events_url":"https://api.github.com/users/mikevanwinkle/events{/privacy}","received_events_url":"https://api.github.com/users/mikevanwinkle/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2015-01-20T20:47:22Z","updated_at":"2015-01-28T18:07:48Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-01-28T17:36:50Z","updated_at":"2015-01-28T18:15:40Z","closed_at":null,"body":"Hi!\r\n\r\nIt is possible to pass in an invalid product ID and the system will create a half-formed repo.\r\n\r\n## Steps to reproduce\r\n1 ``terminus sites create --name=site-name --label=some_label --org=eace756e-33b1-471c-9f0c-2e51eca126bd --product=wordpress\r\n2 Go to your dashboard\r\n\r\nA site was created but there is nothing in it. An error appears in the dashboard.\r\n\r\n![screen shot 2015-01-28 at 11 19 18 am](https://cloud.githubusercontent.com/assets/426938/5942961/99d8011a-a6e0-11e4-96f8-b48f92ad5944.png)\r\n\r\nI am guessing that 'wordpress' is not a valid product id. However, instead of creating a broken site, ``sites create`` should fail. Preferably with an return code of ``1`` unless --verbose is set. Then a detailed explanation can be provided.\r\n\r\nCheers!\r\n=C=\r\n"},"comment":{"url":"https://api.github.com/repos/pantheon-systems/cli/issues/comments/71885654","html_url":"https://github.com/pantheon-systems/cli/issues/76#issuecomment-71885654","issue_url":"https://api.github.com/repos/pantheon-systems/cli/issues/76","id":71885654,"user":{"login":"calevans","id":426938,"avatar_url":"https://avatars.githubusercontent.com/u/426938?v=3","gravatar_id":"","url":"https://api.github.com/users/calevans","html_url":"https://github.com/calevans","followers_url":"https://api.github.com/users/calevans/followers","following_url":"https://api.github.com/users/calevans/following{/other_user}","gists_url":"https://api.github.com/users/calevans/gists{/gist_id}","starred_url":"https://api.github.com/users/calevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calevans/subscriptions","organizations_url":"https://api.github.com/users/calevans/orgs","repos_url":"https://api.github.com/users/calevans/repos","events_url":"https://api.github.com/users/calevans/events{/privacy}","received_events_url":"https://api.github.com/users/calevans/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T18:15:40Z","updated_at":"2015-01-28T18:15:40Z","body":"@mikevanwinkle \r\n\r\nIMHO, at the client level. However it doesn't really matter that much to me as long as it fails early in the process and doesn't create the site.\r\n\r\nCheers!\r\n=C=\r\n"}}