{"action":"created","issue":{"url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/issues/125","labels_url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/issues/125/comments","events_url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/issues/125/events","html_url":"https://github.com/plone/plone.recipe.codeanalysis/pull/125","id":79353548,"number":125,"title":"Create hooks folder if it doesn't exist","user":{"login":"gforcada","id":1155680,"avatar_url":"https://avatars.githubusercontent.com/u/1155680?v=3","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T08:32:08Z","updated_at":"2015-05-22T08:35:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/pulls/125","html_url":"https://github.com/plone/plone.recipe.codeanalysis/pull/125","diff_url":"https://github.com/plone/plone.recipe.codeanalysis/pull/125.diff","patch_url":"https://github.com/plone/plone.recipe.codeanalysis/pull/125.patch"},"body":"When trying to install the pre-commit hook,\r\nin some rare scenarios there may be a .git folder but not a hooks\r\nfolder within it.\r\n\r\nThis commit handles this scenario: if there is a .git folder but\r\nno hooks folder within, just create it and continue.\r\n\r\nThis fixes:\r\nhttps://github.com/plone/plone.recipe.codeanalysis/issues/124"},"comment":{"url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/issues/comments/104571035","html_url":"https://github.com/plone/plone.recipe.codeanalysis/pull/125#issuecomment-104571035","issue_url":"https://api.github.com/repos/plone/plone.recipe.codeanalysis/issues/125","id":104571035,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T08:35:23Z","updated_at":"2015-05-22T08:35:23Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2625859/badge)](https://coveralls.io/builds/2625859)\n\nCoverage decreased (-0.29%) to 89.48% when pulling **35cbf364629eadb633eb2e64fd5a695cba952105 on create-hook-folder** into **dbbfcd752d7d5055c37097d7e5bf091499cfd550 on master**.\n"}}