{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/9","id":51519661,"html_url":"https://github.com/jandre/safe-commit-hook/pull/9","diff_url":"https://github.com/jandre/safe-commit-hook/pull/9.diff","patch_url":"https://github.com/jandre/safe-commit-hook/pull/9.patch","issue_url":"https://api.github.com/repos/jandre/safe-commit-hook/issues/9","number":9,"state":"closed","locked":false,"title":"Added whitelisting feature and bug fix","user":{"login":"zuBux","id":6114829,"avatar_url":"https://avatars.githubusercontent.com/u/6114829?v=3","gravatar_id":"","url":"https://api.github.com/users/zuBux","html_url":"https://github.com/zuBux","followers_url":"https://api.github.com/users/zuBux/followers","following_url":"https://api.github.com/users/zuBux/following{/other_user}","gists_url":"https://api.github.com/users/zuBux/gists{/gist_id}","starred_url":"https://api.github.com/users/zuBux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuBux/subscriptions","organizations_url":"https://api.github.com/users/zuBux/orgs","repos_url":"https://api.github.com/users/zuBux/repos","events_url":"https://api.github.com/users/zuBux/events{/privacy}","received_events_url":"https://api.github.com/users/zuBux/received_events","type":"User","site_admin":false},"body":"I added a project specific whitelisting feature. A user can define the files to be ignored by adding relative paths to a .git-safe-commit-ignore file (one path per line).\r\n\r\nFew changes to Python source according to PEP8.\r\n\r\nChanged \\z to \\Z in pattern file because \\z does not work in Python","created_at":"2015-11-23T12:56:11Z","updated_at":"2015-12-02T14:38:08Z","closed_at":"2015-12-02T14:38:08Z","merged_at":"2015-12-02T14:38:08Z","merge_commit_sha":"d7ca469fd76aba5454cf2eccdd80991fa24ca393","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/9/commits","review_comments_url":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/9/comments","review_comment_url":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jandre/safe-commit-hook/issues/9/comments","statuses_url":"https://api.github.com/repos/jandre/safe-commit-hook/statuses/7279c1895195a00fab295b2e5eac2fed6d393844","head":{"label":"zuBux:master","ref":"master","sha":"7279c1895195a00fab295b2e5eac2fed6d393844","user":{"login":"zuBux","id":6114829,"avatar_url":"https://avatars.githubusercontent.com/u/6114829?v=3","gravatar_id":"","url":"https://api.github.com/users/zuBux","html_url":"https://github.com/zuBux","followers_url":"https://api.github.com/users/zuBux/followers","following_url":"https://api.github.com/users/zuBux/following{/other_user}","gists_url":"https://api.github.com/users/zuBux/gists{/gist_id}","starred_url":"https://api.github.com/users/zuBux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuBux/subscriptions","organizations_url":"https://api.github.com/users/zuBux/orgs","repos_url":"https://api.github.com/users/zuBux/repos","events_url":"https://api.github.com/users/zuBux/events{/privacy}","received_events_url":"https://api.github.com/users/zuBux/received_events","type":"User","site_admin":false},"repo":{"id":46714726,"name":"safe-commit-hook","full_name":"zuBux/safe-commit-hook","owner":{"login":"zuBux","id":6114829,"avatar_url":"https://avatars.githubusercontent.com/u/6114829?v=3","gravatar_id":"","url":"https://api.github.com/users/zuBux","html_url":"https://github.com/zuBux","followers_url":"https://api.github.com/users/zuBux/followers","following_url":"https://api.github.com/users/zuBux/following{/other_user}","gists_url":"https://api.github.com/users/zuBux/gists{/gist_id}","starred_url":"https://api.github.com/users/zuBux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuBux/subscriptions","organizations_url":"https://api.github.com/users/zuBux/orgs","repos_url":"https://api.github.com/users/zuBux/repos","events_url":"https://api.github.com/users/zuBux/events{/privacy}","received_events_url":"https://api.github.com/users/zuBux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zuBux/safe-commit-hook","description":"pre-commit hook for Git that checks for suspicious files.","fork":true,"url":"https://api.github.com/repos/zuBux/safe-commit-hook","forks_url":"https://api.github.com/repos/zuBux/safe-commit-hook/forks","keys_url":"https://api.github.com/repos/zuBux/safe-commit-hook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zuBux/safe-commit-hook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zuBux/safe-commit-hook/teams","hooks_url":"https://api.github.com/repos/zuBux/safe-commit-hook/hooks","issue_events_url":"https://api.github.com/repos/zuBux/safe-commit-hook/issues/events{/number}","events_url":"https://api.github.com/repos/zuBux/safe-commit-hook/events","assignees_url":"https://api.github.com/repos/zuBux/safe-commit-hook/assignees{/user}","branches_url":"https://api.github.com/repos/zuBux/safe-commit-hook/branches{/branch}","tags_url":"https://api.github.com/repos/zuBux/safe-commit-hook/tags","blobs_url":"https://api.github.com/repos/zuBux/safe-commit-hook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zuBux/safe-commit-hook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zuBux/safe-commit-hook/git/refs{/sha}","trees_url":"https://api.github.com/repos/zuBux/safe-commit-hook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zuBux/safe-commit-hook/statuses/{sha}","languages_url":"https://api.github.com/repos/zuBux/safe-commit-hook/languages","stargazers_url":"https://api.github.com/repos/zuBux/safe-commit-hook/stargazers","contributors_url":"https://api.github.com/repos/zuBux/safe-commit-hook/contributors","subscribers_url":"https://api.github.com/repos/zuBux/safe-commit-hook/subscribers","subscription_url":"https://api.github.com/repos/zuBux/safe-commit-hook/subscription","commits_url":"https://api.github.com/repos/zuBux/safe-commit-hook/commits{/sha}","git_commits_url":"https://api.github.com/repos/zuBux/safe-commit-hook/git/commits{/sha}","comments_url":"https://api.github.com/repos/zuBux/safe-commit-hook/comments{/number}","issue_comment_url":"https://api.github.com/repos/zuBux/safe-commit-hook/issues/comments{/number}","contents_url":"https://api.github.com/repos/zuBux/safe-commit-hook/contents/{+path}","compare_url":"https://api.github.com/repos/zuBux/safe-commit-hook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zuBux/safe-commit-hook/merges","archive_url":"https://api.github.com/repos/zuBux/safe-commit-hook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zuBux/safe-commit-hook/downloads","issues_url":"https://api.github.com/repos/zuBux/safe-commit-hook/issues{/number}","pulls_url":"https://api.github.com/repos/zuBux/safe-commit-hook/pulls{/number}","milestones_url":"https://api.github.com/repos/zuBux/safe-commit-hook/milestones{/number}","notifications_url":"https://api.github.com/repos/zuBux/safe-commit-hook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zuBux/safe-commit-hook/labels{/name}","releases_url":"https://api.github.com/repos/zuBux/safe-commit-hook/releases{/id}","created_at":"2015-11-23T11:03:21Z","updated_at":"2015-11-23T11:03:21Z","pushed_at":"2015-12-02T13:25:51Z","git_url":"git://github.com/zuBux/safe-commit-hook.git","ssh_url":"git@github.com:zuBux/safe-commit-hook.git","clone_url":"https://github.com/zuBux/safe-commit-hook.git","svn_url":"https://github.com/zuBux/safe-commit-hook","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"jandre:master","ref":"master","sha":"96e861037a839dc36916e3a6665e528ea858cbcd","user":{"login":"jandre","id":211583,"avatar_url":"https://avatars.githubusercontent.com/u/211583?v=3","gravatar_id":"","url":"https://api.github.com/users/jandre","html_url":"https://github.com/jandre","followers_url":"https://api.github.com/users/jandre/followers","following_url":"https://api.github.com/users/jandre/following{/other_user}","gists_url":"https://api.github.com/users/jandre/gists{/gist_id}","starred_url":"https://api.github.com/users/jandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandre/subscriptions","organizations_url":"https://api.github.com/users/jandre/orgs","repos_url":"https://api.github.com/users/jandre/repos","events_url":"https://api.github.com/users/jandre/events{/privacy}","received_events_url":"https://api.github.com/users/jandre/received_events","type":"User","site_admin":false},"repo":{"id":43474566,"name":"safe-commit-hook","full_name":"jandre/safe-commit-hook","owner":{"login":"jandre","id":211583,"avatar_url":"https://avatars.githubusercontent.com/u/211583?v=3","gravatar_id":"","url":"https://api.github.com/users/jandre","html_url":"https://github.com/jandre","followers_url":"https://api.github.com/users/jandre/followers","following_url":"https://api.github.com/users/jandre/following{/other_user}","gists_url":"https://api.github.com/users/jandre/gists{/gist_id}","starred_url":"https://api.github.com/users/jandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandre/subscriptions","organizations_url":"https://api.github.com/users/jandre/orgs","repos_url":"https://api.github.com/users/jandre/repos","events_url":"https://api.github.com/users/jandre/events{/privacy}","received_events_url":"https://api.github.com/users/jandre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jandre/safe-commit-hook","description":"pre-commit hook for Git that checks for suspicious files.","fork":false,"url":"https://api.github.com/repos/jandre/safe-commit-hook","forks_url":"https://api.github.com/repos/jandre/safe-commit-hook/forks","keys_url":"https://api.github.com/repos/jandre/safe-commit-hook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jandre/safe-commit-hook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jandre/safe-commit-hook/teams","hooks_url":"https://api.github.com/repos/jandre/safe-commit-hook/hooks","issue_events_url":"https://api.github.com/repos/jandre/safe-commit-hook/issues/events{/number}","events_url":"https://api.github.com/repos/jandre/safe-commit-hook/events","assignees_url":"https://api.github.com/repos/jandre/safe-commit-hook/assignees{/user}","branches_url":"https://api.github.com/repos/jandre/safe-commit-hook/branches{/branch}","tags_url":"https://api.github.com/repos/jandre/safe-commit-hook/tags","blobs_url":"https://api.github.com/repos/jandre/safe-commit-hook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jandre/safe-commit-hook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jandre/safe-commit-hook/git/refs{/sha}","trees_url":"https://api.github.com/repos/jandre/safe-commit-hook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jandre/safe-commit-hook/statuses/{sha}","languages_url":"https://api.github.com/repos/jandre/safe-commit-hook/languages","stargazers_url":"https://api.github.com/repos/jandre/safe-commit-hook/stargazers","contributors_url":"https://api.github.com/repos/jandre/safe-commit-hook/contributors","subscribers_url":"https://api.github.com/repos/jandre/safe-commit-hook/subscribers","subscription_url":"https://api.github.com/repos/jandre/safe-commit-hook/subscription","commits_url":"https://api.github.com/repos/jandre/safe-commit-hook/commits{/sha}","git_commits_url":"https://api.github.com/repos/jandre/safe-commit-hook/git/commits{/sha}","comments_url":"https://api.github.com/repos/jandre/safe-commit-hook/comments{/number}","issue_comment_url":"https://api.github.com/repos/jandre/safe-commit-hook/issues/comments{/number}","contents_url":"https://api.github.com/repos/jandre/safe-commit-hook/contents/{+path}","compare_url":"https://api.github.com/repos/jandre/safe-commit-hook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jandre/safe-commit-hook/merges","archive_url":"https://api.github.com/repos/jandre/safe-commit-hook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jandre/safe-commit-hook/downloads","issues_url":"https://api.github.com/repos/jandre/safe-commit-hook/issues{/number}","pulls_url":"https://api.github.com/repos/jandre/safe-commit-hook/pulls{/number}","milestones_url":"https://api.github.com/repos/jandre/safe-commit-hook/milestones{/number}","notifications_url":"https://api.github.com/repos/jandre/safe-commit-hook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jandre/safe-commit-hook/labels{/name}","releases_url":"https://api.github.com/repos/jandre/safe-commit-hook/releases{/id}","created_at":"2015-10-01T02:31:48Z","updated_at":"2015-11-30T18:59:55Z","pushed_at":"2015-12-02T14:38:08Z","git_url":"git://github.com/jandre/safe-commit-hook.git","ssh_url":"git@github.com:jandre/safe-commit-hook.git","clone_url":"https://github.com/jandre/safe-commit-hook.git","svn_url":"https://github.com/jandre/safe-commit-hook","homepage":null,"size":160,"stargazers_count":273,"watchers_count":273,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":3,"forks":12,"open_issues":3,"watchers":273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/9"},"html":{"href":"https://github.com/jandre/safe-commit-hook/pull/9"},"issue":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/issues/9"},"comments":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/jandre/safe-commit-hook/statuses/7279c1895195a00fab295b2e5eac2fed6d393844"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jandre","id":211583,"avatar_url":"https://avatars.githubusercontent.com/u/211583?v=3","gravatar_id":"","url":"https://api.github.com/users/jandre","html_url":"https://github.com/jandre","followers_url":"https://api.github.com/users/jandre/followers","following_url":"https://api.github.com/users/jandre/following{/other_user}","gists_url":"https://api.github.com/users/jandre/gists{/gist_id}","starred_url":"https://api.github.com/users/jandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandre/subscriptions","organizations_url":"https://api.github.com/users/jandre/orgs","repos_url":"https://api.github.com/users/jandre/repos","events_url":"https://api.github.com/users/jandre/events{/privacy}","received_events_url":"https://api.github.com/users/jandre/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":78,"deletions":46,"changed_files":2}}