{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5331","labels_url":"https://api.github.com/repos/openshift/origin/issues/5331/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5331/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5331/events","html_url":"https://github.com/openshift/origin/pull/5331","id":112815160,"number":5331,"title":"[#5182] Improve generation of name based on a git repo url to make it valid","user":{"login":"php-coder","id":87088,"avatar_url":"https://avatars.githubusercontent.com/u/87088?v=3","gravatar_id":"","url":"https://api.github.com/users/php-coder","html_url":"https://github.com/php-coder","followers_url":"https://api.github.com/users/php-coder/followers","following_url":"https://api.github.com/users/php-coder/following{/other_user}","gists_url":"https://api.github.com/users/php-coder/gists{/gist_id}","starred_url":"https://api.github.com/users/php-coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-coder/subscriptions","organizations_url":"https://api.github.com/users/php-coder/orgs","repos_url":"https://api.github.com/users/php-coder/repos","events_url":"https://api.github.com/users/php-coder/events{/privacy}","received_events_url":"https://api.github.com/users/php-coder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/needs-rebase","name":"needs-rebase","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-22T14:28:54Z","updated_at":"2015-10-29T08:53:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/5331","html_url":"https://github.com/openshift/origin/pull/5331","diff_url":"https://github.com/openshift/origin/pull/5331.diff","patch_url":"https://github.com/openshift/origin/pull/5331.patch"},"body":"@bparees @mfojtik PTAL. I'm going to write unit tests after yours approval if this fix is correct (I've tested it and it works, but may be we should fix it somewhere else?)\r\n\r\nAdditional idea:  may be we should replace invalid characters by hyphen instead of space (and `amby.build` becomes to `amby-build` instead of `ambybuild`) WDYT?\r\n\r\nFixes #5182"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/152115769","html_url":"https://github.com/openshift/origin/pull/5331#issuecomment-152115769","issue_url":"https://api.github.com/repos/openshift/origin/issues/5331","id":152115769,"user":{"login":"php-coder","id":87088,"avatar_url":"https://avatars.githubusercontent.com/u/87088?v=3","gravatar_id":"","url":"https://api.github.com/users/php-coder","html_url":"https://github.com/php-coder","followers_url":"https://api.github.com/users/php-coder/followers","following_url":"https://api.github.com/users/php-coder/following{/other_user}","gists_url":"https://api.github.com/users/php-coder/gists{/gist_id}","starred_url":"https://api.github.com/users/php-coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-coder/subscriptions","organizations_url":"https://api.github.com/users/php-coder/orgs","repos_url":"https://api.github.com/users/php-coder/repos","events_url":"https://api.github.com/users/php-coder/events{/privacy}","received_events_url":"https://api.github.com/users/php-coder/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T08:53:40Z","updated_at":"2015-10-29T08:53:40Z","body":"@bparees Ok, done."}}