{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2273","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2273/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2273/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2273/events","html_url":"https://github.com/gogits/gogs/issues/2273","id":123691167,"number":2273,"title":"Drone.io integration not working for repositories which use uppercase","user":{"login":"0xf3f","id":7755130,"avatar_url":"https://avatars.githubusercontent.com/u/7755130?v=3","gravatar_id":"","url":"https://api.github.com/users/0xf3f","html_url":"https://github.com/0xf3f","followers_url":"https://api.github.com/users/0xf3f/followers","following_url":"https://api.github.com/users/0xf3f/following{/other_user}","gists_url":"https://api.github.com/users/0xf3f/gists{/gist_id}","starred_url":"https://api.github.com/users/0xf3f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xf3f/subscriptions","organizations_url":"https://api.github.com/users/0xf3f/orgs","repos_url":"https://api.github.com/users/0xf3f/repos","events_url":"https://api.github.com/users/0xf3f/events{/privacy}","received_events_url":"https://api.github.com/users/0xf3f/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"},{"url":"https://api.github.com/repos/gogits/gogs/labels/third-party","name":"third-party","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T16:55:35Z","updated_at":"2015-12-25T01:53:17Z","closed_at":null,"body":"Repositories are \"advertised\" to drone.io by their Name, which uses this name as a key in the DB. \r\nDuring creation of the outgoing webhook-payload, LowerName is used instead.\r\n\r\nhttps://github.com/gogits/gogs/blob/6673dcb0380aa99da25b4d1d68cf129635fe30d9/models/repo.go#L405\r\n\r\nThe results is an 404 Error because the DB lookup failed.\r\n\r\n![screenshot - 23 12 2015 - 17 54 15](https://cloud.githubusercontent.com/assets/7755130/11980865/3da48190-a99e-11e5-8674-63c3ab2fe875.png)\r\n\r\n\r\n```\r\n\"repository\": {\r\n    \"id\": 4,\r\n    \"name\": \"test3\",\r\n    \"url\": \"https://git.example.com/0xf3f/Test3\",\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/167176964","html_url":"https://github.com/gogits/gogs/issues/2273#issuecomment-167176964","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2273","id":167176964,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T01:53:17Z","updated_at":"2015-12-25T01:53:17Z","body":"cc @bradrydzewski"}}