{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/5","id":61272389,"html_url":"https://github.com/sprockets/sprockets.mixins.sentry/pull/5","diff_url":"https://github.com/sprockets/sprockets.mixins.sentry/pull/5.diff","patch_url":"https://github.com/sprockets/sprockets.mixins.sentry/pull/5.patch","issue_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/5","number":5,"state":"closed","locked":false,"title":"Add installation function","user":{"login":"dave-shawley","id":350812,"avatar_url":"https://avatars.githubusercontent.com/u/350812?v=3","gravatar_id":"","url":"https://api.github.com/users/dave-shawley","html_url":"https://github.com/dave-shawley","followers_url":"https://api.github.com/users/dave-shawley/followers","following_url":"https://api.github.com/users/dave-shawley/following{/other_user}","gists_url":"https://api.github.com/users/dave-shawley/gists{/gist_id}","starred_url":"https://api.github.com/users/dave-shawley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dave-shawley/subscriptions","organizations_url":"https://api.github.com/users/dave-shawley/orgs","repos_url":"https://api.github.com/users/dave-shawley/repos","events_url":"https://api.github.com/users/dave-shawley/events{/privacy}","received_events_url":"https://api.github.com/users/dave-shawley/received_events","type":"User","site_admin":false},"body":"This PR creates the `sprockets.mixins.sentry.install` function that should be used to install the sentry client into the Tornado application when the application is created.  This makes it possible for the application to [configure the client] appropriately.  Simply upgrading to this version will provide some added benefit since the `include_paths` and `exclude_paths` attributes are now [set to something more appropriate].  The real benefit comes from calling `sprockets.mixins.sentry.install` on your Tornado application and explicitly adding your application to the `include_paths` and including your `__version__` number:\r\n\r\n```python\r\ndef make_application():\r\n    app = web.Application([])\r\n    sentry.install(app, include_paths=[__name__], release=__version__)\r\n    return app\r\n```\r\n\r\n[configure the client]: https://docs.getsentry.com/hosted/clients/python/advanced/#configuring-the-client\r\n[something more appropriate]: https://github.com/sprockets/sprockets.mixins.sentry/blob/84735d3f1d79a29352ddabc1710d8db475d646f5/sprockets/mixins/sentry/__init__.py#L163-L175\r\n","created_at":"2016-03-01T16:52:21Z","updated_at":"2016-03-02T21:07:37Z","closed_at":"2016-03-02T21:07:37Z","merged_at":null,"merge_commit_sha":"e2addb6efcb6b782d30c1e072eafe90bb49141ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/5/commits","review_comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/5/comments","review_comment_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/5/comments","statuses_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/statuses/1427e6733f854d83af4087893626c6b91ad9f506","head":{"label":"sprockets:add-install","ref":"add-install","sha":"1427e6733f854d83af4087893626c6b91ad9f506","user":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"repo":{"id":35563947,"name":"sprockets.mixins.sentry","full_name":"sprockets/sprockets.mixins.sentry","owner":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprockets/sprockets.mixins.sentry","description":"A RequestHandler mixin for sending exceptions to Sentry","fork":false,"url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry","forks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/forks","keys_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/teams","hooks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/hooks","issue_events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/events{/number}","events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/events","assignees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/assignees{/user}","branches_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/branches{/branch}","tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/tags","blobs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/statuses/{sha}","languages_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/languages","stargazers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/stargazers","contributors_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/contributors","subscribers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/subscribers","subscription_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/subscription","commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/contents/{+path}","compare_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/merges","archive_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/downloads","issues_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues{/number}","pulls_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls{/number}","milestones_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/milestones{/number}","notifications_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/labels{/name}","releases_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/releases{/id}","deployments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/deployments","created_at":"2015-05-13T17:34:03Z","updated_at":"2016-02-29T18:49:26Z","pushed_at":"2016-03-01T16:52:21Z","git_url":"git://github.com/sprockets/sprockets.mixins.sentry.git","ssh_url":"git@github.com:sprockets/sprockets.mixins.sentry.git","clone_url":"https://github.com/sprockets/sprockets.mixins.sentry.git","svn_url":"https://github.com/sprockets/sprockets.mixins.sentry","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"sprockets:master","ref":"master","sha":"ad025bc82e084da36f338d8ccde0e177114b77db","user":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"repo":{"id":35563947,"name":"sprockets.mixins.sentry","full_name":"sprockets/sprockets.mixins.sentry","owner":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprockets/sprockets.mixins.sentry","description":"A RequestHandler mixin for sending exceptions to Sentry","fork":false,"url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry","forks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/forks","keys_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/teams","hooks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/hooks","issue_events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/events{/number}","events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/events","assignees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/assignees{/user}","branches_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/branches{/branch}","tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/tags","blobs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/statuses/{sha}","languages_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/languages","stargazers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/stargazers","contributors_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/contributors","subscribers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/subscribers","subscription_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/subscription","commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/contents/{+path}","compare_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/merges","archive_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/downloads","issues_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues{/number}","pulls_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls{/number}","milestones_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/milestones{/number}","notifications_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/labels{/name}","releases_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/releases{/id}","deployments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/deployments","created_at":"2015-05-13T17:34:03Z","updated_at":"2016-02-29T18:49:26Z","pushed_at":"2016-03-01T16:52:21Z","git_url":"git://github.com/sprockets/sprockets.mixins.sentry.git","ssh_url":"git@github.com:sprockets/sprockets.mixins.sentry.git","clone_url":"https://github.com/sprockets/sprockets.mixins.sentry.git","svn_url":"https://github.com/sprockets/sprockets.mixins.sentry","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/5"},"html":{"href":"https://github.com/sprockets/sprockets.mixins.sentry/pull/5"},"issue":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/5"},"comments":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.sentry/statuses/1427e6733f854d83af4087893626c6b91ad9f506"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":187,"deletions":17,"changed_files":6}}