{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/IAIK/sweb/pulls/27","id":28061144,"html_url":"https://github.com/IAIK/sweb/pull/27","diff_url":"https://github.com/IAIK/sweb/pull/27.diff","patch_url":"https://github.com/IAIK/sweb/pull/27.patch","issue_url":"https://api.github.com/repos/IAIK/sweb/issues/27","number":27,"state":"closed","locked":false,"title":"Add clang-format style and script.","user":{"login":"skogler","id":1032405,"avatar_url":"https://avatars.githubusercontent.com/u/1032405?v=3","gravatar_id":"","url":"https://api.github.com/users/skogler","html_url":"https://github.com/skogler","followers_url":"https://api.github.com/users/skogler/followers","following_url":"https://api.github.com/users/skogler/following{/other_user}","gists_url":"https://api.github.com/users/skogler/gists{/gist_id}","starred_url":"https://api.github.com/users/skogler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skogler/subscriptions","organizations_url":"https://api.github.com/users/skogler/orgs","repos_url":"https://api.github.com/users/skogler/repos","events_url":"https://api.github.com/users/skogler/events{/privacy}","received_events_url":"https://api.github.com/users/skogler/received_events","type":"User","site_admin":false},"body":"We used this in our sweb project last semester and were very satisfied with the results. The script should help when merging student code because there will be fewer conflicts due to formatting differences. Clang-format 3.4+ required ( extra/clang-tools-extra package in Arch Linux ).","created_at":"2015-01-26T21:18:14Z","updated_at":"2015-01-27T10:18:36Z","closed_at":"2015-01-27T10:18:36Z","merged_at":null,"merge_commit_sha":"1dd30dc3ffc8e3d25e6cfab917a3beed4c71061e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IAIK/sweb/pulls/27/commits","review_comments_url":"https://api.github.com/repos/IAIK/sweb/pulls/27/comments","review_comment_url":"https://api.github.com/repos/IAIK/sweb/pulls/comments/{number}","comments_url":"https://api.github.com/repos/IAIK/sweb/issues/27/comments","statuses_url":"https://api.github.com/repos/IAIK/sweb/statuses/97046cf80205570c017ff823a5a5ed5d9280121f","head":{"label":"skogler:master","ref":"master","sha":"97046cf80205570c017ff823a5a5ed5d9280121f","user":{"login":"skogler","id":1032405,"avatar_url":"https://avatars.githubusercontent.com/u/1032405?v=3","gravatar_id":"","url":"https://api.github.com/users/skogler","html_url":"https://github.com/skogler","followers_url":"https://api.github.com/users/skogler/followers","following_url":"https://api.github.com/users/skogler/following{/other_user}","gists_url":"https://api.github.com/users/skogler/gists{/gist_id}","starred_url":"https://api.github.com/users/skogler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skogler/subscriptions","organizations_url":"https://api.github.com/users/skogler/orgs","repos_url":"https://api.github.com/users/skogler/repos","events_url":"https://api.github.com/users/skogler/events{/privacy}","received_events_url":"https://api.github.com/users/skogler/received_events","type":"User","site_admin":false},"repo":{"id":22712038,"name":"sweb","full_name":"skogler/sweb","owner":{"login":"skogler","id":1032405,"avatar_url":"https://avatars.githubusercontent.com/u/1032405?v=3","gravatar_id":"","url":"https://api.github.com/users/skogler","html_url":"https://github.com/skogler","followers_url":"https://api.github.com/users/skogler/followers","following_url":"https://api.github.com/users/skogler/following{/other_user}","gists_url":"https://api.github.com/users/skogler/gists{/gist_id}","starred_url":"https://api.github.com/users/skogler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skogler/subscriptions","organizations_url":"https://api.github.com/users/skogler/orgs","repos_url":"https://api.github.com/users/skogler/repos","events_url":"https://api.github.com/users/skogler/events{/privacy}","received_events_url":"https://api.github.com/users/skogler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skogler/sweb","description":"SWEB Educational OS","fork":true,"url":"https://api.github.com/repos/skogler/sweb","forks_url":"https://api.github.com/repos/skogler/sweb/forks","keys_url":"https://api.github.com/repos/skogler/sweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skogler/sweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skogler/sweb/teams","hooks_url":"https://api.github.com/repos/skogler/sweb/hooks","issue_events_url":"https://api.github.com/repos/skogler/sweb/issues/events{/number}","events_url":"https://api.github.com/repos/skogler/sweb/events","assignees_url":"https://api.github.com/repos/skogler/sweb/assignees{/user}","branches_url":"https://api.github.com/repos/skogler/sweb/branches{/branch}","tags_url":"https://api.github.com/repos/skogler/sweb/tags","blobs_url":"https://api.github.com/repos/skogler/sweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skogler/sweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skogler/sweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/skogler/sweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skogler/sweb/statuses/{sha}","languages_url":"https://api.github.com/repos/skogler/sweb/languages","stargazers_url":"https://api.github.com/repos/skogler/sweb/stargazers","contributors_url":"https://api.github.com/repos/skogler/sweb/contributors","subscribers_url":"https://api.github.com/repos/skogler/sweb/subscribers","subscription_url":"https://api.github.com/repos/skogler/sweb/subscription","commits_url":"https://api.github.com/repos/skogler/sweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/skogler/sweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/skogler/sweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/skogler/sweb/issues/comments/{number}","contents_url":"https://api.github.com/repos/skogler/sweb/contents/{+path}","compare_url":"https://api.github.com/repos/skogler/sweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skogler/sweb/merges","archive_url":"https://api.github.com/repos/skogler/sweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skogler/sweb/downloads","issues_url":"https://api.github.com/repos/skogler/sweb/issues{/number}","pulls_url":"https://api.github.com/repos/skogler/sweb/pulls{/number}","milestones_url":"https://api.github.com/repos/skogler/sweb/milestones{/number}","notifications_url":"https://api.github.com/repos/skogler/sweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skogler/sweb/labels{/name}","releases_url":"https://api.github.com/repos/skogler/sweb/releases{/id}","created_at":"2014-08-07T07:11:41Z","updated_at":"2015-01-26T21:14:21Z","pushed_at":"2015-01-26T21:14:21Z","git_url":"git://github.com/skogler/sweb.git","ssh_url":"git@github.com:skogler/sweb.git","clone_url":"https://github.com/skogler/sweb.git","svn_url":"https://github.com/skogler/sweb","homepage":"http://iaik.tugraz.at/content/teaching/bachelor_courses/betriebssysteme/","size":9442,"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":"master"}},"base":{"label":"IAIK:master","ref":"master","sha":"6c7c77d3cb6c8a56d26c588534ad7b956ac8bf11","user":{"login":"IAIK","id":2519532,"avatar_url":"https://avatars.githubusercontent.com/u/2519532?v=3","gravatar_id":"","url":"https://api.github.com/users/IAIK","html_url":"https://github.com/IAIK","followers_url":"https://api.github.com/users/IAIK/followers","following_url":"https://api.github.com/users/IAIK/following{/other_user}","gists_url":"https://api.github.com/users/IAIK/gists{/gist_id}","starred_url":"https://api.github.com/users/IAIK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAIK/subscriptions","organizations_url":"https://api.github.com/users/IAIK/orgs","repos_url":"https://api.github.com/users/IAIK/repos","events_url":"https://api.github.com/users/IAIK/events{/privacy}","received_events_url":"https://api.github.com/users/IAIK/received_events","type":"Organization","site_admin":false},"repo":{"id":21390148,"name":"sweb","full_name":"IAIK/sweb","owner":{"login":"IAIK","id":2519532,"avatar_url":"https://avatars.githubusercontent.com/u/2519532?v=3","gravatar_id":"","url":"https://api.github.com/users/IAIK","html_url":"https://github.com/IAIK","followers_url":"https://api.github.com/users/IAIK/followers","following_url":"https://api.github.com/users/IAIK/following{/other_user}","gists_url":"https://api.github.com/users/IAIK/gists{/gist_id}","starred_url":"https://api.github.com/users/IAIK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAIK/subscriptions","organizations_url":"https://api.github.com/users/IAIK/orgs","repos_url":"https://api.github.com/users/IAIK/repos","events_url":"https://api.github.com/users/IAIK/events{/privacy}","received_events_url":"https://api.github.com/users/IAIK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IAIK/sweb","description":"SWEB Educational OS","fork":false,"url":"https://api.github.com/repos/IAIK/sweb","forks_url":"https://api.github.com/repos/IAIK/sweb/forks","keys_url":"https://api.github.com/repos/IAIK/sweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IAIK/sweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IAIK/sweb/teams","hooks_url":"https://api.github.com/repos/IAIK/sweb/hooks","issue_events_url":"https://api.github.com/repos/IAIK/sweb/issues/events{/number}","events_url":"https://api.github.com/repos/IAIK/sweb/events","assignees_url":"https://api.github.com/repos/IAIK/sweb/assignees{/user}","branches_url":"https://api.github.com/repos/IAIK/sweb/branches{/branch}","tags_url":"https://api.github.com/repos/IAIK/sweb/tags","blobs_url":"https://api.github.com/repos/IAIK/sweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IAIK/sweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IAIK/sweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/IAIK/sweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IAIK/sweb/statuses/{sha}","languages_url":"https://api.github.com/repos/IAIK/sweb/languages","stargazers_url":"https://api.github.com/repos/IAIK/sweb/stargazers","contributors_url":"https://api.github.com/repos/IAIK/sweb/contributors","subscribers_url":"https://api.github.com/repos/IAIK/sweb/subscribers","subscription_url":"https://api.github.com/repos/IAIK/sweb/subscription","commits_url":"https://api.github.com/repos/IAIK/sweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/IAIK/sweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/IAIK/sweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/IAIK/sweb/issues/comments/{number}","contents_url":"https://api.github.com/repos/IAIK/sweb/contents/{+path}","compare_url":"https://api.github.com/repos/IAIK/sweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IAIK/sweb/merges","archive_url":"https://api.github.com/repos/IAIK/sweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IAIK/sweb/downloads","issues_url":"https://api.github.com/repos/IAIK/sweb/issues{/number}","pulls_url":"https://api.github.com/repos/IAIK/sweb/pulls{/number}","milestones_url":"https://api.github.com/repos/IAIK/sweb/milestones{/number}","notifications_url":"https://api.github.com/repos/IAIK/sweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IAIK/sweb/labels{/name}","releases_url":"https://api.github.com/repos/IAIK/sweb/releases{/id}","created_at":"2014-07-01T14:13:15Z","updated_at":"2015-01-27T08:45:50Z","pushed_at":"2015-01-27T08:45:50Z","git_url":"git://github.com/IAIK/sweb.git","ssh_url":"git@github.com:IAIK/sweb.git","clone_url":"https://github.com/IAIK/sweb.git","svn_url":"https://github.com/IAIK/sweb","homepage":"http://iaik.tugraz.at/content/teaching/bachelor_courses/betriebssysteme/","size":10422,"stargazers_count":9,"watchers_count":9,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IAIK/sweb/pulls/27"},"html":{"href":"https://github.com/IAIK/sweb/pull/27"},"issue":{"href":"https://api.github.com/repos/IAIK/sweb/issues/27"},"comments":{"href":"https://api.github.com/repos/IAIK/sweb/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/IAIK/sweb/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/IAIK/sweb/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/IAIK/sweb/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/IAIK/sweb/statuses/97046cf80205570c017ff823a5a5ed5d9280121f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":73,"deletions":0,"changed_files":2}}