{"action":"closed","number":66,"pull_request":{"url":"https://api.github.com/repos/gisce/hookshub/pulls/66","id":124153970,"html_url":"https://github.com/gisce/hookshub/pull/66","diff_url":"https://github.com/gisce/hookshub/pull/66.diff","patch_url":"https://github.com/gisce/hookshub/pull/66.patch","issue_url":"https://api.github.com/repos/gisce/hookshub/issues/66","number":66,"state":"closed","locked":false,"title":"Move utils outside hooks utils","user":{"login":"jaumef","id":19925414,"avatar_url":"https://avatars0.githubusercontent.com/u/19925414?v=4","gravatar_id":"","url":"https://api.github.com/users/jaumef","html_url":"https://github.com/jaumef","followers_url":"https://api.github.com/users/jaumef/followers","following_url":"https://api.github.com/users/jaumef/following{/other_user}","gists_url":"https://api.github.com/users/jaumef/gists{/gist_id}","starred_url":"https://api.github.com/users/jaumef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaumef/subscriptions","organizations_url":"https://api.github.com/users/jaumef/orgs","repos_url":"https://api.github.com/users/jaumef/repos","events_url":"https://api.github.com/users/jaumef/events{/privacy}","received_events_url":"https://api.github.com/users/jaumef/received_events","type":"User","site_admin":false},"body":"Closes #67 \r\nCloses #36 \r\n\r\nMoved utils methods outside github/gitlab utils class as they don't belong there...\r\n\r\nPending work:\r\n- [x] Update Readme\r\n- [x] Remove all hooks from hooks dir\r\n- [x] Import hooks using entry points\r\n- [x] ~Replace hooks execution using method run~ → Merge hooks and actions execution methods\r\n\r\n* **POSSIBLE MEMORY LEAK**: Using \"iter_entry_points\" will load existing plugins.\r\n  * Using \"set\" may remove unupdated hooks, but old and new one will still be loaded instead of updated\r\n  →Removing the \"reload hooks\" option, so no hot patches will be applied preventing recursive increase of memory.\r\n  → Finally solved: Using working set may contain only one instance of each entry_point. But it has to be reimported to update the entry points.","created_at":"2017-06-06T10:08:46Z","updated_at":"2017-11-16T15:37:34Z","closed_at":"2017-11-16T15:37:34Z","merged_at":"2017-11-16T15:37:34Z","merge_commit_sha":"a81cc3c72d5f030182dc0fb4e656528957fdddcc","assignee":{"login":"jaumef","id":19925414,"avatar_url":"https://avatars0.githubusercontent.com/u/19925414?v=4","gravatar_id":"","url":"https://api.github.com/users/jaumef","html_url":"https://github.com/jaumef","followers_url":"https://api.github.com/users/jaumef/followers","following_url":"https://api.github.com/users/jaumef/following{/other_user}","gists_url":"https://api.github.com/users/jaumef/gists{/gist_id}","starred_url":"https://api.github.com/users/jaumef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaumef/subscriptions","organizations_url":"https://api.github.com/users/jaumef/orgs","repos_url":"https://api.github.com/users/jaumef/repos","events_url":"https://api.github.com/users/jaumef/events{/privacy}","received_events_url":"https://api.github.com/users/jaumef/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaumef","id":19925414,"avatar_url":"https://avatars0.githubusercontent.com/u/19925414?v=4","gravatar_id":"","url":"https://api.github.com/users/jaumef","html_url":"https://github.com/jaumef","followers_url":"https://api.github.com/users/jaumef/followers","following_url":"https://api.github.com/users/jaumef/following{/other_user}","gists_url":"https://api.github.com/users/jaumef/gists{/gist_id}","starred_url":"https://api.github.com/users/jaumef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaumef/subscriptions","organizations_url":"https://api.github.com/users/jaumef/orgs","repos_url":"https://api.github.com/users/jaumef/repos","events_url":"https://api.github.com/users/jaumef/events{/privacy}","received_events_url":"https://api.github.com/users/jaumef/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ecarreras","id":294235,"avatar_url":"https://avatars0.githubusercontent.com/u/294235?v=4","gravatar_id":"","url":"https://api.github.com/users/ecarreras","html_url":"https://github.com/ecarreras","followers_url":"https://api.github.com/users/ecarreras/followers","following_url":"https://api.github.com/users/ecarreras/following{/other_user}","gists_url":"https://api.github.com/users/ecarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/ecarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecarreras/subscriptions","organizations_url":"https://api.github.com/users/ecarreras/orgs","repos_url":"https://api.github.com/users/ecarreras/repos","events_url":"https://api.github.com/users/ecarreras/events{/privacy}","received_events_url":"https://api.github.com/users/ecarreras/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gisce/hookshub/pulls/66/commits","review_comments_url":"https://api.github.com/repos/gisce/hookshub/pulls/66/comments","review_comment_url":"https://api.github.com/repos/gisce/hookshub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gisce/hookshub/issues/66/comments","statuses_url":"https://api.github.com/repos/gisce/hookshub/statuses/9176b1b1d316738599e16d05d21da055a95695df","head":{"label":"gisce:move_utils_outside_hooks_utils","ref":"move_utils_outside_hooks_utils","sha":"9176b1b1d316738599e16d05d21da055a95695df","user":{"login":"gisce","id":531634,"avatar_url":"https://avatars0.githubusercontent.com/u/531634?v=4","gravatar_id":"","url":"https://api.github.com/users/gisce","html_url":"https://github.com/gisce","followers_url":"https://api.github.com/users/gisce/followers","following_url":"https://api.github.com/users/gisce/following{/other_user}","gists_url":"https://api.github.com/users/gisce/gists{/gist_id}","starred_url":"https://api.github.com/users/gisce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisce/subscriptions","organizations_url":"https://api.github.com/users/gisce/orgs","repos_url":"https://api.github.com/users/gisce/repos","events_url":"https://api.github.com/users/gisce/events{/privacy}","received_events_url":"https://api.github.com/users/gisce/received_events","type":"Organization","site_admin":false},"repo":{"id":66067542,"name":"hookshub","full_name":"gisce/hookshub","owner":{"login":"gisce","id":531634,"avatar_url":"https://avatars0.githubusercontent.com/u/531634?v=4","gravatar_id":"","url":"https://api.github.com/users/gisce","html_url":"https://github.com/gisce","followers_url":"https://api.github.com/users/gisce/followers","following_url":"https://api.github.com/users/gisce/following{/other_user}","gists_url":"https://api.github.com/users/gisce/gists{/gist_id}","starred_url":"https://api.github.com/users/gisce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisce/subscriptions","organizations_url":"https://api.github.com/users/gisce/orgs","repos_url":"https://api.github.com/users/gisce/repos","events_url":"https://api.github.com/users/gisce/events{/privacy}","received_events_url":"https://api.github.com/users/gisce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gisce/hookshub","description":"Our hooks for github","fork":false,"url":"https://api.github.com/repos/gisce/hookshub","forks_url":"https://api.github.com/repos/gisce/hookshub/forks","keys_url":"https://api.github.com/repos/gisce/hookshub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gisce/hookshub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gisce/hookshub/teams","hooks_url":"https://api.github.com/repos/gisce/hookshub/hooks","issue_events_url":"https://api.github.com/repos/gisce/hookshub/issues/events{/number}","events_url":"https://api.github.com/repos/gisce/hookshub/events","assignees_url":"https://api.github.com/repos/gisce/hookshub/assignees{/user}","branches_url":"https://api.github.com/repos/gisce/hookshub/branches{/branch}","tags_url":"https://api.github.com/repos/gisce/hookshub/tags","blobs_url":"https://api.github.com/repos/gisce/hookshub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gisce/hookshub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gisce/hookshub/git/refs{/sha}","trees_url":"https://api.github.com/repos/gisce/hookshub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gisce/hookshub/statuses/{sha}","languages_url":"https://api.github.com/repos/gisce/hookshub/languages","stargazers_url":"https://api.github.com/repos/gisce/hookshub/stargazers","contributors_url":"https://api.github.com/repos/gisce/hookshub/contributors","subscribers_url":"https://api.github.com/repos/gisce/hookshub/subscribers","subscription_url":"https://api.github.com/repos/gisce/hookshub/subscription","commits_url":"https://api.github.com/repos/gisce/hookshub/commits{/sha}","git_commits_url":"https://api.github.com/repos/gisce/hookshub/git/commits{/sha}","comments_url":"https://api.github.com/repos/gisce/hookshub/comments{/number}","issue_comment_url":"https://api.github.com/repos/gisce/hookshub/issues/comments{/number}","contents_url":"https://api.github.com/repos/gisce/hookshub/contents/{+path}","compare_url":"https://api.github.com/repos/gisce/hookshub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gisce/hookshub/merges","archive_url":"https://api.github.com/repos/gisce/hookshub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gisce/hookshub/downloads","issues_url":"https://api.github.com/repos/gisce/hookshub/issues{/number}","pulls_url":"https://api.github.com/repos/gisce/hookshub/pulls{/number}","milestones_url":"https://api.github.com/repos/gisce/hookshub/milestones{/number}","notifications_url":"https://api.github.com/repos/gisce/hookshub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gisce/hookshub/labels{/name}","releases_url":"https://api.github.com/repos/gisce/hookshub/releases{/id}","deployments_url":"https://api.github.com/repos/gisce/hookshub/deployments","created_at":"2016-08-19T08:45:00Z","updated_at":"2016-11-25T08:21:21Z","pushed_at":"2017-11-16T15:37:34Z","git_url":"git://github.com/gisce/hookshub.git","ssh_url":"git@github.com:gisce/hookshub.git","clone_url":"https://github.com/gisce/hookshub.git","svn_url":"https://github.com/gisce/hookshub","homepage":null,"size":503,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"gisce:master","ref":"master","sha":"7cdf71fb86ff5dfd4e32f5634fd8bbda97b03410","user":{"login":"gisce","id":531634,"avatar_url":"https://avatars0.githubusercontent.com/u/531634?v=4","gravatar_id":"","url":"https://api.github.com/users/gisce","html_url":"https://github.com/gisce","followers_url":"https://api.github.com/users/gisce/followers","following_url":"https://api.github.com/users/gisce/following{/other_user}","gists_url":"https://api.github.com/users/gisce/gists{/gist_id}","starred_url":"https://api.github.com/users/gisce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisce/subscriptions","organizations_url":"https://api.github.com/users/gisce/orgs","repos_url":"https://api.github.com/users/gisce/repos","events_url":"https://api.github.com/users/gisce/events{/privacy}","received_events_url":"https://api.github.com/users/gisce/received_events","type":"Organization","site_admin":false},"repo":{"id":66067542,"name":"hookshub","full_name":"gisce/hookshub","owner":{"login":"gisce","id":531634,"avatar_url":"https://avatars0.githubusercontent.com/u/531634?v=4","gravatar_id":"","url":"https://api.github.com/users/gisce","html_url":"https://github.com/gisce","followers_url":"https://api.github.com/users/gisce/followers","following_url":"https://api.github.com/users/gisce/following{/other_user}","gists_url":"https://api.github.com/users/gisce/gists{/gist_id}","starred_url":"https://api.github.com/users/gisce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisce/subscriptions","organizations_url":"https://api.github.com/users/gisce/orgs","repos_url":"https://api.github.com/users/gisce/repos","events_url":"https://api.github.com/users/gisce/events{/privacy}","received_events_url":"https://api.github.com/users/gisce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gisce/hookshub","description":"Our hooks for github","fork":false,"url":"https://api.github.com/repos/gisce/hookshub","forks_url":"https://api.github.com/repos/gisce/hookshub/forks","keys_url":"https://api.github.com/repos/gisce/hookshub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gisce/hookshub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gisce/hookshub/teams","hooks_url":"https://api.github.com/repos/gisce/hookshub/hooks","issue_events_url":"https://api.github.com/repos/gisce/hookshub/issues/events{/number}","events_url":"https://api.github.com/repos/gisce/hookshub/events","assignees_url":"https://api.github.com/repos/gisce/hookshub/assignees{/user}","branches_url":"https://api.github.com/repos/gisce/hookshub/branches{/branch}","tags_url":"https://api.github.com/repos/gisce/hookshub/tags","blobs_url":"https://api.github.com/repos/gisce/hookshub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gisce/hookshub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gisce/hookshub/git/refs{/sha}","trees_url":"https://api.github.com/repos/gisce/hookshub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gisce/hookshub/statuses/{sha}","languages_url":"https://api.github.com/repos/gisce/hookshub/languages","stargazers_url":"https://api.github.com/repos/gisce/hookshub/stargazers","contributors_url":"https://api.github.com/repos/gisce/hookshub/contributors","subscribers_url":"https://api.github.com/repos/gisce/hookshub/subscribers","subscription_url":"https://api.github.com/repos/gisce/hookshub/subscription","commits_url":"https://api.github.com/repos/gisce/hookshub/commits{/sha}","git_commits_url":"https://api.github.com/repos/gisce/hookshub/git/commits{/sha}","comments_url":"https://api.github.com/repos/gisce/hookshub/comments{/number}","issue_comment_url":"https://api.github.com/repos/gisce/hookshub/issues/comments{/number}","contents_url":"https://api.github.com/repos/gisce/hookshub/contents/{+path}","compare_url":"https://api.github.com/repos/gisce/hookshub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gisce/hookshub/merges","archive_url":"https://api.github.com/repos/gisce/hookshub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gisce/hookshub/downloads","issues_url":"https://api.github.com/repos/gisce/hookshub/issues{/number}","pulls_url":"https://api.github.com/repos/gisce/hookshub/pulls{/number}","milestones_url":"https://api.github.com/repos/gisce/hookshub/milestones{/number}","notifications_url":"https://api.github.com/repos/gisce/hookshub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gisce/hookshub/labels{/name}","releases_url":"https://api.github.com/repos/gisce/hookshub/releases{/id}","deployments_url":"https://api.github.com/repos/gisce/hookshub/deployments","created_at":"2016-08-19T08:45:00Z","updated_at":"2016-11-25T08:21:21Z","pushed_at":"2017-11-16T15:37:34Z","git_url":"git://github.com/gisce/hookshub.git","ssh_url":"git@github.com:gisce/hookshub.git","clone_url":"https://github.com/gisce/hookshub.git","svn_url":"https://github.com/gisce/hookshub","homepage":null,"size":503,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gisce/hookshub/pulls/66"},"html":{"href":"https://github.com/gisce/hookshub/pull/66"},"issue":{"href":"https://api.github.com/repos/gisce/hookshub/issues/66"},"comments":{"href":"https://api.github.com/repos/gisce/hookshub/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/gisce/hookshub/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/gisce/hookshub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gisce/hookshub/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/gisce/hookshub/statuses/9176b1b1d316738599e16d05d21da055a95695df"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jaumef","id":19925414,"avatar_url":"https://avatars0.githubusercontent.com/u/19925414?v=4","gravatar_id":"","url":"https://api.github.com/users/jaumef","html_url":"https://github.com/jaumef","followers_url":"https://api.github.com/users/jaumef/followers","following_url":"https://api.github.com/users/jaumef/following{/other_user}","gists_url":"https://api.github.com/users/jaumef/gists{/gist_id}","starred_url":"https://api.github.com/users/jaumef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaumef/subscriptions","organizations_url":"https://api.github.com/users/jaumef/orgs","repos_url":"https://api.github.com/users/jaumef/repos","events_url":"https://api.github.com/users/jaumef/events{/privacy}","received_events_url":"https://api.github.com/users/jaumef/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":130,"additions":1359,"deletions":1342,"changed_files":29}}
{"actor":{"display_login":"jaumef"}}