{"action":"created","issue":{"url":"https://api.github.com/repos/4teamwork/ftw.upgrade/issues/102","labels_url":"https://api.github.com/repos/4teamwork/ftw.upgrade/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/4teamwork/ftw.upgrade/issues/102/comments","events_url":"https://api.github.com/repos/4teamwork/ftw.upgrade/issues/102/events","html_url":"https://github.com/4teamwork/ftw.upgrade/issues/102","id":127863204,"number":102,"title":"Normalize auto generated class name.","user":{"login":"bierik","id":1637820,"avatar_url":"https://avatars.githubusercontent.com/u/1637820?v=3","gravatar_id":"","url":"https://api.github.com/users/bierik","html_url":"https://github.com/bierik","followers_url":"https://api.github.com/users/bierik/followers","following_url":"https://api.github.com/users/bierik/following{/other_user}","gists_url":"https://api.github.com/users/bierik/gists{/gist_id}","starred_url":"https://api.github.com/users/bierik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bierik/subscriptions","organizations_url":"https://api.github.com/users/bierik/orgs","repos_url":"https://api.github.com/users/bierik/repos","events_url":"https://api.github.com/users/bierik/events{/privacy}","received_events_url":"https://api.github.com/users/bierik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jone","id":7469,"avatar_url":"https://avatars.githubusercontent.com/u/7469?v=3","gravatar_id":"","url":"https://api.github.com/users/jone","html_url":"https://github.com/jone","followers_url":"https://api.github.com/users/jone/followers","following_url":"https://api.github.com/users/jone/following{/other_user}","gists_url":"https://api.github.com/users/jone/gists{/gist_id}","starred_url":"https://api.github.com/users/jone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jone/subscriptions","organizations_url":"https://api.github.com/users/jone/orgs","repos_url":"https://api.github.com/users/jone/repos","events_url":"https://api.github.com/users/jone/events{/privacy}","received_events_url":"https://api.github.com/users/jone/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-21T07:32:08Z","updated_at":"2016-01-21T07:57:49Z","closed_at":null,"body":"e.g. when I type `bin/upgrade create \"Add test.xml file\"` the resulting class name in `upgrade.py` will be `AddTest.xml` which is not a valid python class name. So a normalized string would be nice."},"comment":{"url":"https://api.github.com/repos/4teamwork/ftw.upgrade/issues/comments/173487846","html_url":"https://github.com/4teamwork/ftw.upgrade/issues/102#issuecomment-173487846","issue_url":"https://api.github.com/repos/4teamwork/ftw.upgrade/issues/102","id":173487846,"user":{"login":"mbaechtold","id":28220,"avatar_url":"https://avatars.githubusercontent.com/u/28220?v=3","gravatar_id":"","url":"https://api.github.com/users/mbaechtold","html_url":"https://github.com/mbaechtold","followers_url":"https://api.github.com/users/mbaechtold/followers","following_url":"https://api.github.com/users/mbaechtold/following{/other_user}","gists_url":"https://api.github.com/users/mbaechtold/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaechtold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaechtold/subscriptions","organizations_url":"https://api.github.com/users/mbaechtold/orgs","repos_url":"https://api.github.com/users/mbaechtold/repos","events_url":"https://api.github.com/users/mbaechtold/events{/privacy}","received_events_url":"https://api.github.com/users/mbaechtold/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T07:57:49Z","updated_at":"2016-01-21T07:57:49Z","body":"What about:\r\n\r\n```\r\n>>> ''.join(x for x in 'Add test.xml file'.title() if x.isalpha())\r\n'AddTestXmlFile'\r\n```"}}