{"action":"created","issue":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/2521","repository_url":"https://api.github.com/repos/jenkins-x/jx","labels_url":"https://api.github.com/repos/jenkins-x/jx/issues/2521/labels{/name}","comments_url":"https://api.github.com/repos/jenkins-x/jx/issues/2521/comments","events_url":"https://api.github.com/repos/jenkins-x/jx/issues/2521/events","html_url":"https://github.com/jenkins-x/jx/issues/2521","id":391375414,"node_id":"MDU6SXNzdWUzOTEzNzU0MTQ=","number":2521,"title":"\"jx create quickstart\" assumes a GitHub organization","user":{"login":"SeanKilleen","id":2148318,"node_id":"MDQ6VXNlcjIxNDgzMTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2148318?v=4","gravatar_id":"","url":"https://api.github.com/users/SeanKilleen","html_url":"https://github.com/SeanKilleen","followers_url":"https://api.github.com/users/SeanKilleen/followers","following_url":"https://api.github.com/users/SeanKilleen/following{/other_user}","gists_url":"https://api.github.com/users/SeanKilleen/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanKilleen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanKilleen/subscriptions","organizations_url":"https://api.github.com/users/SeanKilleen/orgs","repos_url":"https://api.github.com/users/SeanKilleen/repos","events_url":"https://api.github.com/users/SeanKilleen/events{/privacy}","received_events_url":"https://api.github.com/users/SeanKilleen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-15T12:48:24Z","updated_at":"2018-12-16T09:13:20Z","closed_at":null,"author_association":"NONE","body":"### Summary \r\njx appears to be assuming that all the choices for creating a quickstart repo are orgs, even when the URL is for my username. It then fails with a 404 when creating the repo.\r\n\r\n### Steps to reproduce the behavior\r\n\r\n* `jx create quickstart`\r\n* select `aspnet-app`\r\n* Enter project name or accept default\r\n* \"Do you wish to use [username] as the Git uer name:\" (select Y)\r\n* \"Would you like to intialize git now?\" (select Y)\r\n* Commit message (leave default)\r\n* See \"which organization do you want to use?\" prompt\r\n* Select `SeanKilleen` from the list\r\n* Enter the new repo name (I leave the default)\r\n* See \"Creating repository `SeanKilleen/aspnet-app`\"\r\n\r\nThis should produce the error message.\r\n\r\n### Jx version\r\n\r\nThe output of `jx version` is: \r\n\r\n```\r\nNAME               VERSION\r\njx                 1.3.661\r\njenkins x platform 0.0.3076\r\nKubernetes cluster v1.9.11\r\nkubectl            v1.13.1\r\nhelm client        v2.12.0+gd325d2a\r\nhelm server        v2.12.0+gd325d2a\r\ngit                git version 2.17.1\r\nOperating System   Ubuntu 18.04.1 LTS\r\n```\r\n\r\n### Kubernetes cluster\r\n\r\nWhat kind of Kubernetes cluster are you using & how did you create it?\r\n\r\nA brand new cluster in Azure, using `jx create cluster aks`\r\n\r\n### Operating system / Environment\r\n\r\nWin10 Release 1809 (latest) using Ubuntu via Windows Subsystem for Linux\r\n\r\n### Expected behavior\r\njx creates the necessary repo(s) in my GitHub account.\r\n\r\n### Actual behavior\r\nSee an error: \r\n\r\n```bash\r\nerror: Failed to create repository seankilleen/mytestproj due to: POST https://api.github.com/orgs/seankilleen/repos: 404 Not Found []\r\n```"},"comment":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/comments/447627993","html_url":"https://github.com/jenkins-x/jx/issues/2521#issuecomment-447627993","issue_url":"https://api.github.com/repos/jenkins-x/jx/issues/2521","id":447627993,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzYyNzk5Mw==","user":{"login":"jstrachan","id":30140,"node_id":"MDQ6VXNlcjMwMTQw","avatar_url":"https://avatars1.githubusercontent.com/u/30140?v=4","gravatar_id":"","url":"https://api.github.com/users/jstrachan","html_url":"https://github.com/jstrachan","followers_url":"https://api.github.com/users/jstrachan/followers","following_url":"https://api.github.com/users/jstrachan/following{/other_user}","gists_url":"https://api.github.com/users/jstrachan/gists{/gist_id}","starred_url":"https://api.github.com/users/jstrachan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstrachan/subscriptions","organizations_url":"https://api.github.com/users/jstrachan/orgs","repos_url":"https://api.github.com/users/jstrachan/repos","events_url":"https://api.github.com/users/jstrachan/events{/privacy}","received_events_url":"https://api.github.com/users/jstrachan/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T09:13:20Z","updated_at":"2018-12-16T09:13:20Z","author_association":"MEMBER","body":"to use a different git provider try specify `—git-host` \r\nhttps://jenkins-x.io/commands/jx_create_quickstart/"}}
{"actor":{"display_login":"jstrachan"}}