{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/4","id":181708666,"html_url":"https://github.com/OpenTTD/OpenTTD-git-hooks/pull/4","diff_url":"https://github.com/OpenTTD/OpenTTD-git-hooks/pull/4.diff","patch_url":"https://github.com/OpenTTD/OpenTTD-git-hooks/pull/4.patch","issue_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues/4","number":4,"state":"open","locked":false,"title":"Change: Check all files for UTF-8, check sources and commit messages for ASCII.","user":{"login":"frosch123","id":23150643,"avatar_url":"https://avatars3.githubusercontent.com/u/23150643?v=4","gravatar_id":"","url":"https://api.github.com/users/frosch123","html_url":"https://github.com/frosch123","followers_url":"https://api.github.com/users/frosch123/followers","following_url":"https://api.github.com/users/frosch123/following{/other_user}","gists_url":"https://api.github.com/users/frosch123/gists{/gist_id}","starred_url":"https://api.github.com/users/frosch123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frosch123/subscriptions","organizations_url":"https://api.github.com/users/frosch123/orgs","repos_url":"https://api.github.com/users/frosch123/repos","events_url":"https://api.github.com/users/frosch123/events{/privacy}","received_events_url":"https://api.github.com/users/frosch123/received_events","type":"User","site_admin":false},"body":"The diff is checked for UTF-8 encoding (by python's open).\r\n\r\nAdditionally .cpp, .hpp, .c and .h files only allow ASCII. (we do \\u escapes)\r\n\r\nCommit message also only allows ASCII.\r\n","created_at":"2018-04-15T16:50:22Z","updated_at":"2018-04-15T16:50:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/4/commits","review_comments_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/4/comments","review_comment_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues/4/comments","statuses_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/statuses/d04f493b9d6ed087cd62c8f41d339c0de4af7d34","head":{"label":"frosch123:utf","ref":"utf","sha":"d04f493b9d6ed087cd62c8f41d339c0de4af7d34","user":{"login":"frosch123","id":23150643,"avatar_url":"https://avatars3.githubusercontent.com/u/23150643?v=4","gravatar_id":"","url":"https://api.github.com/users/frosch123","html_url":"https://github.com/frosch123","followers_url":"https://api.github.com/users/frosch123/followers","following_url":"https://api.github.com/users/frosch123/following{/other_user}","gists_url":"https://api.github.com/users/frosch123/gists{/gist_id}","starred_url":"https://api.github.com/users/frosch123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frosch123/subscriptions","organizations_url":"https://api.github.com/users/frosch123/orgs","repos_url":"https://api.github.com/users/frosch123/repos","events_url":"https://api.github.com/users/frosch123/events{/privacy}","received_events_url":"https://api.github.com/users/frosch123/received_events","type":"User","site_admin":false},"repo":{"id":128652175,"name":"OpenTTD-git-hooks","full_name":"frosch123/OpenTTD-git-hooks","owner":{"login":"frosch123","id":23150643,"avatar_url":"https://avatars3.githubusercontent.com/u/23150643?v=4","gravatar_id":"","url":"https://api.github.com/users/frosch123","html_url":"https://github.com/frosch123","followers_url":"https://api.github.com/users/frosch123/followers","following_url":"https://api.github.com/users/frosch123/following{/other_user}","gists_url":"https://api.github.com/users/frosch123/gists{/gist_id}","starred_url":"https://api.github.com/users/frosch123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frosch123/subscriptions","organizations_url":"https://api.github.com/users/frosch123/orgs","repos_url":"https://api.github.com/users/frosch123/repos","events_url":"https://api.github.com/users/frosch123/events{/privacy}","received_events_url":"https://api.github.com/users/frosch123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frosch123/OpenTTD-git-hooks","description":"A collection of both client-side and server-side hooks used around the OpenTTD git repository.","fork":true,"url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks","forks_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/forks","keys_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/teams","hooks_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/hooks","issue_events_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/events","assignees_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/tags","blobs_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/languages","stargazers_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/stargazers","contributors_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/contributors","subscribers_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/subscribers","subscription_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/subscription","commits_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/merges","archive_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/downloads","issues_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/labels{/name}","releases_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/frosch123/OpenTTD-git-hooks/deployments","created_at":"2018-04-08T14:56:13Z","updated_at":"2018-04-12T19:34:26Z","pushed_at":"2018-04-15T16:48:53Z","git_url":"git://github.com/frosch123/OpenTTD-git-hooks.git","ssh_url":"git@github.com:frosch123/OpenTTD-git-hooks.git","clone_url":"https://github.com/frosch123/OpenTTD-git-hooks.git","svn_url":"https://github.com/frosch123/OpenTTD-git-hooks","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenTTD:master","ref":"master","sha":"aa261e2a6b0ae364da0341e3dfcb7e6ea338d671","user":{"login":"OpenTTD","id":5037546,"avatar_url":"https://avatars0.githubusercontent.com/u/5037546?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenTTD","html_url":"https://github.com/OpenTTD","followers_url":"https://api.github.com/users/OpenTTD/followers","following_url":"https://api.github.com/users/OpenTTD/following{/other_user}","gists_url":"https://api.github.com/users/OpenTTD/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTTD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTTD/subscriptions","organizations_url":"https://api.github.com/users/OpenTTD/orgs","repos_url":"https://api.github.com/users/OpenTTD/repos","events_url":"https://api.github.com/users/OpenTTD/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTTD/received_events","type":"Organization","site_admin":false},"repo":{"id":128640479,"name":"OpenTTD-git-hooks","full_name":"OpenTTD/OpenTTD-git-hooks","owner":{"login":"OpenTTD","id":5037546,"avatar_url":"https://avatars0.githubusercontent.com/u/5037546?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenTTD","html_url":"https://github.com/OpenTTD","followers_url":"https://api.github.com/users/OpenTTD/followers","following_url":"https://api.github.com/users/OpenTTD/following{/other_user}","gists_url":"https://api.github.com/users/OpenTTD/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTTD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTTD/subscriptions","organizations_url":"https://api.github.com/users/OpenTTD/orgs","repos_url":"https://api.github.com/users/OpenTTD/repos","events_url":"https://api.github.com/users/OpenTTD/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTTD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenTTD/OpenTTD-git-hooks","description":"A collection of both client-side and server-side hooks used around the OpenTTD git repository.","fork":false,"url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks","forks_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/forks","keys_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/teams","hooks_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/hooks","issue_events_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/events","assignees_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/tags","blobs_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/languages","stargazers_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/stargazers","contributors_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/contributors","subscribers_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/subscribers","subscription_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/subscription","commits_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/merges","archive_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/downloads","issues_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/labels{/name}","releases_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/deployments","created_at":"2018-04-08T12:47:16Z","updated_at":"2018-04-12T18:26:35Z","pushed_at":"2018-04-12T18:26:34Z","git_url":"git://github.com/OpenTTD/OpenTTD-git-hooks.git","ssh_url":"git@github.com:OpenTTD/OpenTTD-git-hooks.git","clone_url":"https://github.com/OpenTTD/OpenTTD-git-hooks.git","svn_url":"https://github.com/OpenTTD/OpenTTD-git-hooks","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/4"},"html":{"href":"https://github.com/OpenTTD/OpenTTD-git-hooks/pull/4"},"issue":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues/4"},"comments":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/OpenTTD/OpenTTD-git-hooks/statuses/d04f493b9d6ed087cd62c8f41d339c0de4af7d34"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":8,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"frosch123"}}