{"action":"created","issue":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/1470","labels_url":"https://api.github.com/repos/projectkudu/kudu/issues/1470/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/kudu/issues/1470/comments","events_url":"https://api.github.com/repos/projectkudu/kudu/issues/1470/events","html_url":"https://github.com/projectkudu/kudu/issues/1470","id":58304863,"number":1470,"title":"Fix support for GitLab payload","user":{"login":"davidebbo","id":556238,"avatar_url":"https://avatars.githubusercontent.com/u/556238?v=3","gravatar_id":"","url":"https://api.github.com/users/davidebbo","html_url":"https://github.com/davidebbo","followers_url":"https://api.github.com/users/davidebbo/followers","following_url":"https://api.github.com/users/davidebbo/following{/other_user}","gists_url":"https://api.github.com/users/davidebbo/gists{/gist_id}","starred_url":"https://api.github.com/users/davidebbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidebbo/subscriptions","organizations_url":"https://api.github.com/users/davidebbo/orgs","repos_url":"https://api.github.com/users/davidebbo/repos","events_url":"https://api.github.com/users/davidebbo/events{/privacy}","received_events_url":"https://api.github.com/users/davidebbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-20T03:04:40Z","updated_at":"2015-02-20T05:18:23Z","closed_at":null,"body":"I just tried to use it from gitlab.com by manually setting up the hook. It seems our logic for gitlabhq is no longer working, possibly because the payload changed since it was written. You can find the code here.\r\n \r\nFocusing only on the relevant parts, I get a payload that looks like this:\r\n\r\n```json \r\n{  \r\n   \"ref\":\"refs/heads/master\",\r\n   \"user_id\":12345,\r\n   \"user_name\":\"David Ebbo\",\r\n   \"repository\":{  \r\n      \"name\":\"Mvc51ApplicationFx451\",\r\n      \"url\":\"git@gitlab.com:david-ebbo/Mvc51ApplicationFx451.git\",\r\n      \"description\":\"Test MVC project\",\r\n      \"homepage\":\"https://gitlab.com/david-ebbo/Mvc51ApplicationFx451\"\r\n   }\r\n}\r\n```\r\n \r\nAnd for a public repo (as is the case for https://gitlab.com/david-ebbo/Mvc51ApplicationFx451), we’re expecting an http URL and not ssh. So that blows up in there.\r\n"},"comment":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/comments/75191117","html_url":"https://github.com/projectkudu/kudu/issues/1470#issuecomment-75191117","issue_url":"https://api.github.com/repos/projectkudu/kudu/issues/1470","id":75191117,"user":{"login":"suwatch","id":1088218,"avatar_url":"https://avatars.githubusercontent.com/u/1088218?v=3","gravatar_id":"","url":"https://api.github.com/users/suwatch","html_url":"https://github.com/suwatch","followers_url":"https://api.github.com/users/suwatch/followers","following_url":"https://api.github.com/users/suwatch/following{/other_user}","gists_url":"https://api.github.com/users/suwatch/gists{/gist_id}","starred_url":"https://api.github.com/users/suwatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suwatch/subscriptions","organizations_url":"https://api.github.com/users/suwatch/orgs","repos_url":"https://api.github.com/users/suwatch/repos","events_url":"https://api.github.com/users/suwatch/events{/privacy}","received_events_url":"https://api.github.com/users/suwatch/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T05:18:23Z","updated_at":"2015-02-20T05:18:23Z","body":"That could be another workaround.  I just think long term we should have that info.  It is available on `https://gitlab.com/api/v3/projects` rest api (`public: true`).   Just a matter of adding it to the hook, I guess. \r\n\r\n@randx what 7.10 means in term of date?  It is not July 10 correct?"}}