{"action":"created","issue":{"url":"https://api.github.com/repos/navit-gps/navit/issues/603","repository_url":"https://api.github.com/repos/navit-gps/navit","labels_url":"https://api.github.com/repos/navit-gps/navit/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/navit-gps/navit/issues/603/comments","events_url":"https://api.github.com/repos/navit-gps/navit/issues/603/events","html_url":"https://github.com/navit-gps/navit/pull/603","id":327413826,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxMjE1MTY1","number":603,"title":"add:helper:Add a pre-commit hook script for users to use locally","user":{"login":"aerostitch","id":4210981,"node_id":"MDQ6VXNlcjQyMTA5ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/4210981?v=4","gravatar_id":"","url":"https://api.github.com/users/aerostitch","html_url":"https://github.com/aerostitch","followers_url":"https://api.github.com/users/aerostitch/followers","following_url":"https://api.github.com/users/aerostitch/following{/other_user}","gists_url":"https://api.github.com/users/aerostitch/gists{/gist_id}","starred_url":"https://api.github.com/users/aerostitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerostitch/subscriptions","organizations_url":"https://api.github.com/users/aerostitch/orgs","repos_url":"https://api.github.com/users/aerostitch/repos","events_url":"https://api.github.com/users/aerostitch/events{/privacy}","received_events_url":"https://api.github.com/users/aerostitch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-29T17:18:09Z","updated_at":"2018-05-30T19:33:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/navit-gps/navit/pulls/603","html_url":"https://github.com/navit-gps/navit/pull/603","diff_url":"https://github.com/navit-gps/navit/pull/603.diff","patch_url":"https://github.com/navit-gps/navit/pull/603.patch"},"body":"Related to #569: This PR adds a pre-commit hook example script that removes trailing spaces, control-M and uses astyle to reformat files automatically.\r\nInstructions are in the header.\r\nThis is not something mandatory and we'll probably need to mention it in the doc when we update it."},"comment":{"url":"https://api.github.com/repos/navit-gps/navit/issues/comments/393289230","html_url":"https://github.com/navit-gps/navit/pull/603#issuecomment-393289230","issue_url":"https://api.github.com/repos/navit-gps/navit/issues/603","id":393289230,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzI4OTIzMA==","user":{"login":"jkoan","id":3747958,"node_id":"MDQ6VXNlcjM3NDc5NTg=","avatar_url":"https://avatars3.githubusercontent.com/u/3747958?v=4","gravatar_id":"","url":"https://api.github.com/users/jkoan","html_url":"https://github.com/jkoan","followers_url":"https://api.github.com/users/jkoan/followers","following_url":"https://api.github.com/users/jkoan/following{/other_user}","gists_url":"https://api.github.com/users/jkoan/gists{/gist_id}","starred_url":"https://api.github.com/users/jkoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkoan/subscriptions","organizations_url":"https://api.github.com/users/jkoan/orgs","repos_url":"https://api.github.com/users/jkoan/repos","events_url":"https://api.github.com/users/jkoan/events{/privacy}","received_events_url":"https://api.github.com/users/jkoan/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T19:33:33Z","updated_at":"2018-05-30T19:33:33Z","author_association":"MEMBER","body":"Generally i like the idea of hooks, but i think we should not do it like that. The CI test should only reject the PR and we can handle it like we want.\r\nI know that this brings a bit more overhead but is better for not so advanced users that don't know how to fix such problems. \r\nOther opinions? @pgrandin"}}
{"actor":{"display_login":"jkoan"}}