{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/finagle/finagle-postgres/pulls/24","id":75748146,"html_url":"https://github.com/finagle/finagle-postgres/pull/24","diff_url":"https://github.com/finagle/finagle-postgres/pull/24.diff","patch_url":"https://github.com/finagle/finagle-postgres/pull/24.patch","issue_url":"https://api.github.com/repos/finagle/finagle-postgres/issues/24","number":24,"state":"open","locked":false,"title":"Add transactions","user":{"login":"jeremyrsmith","id":864869,"avatar_url":"https://avatars.githubusercontent.com/u/864869?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyrsmith","html_url":"https://github.com/jeremyrsmith","followers_url":"https://api.github.com/users/jeremyrsmith/followers","following_url":"https://api.github.com/users/jeremyrsmith/following{/other_user}","gists_url":"https://api.github.com/users/jeremyrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyrsmith/subscriptions","organizations_url":"https://api.github.com/users/jeremyrsmith/orgs","repos_url":"https://api.github.com/users/jeremyrsmith/repos","events_url":"https://api.github.com/users/jeremyrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyrsmith/received_events","type":"User","site_admin":false},"body":"This introduces a method `Client#inTransaction`, which accepts a function from `Client` to `Future[T]`.  The operations on the passed `Client` will be executed on a new `Client` with a single connection (created with `ServiceFactory.const`).  If the resulting future is successful, the transaction will be committed; if it fails, the transaction will be rolled back.  The temporary single-connection client is then closed.","created_at":"2016-06-30T01:36:17Z","updated_at":"2016-06-30T01:36:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2581ce845a6eddd90dca7210cf496101efd64b09","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/finagle/finagle-postgres/pulls/24/commits","review_comments_url":"https://api.github.com/repos/finagle/finagle-postgres/pulls/24/comments","review_comment_url":"https://api.github.com/repos/finagle/finagle-postgres/pulls/comments{/number}","comments_url":"https://api.github.com/repos/finagle/finagle-postgres/issues/24/comments","statuses_url":"https://api.github.com/repos/finagle/finagle-postgres/statuses/488f1d29ad6cdb07b781059a726d7d0e272e5bd9","head":{"label":"jeremyrsmith:add-transactions","ref":"add-transactions","sha":"488f1d29ad6cdb07b781059a726d7d0e272e5bd9","user":{"login":"jeremyrsmith","id":864869,"avatar_url":"https://avatars.githubusercontent.com/u/864869?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyrsmith","html_url":"https://github.com/jeremyrsmith","followers_url":"https://api.github.com/users/jeremyrsmith/followers","following_url":"https://api.github.com/users/jeremyrsmith/following{/other_user}","gists_url":"https://api.github.com/users/jeremyrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyrsmith/subscriptions","organizations_url":"https://api.github.com/users/jeremyrsmith/orgs","repos_url":"https://api.github.com/users/jeremyrsmith/repos","events_url":"https://api.github.com/users/jeremyrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyrsmith/received_events","type":"User","site_admin":false},"repo":{"id":34926440,"name":"finagle-postgres","full_name":"jeremyrsmith/finagle-postgres","owner":{"login":"jeremyrsmith","id":864869,"avatar_url":"https://avatars.githubusercontent.com/u/864869?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyrsmith","html_url":"https://github.com/jeremyrsmith","followers_url":"https://api.github.com/users/jeremyrsmith/followers","following_url":"https://api.github.com/users/jeremyrsmith/following{/other_user}","gists_url":"https://api.github.com/users/jeremyrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyrsmith/subscriptions","organizations_url":"https://api.github.com/users/jeremyrsmith/orgs","repos_url":"https://api.github.com/users/jeremyrsmith/repos","events_url":"https://api.github.com/users/jeremyrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyrsmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremyrsmith/finagle-postgres","description":"PostgreSQL protocol support for Finagle","fork":true,"url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres","forks_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/forks","keys_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/teams","hooks_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/hooks","issue_events_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/events","assignees_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/tags","blobs_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/languages","stargazers_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/stargazers","contributors_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/contributors","subscribers_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/subscribers","subscription_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/subscription","commits_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/merges","archive_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/downloads","issues_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/labels{/name}","releases_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/releases{/id}","deployments_url":"https://api.github.com/repos/jeremyrsmith/finagle-postgres/deployments","created_at":"2015-05-01T22:12:38Z","updated_at":"2015-05-21T17:22:23Z","pushed_at":"2016-06-30T01:35:58Z","git_url":"git://github.com/jeremyrsmith/finagle-postgres.git","ssh_url":"git@github.com:jeremyrsmith/finagle-postgres.git","clone_url":"https://github.com/jeremyrsmith/finagle-postgres.git","svn_url":"https://github.com/jeremyrsmith/finagle-postgres","homepage":null,"size":236,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"finagle:master","ref":"master","sha":"f2bac3d55c2d2fc76f7d400f42c93e7844eebf21","user":{"login":"finagle","id":7944306,"avatar_url":"https://avatars.githubusercontent.com/u/7944306?v=3","gravatar_id":"","url":"https://api.github.com/users/finagle","html_url":"https://github.com/finagle","followers_url":"https://api.github.com/users/finagle/followers","following_url":"https://api.github.com/users/finagle/following{/other_user}","gists_url":"https://api.github.com/users/finagle/gists{/gist_id}","starred_url":"https://api.github.com/users/finagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finagle/subscriptions","organizations_url":"https://api.github.com/users/finagle/orgs","repos_url":"https://api.github.com/users/finagle/repos","events_url":"https://api.github.com/users/finagle/events{/privacy}","received_events_url":"https://api.github.com/users/finagle/received_events","type":"Organization","site_admin":false},"repo":{"id":31966861,"name":"finagle-postgres","full_name":"finagle/finagle-postgres","owner":{"login":"finagle","id":7944306,"avatar_url":"https://avatars.githubusercontent.com/u/7944306?v=3","gravatar_id":"","url":"https://api.github.com/users/finagle","html_url":"https://github.com/finagle","followers_url":"https://api.github.com/users/finagle/followers","following_url":"https://api.github.com/users/finagle/following{/other_user}","gists_url":"https://api.github.com/users/finagle/gists{/gist_id}","starred_url":"https://api.github.com/users/finagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finagle/subscriptions","organizations_url":"https://api.github.com/users/finagle/orgs","repos_url":"https://api.github.com/users/finagle/repos","events_url":"https://api.github.com/users/finagle/events{/privacy}","received_events_url":"https://api.github.com/users/finagle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finagle/finagle-postgres","description":"PostgreSQL protocol support for Finagle","fork":false,"url":"https://api.github.com/repos/finagle/finagle-postgres","forks_url":"https://api.github.com/repos/finagle/finagle-postgres/forks","keys_url":"https://api.github.com/repos/finagle/finagle-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finagle/finagle-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finagle/finagle-postgres/teams","hooks_url":"https://api.github.com/repos/finagle/finagle-postgres/hooks","issue_events_url":"https://api.github.com/repos/finagle/finagle-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/finagle/finagle-postgres/events","assignees_url":"https://api.github.com/repos/finagle/finagle-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/finagle/finagle-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/finagle/finagle-postgres/tags","blobs_url":"https://api.github.com/repos/finagle/finagle-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finagle/finagle-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finagle/finagle-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/finagle/finagle-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finagle/finagle-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/finagle/finagle-postgres/languages","stargazers_url":"https://api.github.com/repos/finagle/finagle-postgres/stargazers","contributors_url":"https://api.github.com/repos/finagle/finagle-postgres/contributors","subscribers_url":"https://api.github.com/repos/finagle/finagle-postgres/subscribers","subscription_url":"https://api.github.com/repos/finagle/finagle-postgres/subscription","commits_url":"https://api.github.com/repos/finagle/finagle-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/finagle/finagle-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/finagle/finagle-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/finagle/finagle-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/finagle/finagle-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/finagle/finagle-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finagle/finagle-postgres/merges","archive_url":"https://api.github.com/repos/finagle/finagle-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finagle/finagle-postgres/downloads","issues_url":"https://api.github.com/repos/finagle/finagle-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/finagle/finagle-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/finagle/finagle-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/finagle/finagle-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finagle/finagle-postgres/labels{/name}","releases_url":"https://api.github.com/repos/finagle/finagle-postgres/releases{/id}","deployments_url":"https://api.github.com/repos/finagle/finagle-postgres/deployments","created_at":"2015-03-10T16:01:08Z","updated_at":"2016-06-20T04:49:50Z","pushed_at":"2016-06-30T01:36:17Z","git_url":"git://github.com/finagle/finagle-postgres.git","ssh_url":"git@github.com:finagle/finagle-postgres.git","clone_url":"https://github.com/finagle/finagle-postgres.git","svn_url":"https://github.com/finagle/finagle-postgres","homepage":null,"size":249,"stargazers_count":26,"watchers_count":26,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/finagle/finagle-postgres/pulls/24"},"html":{"href":"https://github.com/finagle/finagle-postgres/pull/24"},"issue":{"href":"https://api.github.com/repos/finagle/finagle-postgres/issues/24"},"comments":{"href":"https://api.github.com/repos/finagle/finagle-postgres/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/finagle/finagle-postgres/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/finagle/finagle-postgres/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/finagle/finagle-postgres/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/finagle/finagle-postgres/statuses/488f1d29ad6cdb07b781059a726d7d0e272e5bd9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":83,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"jeremyrsmith"}}