{"action":"created","comment":{"url":"https://api.github.com/repos/i3/i3/pulls/comments/72890521","id":72890521,"diff_hunk":"@@ -9,9 +9,9 @@\n  * commands.c: all command functions (see commands_parser.c)\n  *\n  */\n-#include <stdint.h>","path":"src/commands.c","position":4,"original_position":4,"commit_id":"cd84b2fb4340851fb7bd52cf30f8259b9eff74b2","original_commit_id":"cd84b2fb4340851fb7bd52cf30f8259b9eff74b2","user":{"login":"stapelberg","id":55506,"avatar_url":"https://avatars.githubusercontent.com/u/55506?v=3","gravatar_id":"","url":"https://api.github.com/users/stapelberg","html_url":"https://github.com/stapelberg","followers_url":"https://api.github.com/users/stapelberg/followers","following_url":"https://api.github.com/users/stapelberg/following{/other_user}","gists_url":"https://api.github.com/users/stapelberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stapelberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapelberg/subscriptions","organizations_url":"https://api.github.com/users/stapelberg/orgs","repos_url":"https://api.github.com/users/stapelberg/repos","events_url":"https://api.github.com/users/stapelberg/events{/privacy}","received_events_url":"https://api.github.com/users/stapelberg/received_events","type":"User","site_admin":false},"body":"Here and below, are the changes in include order and line breaks intentional? Does clang-format require them?","created_at":"2016-07-30T16:45:39Z","updated_at":"2016-07-30T16:45:39Z","html_url":"https://github.com/i3/i3/pull/2335#discussion_r72890521","pull_request_url":"https://api.github.com/repos/i3/i3/pulls/2335","_links":{"self":{"href":"https://api.github.com/repos/i3/i3/pulls/comments/72890521"},"html":{"href":"https://github.com/i3/i3/pull/2335#discussion_r72890521"},"pull_request":{"href":"https://api.github.com/repos/i3/i3/pulls/2335"}}},"pull_request":{"url":"https://api.github.com/repos/i3/i3/pulls/2335","id":68609422,"html_url":"https://github.com/i3/i3/pull/2335","diff_url":"https://github.com/i3/i3/pull/2335.diff","patch_url":"https://github.com/i3/i3/pull/2335.patch","issue_url":"https://api.github.com/repos/i3/i3/issues/2335","number":2335,"state":"open","locked":false,"title":"Add the ipc shutdown event","user":{"login":"acrisci","id":3258764,"avatar_url":"https://avatars.githubusercontent.com/u/3258764?v=3","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"body":"This event is triggered when the connection to the ipc is about to\r\nshutdown because of a user action such as with a `restart` or `exit`\r\ncommand. The `change` field indicates why the ipc is shutting down. It\r\ncan be either \"restart\" or \"exit\".\r\n\r\nfixes #2318","created_at":"2016-05-02T19:40:46Z","updated_at":"2016-07-30T16:45:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed11237fbb4b18f6396e2cd80f355938417fe76a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/i3/i3/pulls/2335/commits","review_comments_url":"https://api.github.com/repos/i3/i3/pulls/2335/comments","review_comment_url":"https://api.github.com/repos/i3/i3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/i3/i3/issues/2335/comments","statuses_url":"https://api.github.com/repos/i3/i3/statuses/cd84b2fb4340851fb7bd52cf30f8259b9eff74b2","head":{"label":"acrisci:feature/ipc-shutdown-event","ref":"feature/ipc-shutdown-event","sha":"cd84b2fb4340851fb7bd52cf30f8259b9eff74b2","user":{"login":"acrisci","id":3258764,"avatar_url":"https://avatars.githubusercontent.com/u/3258764?v=3","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"repo":{"id":30465013,"name":"i3","full_name":"acrisci/i3","owner":{"login":"acrisci","id":3258764,"avatar_url":"https://avatars.githubusercontent.com/u/3258764?v=3","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acrisci/i3","description":"A better tiling and dynamic window manager","fork":true,"url":"https://api.github.com/repos/acrisci/i3","forks_url":"https://api.github.com/repos/acrisci/i3/forks","keys_url":"https://api.github.com/repos/acrisci/i3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acrisci/i3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acrisci/i3/teams","hooks_url":"https://api.github.com/repos/acrisci/i3/hooks","issue_events_url":"https://api.github.com/repos/acrisci/i3/issues/events{/number}","events_url":"https://api.github.com/repos/acrisci/i3/events","assignees_url":"https://api.github.com/repos/acrisci/i3/assignees{/user}","branches_url":"https://api.github.com/repos/acrisci/i3/branches{/branch}","tags_url":"https://api.github.com/repos/acrisci/i3/tags","blobs_url":"https://api.github.com/repos/acrisci/i3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acrisci/i3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acrisci/i3/git/refs{/sha}","trees_url":"https://api.github.com/repos/acrisci/i3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acrisci/i3/statuses/{sha}","languages_url":"https://api.github.com/repos/acrisci/i3/languages","stargazers_url":"https://api.github.com/repos/acrisci/i3/stargazers","contributors_url":"https://api.github.com/repos/acrisci/i3/contributors","subscribers_url":"https://api.github.com/repos/acrisci/i3/subscribers","subscription_url":"https://api.github.com/repos/acrisci/i3/subscription","commits_url":"https://api.github.com/repos/acrisci/i3/commits{/sha}","git_commits_url":"https://api.github.com/repos/acrisci/i3/git/commits{/sha}","comments_url":"https://api.github.com/repos/acrisci/i3/comments{/number}","issue_comment_url":"https://api.github.com/repos/acrisci/i3/issues/comments{/number}","contents_url":"https://api.github.com/repos/acrisci/i3/contents/{+path}","compare_url":"https://api.github.com/repos/acrisci/i3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acrisci/i3/merges","archive_url":"https://api.github.com/repos/acrisci/i3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acrisci/i3/downloads","issues_url":"https://api.github.com/repos/acrisci/i3/issues{/number}","pulls_url":"https://api.github.com/repos/acrisci/i3/pulls{/number}","milestones_url":"https://api.github.com/repos/acrisci/i3/milestones{/number}","notifications_url":"https://api.github.com/repos/acrisci/i3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acrisci/i3/labels{/name}","releases_url":"https://api.github.com/repos/acrisci/i3/releases{/id}","deployments_url":"https://api.github.com/repos/acrisci/i3/deployments","created_at":"2015-02-07T18:16:03Z","updated_at":"2016-04-15T01:30:54Z","pushed_at":"2016-07-25T00:54:48Z","git_url":"git://github.com/acrisci/i3.git","ssh_url":"git@github.com:acrisci/i3.git","clone_url":"https://github.com/acrisci/i3.git","svn_url":"https://github.com/acrisci/i3","homepage":"http://i3wm.org/","size":8819,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"next"}},"base":{"label":"i3:next","ref":"next","sha":"bccd702e857067e4942f7eb23682744e484e3a14","user":{"login":"i3","id":7904352,"avatar_url":"https://avatars.githubusercontent.com/u/7904352?v=3","gravatar_id":"","url":"https://api.github.com/users/i3","html_url":"https://github.com/i3","followers_url":"https://api.github.com/users/i3/followers","following_url":"https://api.github.com/users/i3/following{/other_user}","gists_url":"https://api.github.com/users/i3/gists{/gist_id}","starred_url":"https://api.github.com/users/i3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i3/subscriptions","organizations_url":"https://api.github.com/users/i3/orgs","repos_url":"https://api.github.com/users/i3/repos","events_url":"https://api.github.com/users/i3/events{/privacy}","received_events_url":"https://api.github.com/users/i3/received_events","type":"Organization","site_admin":false},"repo":{"id":30291090,"name":"i3","full_name":"i3/i3","owner":{"login":"i3","id":7904352,"avatar_url":"https://avatars.githubusercontent.com/u/7904352?v=3","gravatar_id":"","url":"https://api.github.com/users/i3","html_url":"https://github.com/i3","followers_url":"https://api.github.com/users/i3/followers","following_url":"https://api.github.com/users/i3/following{/other_user}","gists_url":"https://api.github.com/users/i3/gists{/gist_id}","starred_url":"https://api.github.com/users/i3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i3/subscriptions","organizations_url":"https://api.github.com/users/i3/orgs","repos_url":"https://api.github.com/users/i3/repos","events_url":"https://api.github.com/users/i3/events{/privacy}","received_events_url":"https://api.github.com/users/i3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/i3/i3","description":"A better tiling and dynamic window manager","fork":false,"url":"https://api.github.com/repos/i3/i3","forks_url":"https://api.github.com/repos/i3/i3/forks","keys_url":"https://api.github.com/repos/i3/i3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/i3/i3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/i3/i3/teams","hooks_url":"https://api.github.com/repos/i3/i3/hooks","issue_events_url":"https://api.github.com/repos/i3/i3/issues/events{/number}","events_url":"https://api.github.com/repos/i3/i3/events","assignees_url":"https://api.github.com/repos/i3/i3/assignees{/user}","branches_url":"https://api.github.com/repos/i3/i3/branches{/branch}","tags_url":"https://api.github.com/repos/i3/i3/tags","blobs_url":"https://api.github.com/repos/i3/i3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/i3/i3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/i3/i3/git/refs{/sha}","trees_url":"https://api.github.com/repos/i3/i3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/i3/i3/statuses/{sha}","languages_url":"https://api.github.com/repos/i3/i3/languages","stargazers_url":"https://api.github.com/repos/i3/i3/stargazers","contributors_url":"https://api.github.com/repos/i3/i3/contributors","subscribers_url":"https://api.github.com/repos/i3/i3/subscribers","subscription_url":"https://api.github.com/repos/i3/i3/subscription","commits_url":"https://api.github.com/repos/i3/i3/commits{/sha}","git_commits_url":"https://api.github.com/repos/i3/i3/git/commits{/sha}","comments_url":"https://api.github.com/repos/i3/i3/comments{/number}","issue_comment_url":"https://api.github.com/repos/i3/i3/issues/comments{/number}","contents_url":"https://api.github.com/repos/i3/i3/contents/{+path}","compare_url":"https://api.github.com/repos/i3/i3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/i3/i3/merges","archive_url":"https://api.github.com/repos/i3/i3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/i3/i3/downloads","issues_url":"https://api.github.com/repos/i3/i3/issues{/number}","pulls_url":"https://api.github.com/repos/i3/i3/pulls{/number}","milestones_url":"https://api.github.com/repos/i3/i3/milestones{/number}","notifications_url":"https://api.github.com/repos/i3/i3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/i3/i3/labels{/name}","releases_url":"https://api.github.com/repos/i3/i3/releases{/id}","deployments_url":"https://api.github.com/repos/i3/i3/deployments","created_at":"2015-02-04T09:23:51Z","updated_at":"2016-07-30T14:02:40Z","pushed_at":"2016-07-25T19:15:09Z","git_url":"git://github.com/i3/i3.git","ssh_url":"git@github.com:i3/i3.git","clone_url":"https://github.com/i3/i3.git","svn_url":"https://github.com/i3/i3","homepage":"http://i3wm.org/","size":11547,"stargazers_count":1333,"watchers_count":1333,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":98,"forks":180,"open_issues":98,"watchers":1333,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/i3/i3/pulls/2335"},"html":{"href":"https://github.com/i3/i3/pull/2335"},"issue":{"href":"https://api.github.com/repos/i3/i3/issues/2335"},"comments":{"href":"https://api.github.com/repos/i3/i3/issues/2335/comments"},"review_comments":{"href":"https://api.github.com/repos/i3/i3/pulls/2335/comments"},"review_comment":{"href":"https://api.github.com/repos/i3/i3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/i3/i3/pulls/2335/commits"},"statuses":{"href":"https://api.github.com/repos/i3/i3/statuses/cd84b2fb4340851fb7bd52cf30f8259b9eff74b2"}}}}
{"actor":{"display_login":"stapelberg"}}