{"action":"created","comment":{"url":"https://api.github.com/repos/liqd/aula/pulls/comments/58824935","id":58824935,"diff_hunk":"@@ -2,22 +2,29 @@\n \n {-# OPTIONS_GHC -Wall -Werror #-}\n \n-module Persistent.Implementation (mkRunPersist, withPersist)\n+module Persistent.Implementation (mkRunPersist, withPersist, withPersist')\n where\n \n-import Control.Lens\n import Config\n+import Control.Exception (finally)\n+import Control.Lens\n+import Data.Monoid\n import Persistent.Api","path":"src/Persistent/Implementation.hs","position":13,"original_position":13,"commit_id":"58fd5bd2cecefd901b6f7a3b1d0af40eaba0690e","original_commit_id":"58fd5bd2cecefd901b6f7a3b1d0af40eaba0690e","user":{"login":"andorp","id":3465327,"avatar_url":"https://avatars.githubusercontent.com/u/3465327?v=3","gravatar_id":"","url":"https://api.github.com/users/andorp","html_url":"https://github.com/andorp","followers_url":"https://api.github.com/users/andorp/followers","following_url":"https://api.github.com/users/andorp/following{/other_user}","gists_url":"https://api.github.com/users/andorp/gists{/gist_id}","starred_url":"https://api.github.com/users/andorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andorp/subscriptions","organizations_url":"https://api.github.com/users/andorp/orgs","repos_url":"https://api.github.com/users/andorp/repos","events_url":"https://api.github.com/users/andorp/events{/privacy}","received_events_url":"https://api.github.com/users/andorp/received_events","type":"User","site_admin":false},"body":"Ignore this. It is still there, just reduced greatly.","created_at":"2016-04-07T06:38:54Z","updated_at":"2016-04-07T06:38:54Z","html_url":"https://github.com/liqd/aula/pull/340#discussion_r58824935","pull_request_url":"https://api.github.com/repos/liqd/aula/pulls/340","_links":{"self":{"href":"https://api.github.com/repos/liqd/aula/pulls/comments/58824935"},"html":{"href":"https://github.com/liqd/aula/pull/340#discussion_r58824935"},"pull_request":{"href":"https://api.github.com/repos/liqd/aula/pulls/340"}}},"pull_request":{"url":"https://api.github.com/repos/liqd/aula/pulls/340","id":65531976,"html_url":"https://github.com/liqd/aula/pull/340","diff_url":"https://github.com/liqd/aula/pull/340.diff","patch_url":"https://github.com/liqd/aula/pull/340.patch","issue_url":"https://api.github.com/repos/liqd/aula/issues/340","number":340,"state":"open","locked":false,"title":"Epic acid-state refactoring.","user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"body":"Unsquashed version of this commit: https://github.com/liqd/aula/pull/333","created_at":"2016-04-06T20:37:12Z","updated_at":"2016-04-07T06:38:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aae1fbfcd1a66bd3d5390a0a910ff965667870a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/liqd/aula/pulls/340/commits","review_comments_url":"https://api.github.com/repos/liqd/aula/pulls/340/comments","review_comment_url":"https://api.github.com/repos/liqd/aula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/liqd/aula/issues/340/comments","statuses_url":"https://api.github.com/repos/liqd/aula/statuses/58fd5bd2cecefd901b6f7a3b1d0af40eaba0690e","head":{"label":"liqd:2016-04-03-mf-acid-state-traditional+1","ref":"2016-04-03-mf-acid-state-traditional+1","sha":"58fd5bd2cecefd901b6f7a3b1d0af40eaba0690e","user":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"repo":{"id":50575063,"name":"aula","full_name":"liqd/aula","owner":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liqd/aula","description":"","fork":false,"url":"https://api.github.com/repos/liqd/aula","forks_url":"https://api.github.com/repos/liqd/aula/forks","keys_url":"https://api.github.com/repos/liqd/aula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liqd/aula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liqd/aula/teams","hooks_url":"https://api.github.com/repos/liqd/aula/hooks","issue_events_url":"https://api.github.com/repos/liqd/aula/issues/events{/number}","events_url":"https://api.github.com/repos/liqd/aula/events","assignees_url":"https://api.github.com/repos/liqd/aula/assignees{/user}","branches_url":"https://api.github.com/repos/liqd/aula/branches{/branch}","tags_url":"https://api.github.com/repos/liqd/aula/tags","blobs_url":"https://api.github.com/repos/liqd/aula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liqd/aula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liqd/aula/git/refs{/sha}","trees_url":"https://api.github.com/repos/liqd/aula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liqd/aula/statuses/{sha}","languages_url":"https://api.github.com/repos/liqd/aula/languages","stargazers_url":"https://api.github.com/repos/liqd/aula/stargazers","contributors_url":"https://api.github.com/repos/liqd/aula/contributors","subscribers_url":"https://api.github.com/repos/liqd/aula/subscribers","subscription_url":"https://api.github.com/repos/liqd/aula/subscription","commits_url":"https://api.github.com/repos/liqd/aula/commits{/sha}","git_commits_url":"https://api.github.com/repos/liqd/aula/git/commits{/sha}","comments_url":"https://api.github.com/repos/liqd/aula/comments{/number}","issue_comment_url":"https://api.github.com/repos/liqd/aula/issues/comments{/number}","contents_url":"https://api.github.com/repos/liqd/aula/contents/{+path}","compare_url":"https://api.github.com/repos/liqd/aula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liqd/aula/merges","archive_url":"https://api.github.com/repos/liqd/aula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liqd/aula/downloads","issues_url":"https://api.github.com/repos/liqd/aula/issues{/number}","pulls_url":"https://api.github.com/repos/liqd/aula/pulls{/number}","milestones_url":"https://api.github.com/repos/liqd/aula/milestones{/number}","notifications_url":"https://api.github.com/repos/liqd/aula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liqd/aula/labels{/name}","releases_url":"https://api.github.com/repos/liqd/aula/releases{/id}","deployments_url":"https://api.github.com/repos/liqd/aula/deployments","created_at":"2016-01-28T10:23:17Z","updated_at":"2016-02-17T23:33:10Z","pushed_at":"2016-04-06T21:30:30Z","git_url":"git://github.com/liqd/aula.git","ssh_url":"git@github.com:liqd/aula.git","clone_url":"https://github.com/liqd/aula.git","svn_url":"https://github.com/liqd/aula","homepage":null,"size":2468,"stargazers_count":5,"watchers_count":5,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":46,"forks":0,"open_issues":46,"watchers":5,"default_branch":"master"}},"base":{"label":"liqd:master","ref":"master","sha":"27a2d3149e52ea0f2ff3541096e018641198a807","user":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"repo":{"id":50575063,"name":"aula","full_name":"liqd/aula","owner":{"login":"liqd","id":2312088,"avatar_url":"https://avatars.githubusercontent.com/u/2312088?v=3","gravatar_id":"","url":"https://api.github.com/users/liqd","html_url":"https://github.com/liqd","followers_url":"https://api.github.com/users/liqd/followers","following_url":"https://api.github.com/users/liqd/following{/other_user}","gists_url":"https://api.github.com/users/liqd/gists{/gist_id}","starred_url":"https://api.github.com/users/liqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqd/subscriptions","organizations_url":"https://api.github.com/users/liqd/orgs","repos_url":"https://api.github.com/users/liqd/repos","events_url":"https://api.github.com/users/liqd/events{/privacy}","received_events_url":"https://api.github.com/users/liqd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liqd/aula","description":"","fork":false,"url":"https://api.github.com/repos/liqd/aula","forks_url":"https://api.github.com/repos/liqd/aula/forks","keys_url":"https://api.github.com/repos/liqd/aula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liqd/aula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liqd/aula/teams","hooks_url":"https://api.github.com/repos/liqd/aula/hooks","issue_events_url":"https://api.github.com/repos/liqd/aula/issues/events{/number}","events_url":"https://api.github.com/repos/liqd/aula/events","assignees_url":"https://api.github.com/repos/liqd/aula/assignees{/user}","branches_url":"https://api.github.com/repos/liqd/aula/branches{/branch}","tags_url":"https://api.github.com/repos/liqd/aula/tags","blobs_url":"https://api.github.com/repos/liqd/aula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liqd/aula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liqd/aula/git/refs{/sha}","trees_url":"https://api.github.com/repos/liqd/aula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liqd/aula/statuses/{sha}","languages_url":"https://api.github.com/repos/liqd/aula/languages","stargazers_url":"https://api.github.com/repos/liqd/aula/stargazers","contributors_url":"https://api.github.com/repos/liqd/aula/contributors","subscribers_url":"https://api.github.com/repos/liqd/aula/subscribers","subscription_url":"https://api.github.com/repos/liqd/aula/subscription","commits_url":"https://api.github.com/repos/liqd/aula/commits{/sha}","git_commits_url":"https://api.github.com/repos/liqd/aula/git/commits{/sha}","comments_url":"https://api.github.com/repos/liqd/aula/comments{/number}","issue_comment_url":"https://api.github.com/repos/liqd/aula/issues/comments{/number}","contents_url":"https://api.github.com/repos/liqd/aula/contents/{+path}","compare_url":"https://api.github.com/repos/liqd/aula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liqd/aula/merges","archive_url":"https://api.github.com/repos/liqd/aula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liqd/aula/downloads","issues_url":"https://api.github.com/repos/liqd/aula/issues{/number}","pulls_url":"https://api.github.com/repos/liqd/aula/pulls{/number}","milestones_url":"https://api.github.com/repos/liqd/aula/milestones{/number}","notifications_url":"https://api.github.com/repos/liqd/aula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liqd/aula/labels{/name}","releases_url":"https://api.github.com/repos/liqd/aula/releases{/id}","deployments_url":"https://api.github.com/repos/liqd/aula/deployments","created_at":"2016-01-28T10:23:17Z","updated_at":"2016-02-17T23:33:10Z","pushed_at":"2016-04-06T21:30:30Z","git_url":"git://github.com/liqd/aula.git","ssh_url":"git@github.com:liqd/aula.git","clone_url":"https://github.com/liqd/aula.git","svn_url":"https://github.com/liqd/aula","homepage":null,"size":2468,"stargazers_count":5,"watchers_count":5,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":46,"forks":0,"open_issues":46,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/liqd/aula/pulls/340"},"html":{"href":"https://github.com/liqd/aula/pull/340"},"issue":{"href":"https://api.github.com/repos/liqd/aula/issues/340"},"comments":{"href":"https://api.github.com/repos/liqd/aula/issues/340/comments"},"review_comments":{"href":"https://api.github.com/repos/liqd/aula/pulls/340/comments"},"review_comment":{"href":"https://api.github.com/repos/liqd/aula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/liqd/aula/pulls/340/commits"},"statuses":{"href":"https://api.github.com/repos/liqd/aula/statuses/58fd5bd2cecefd901b6f7a3b1d0af40eaba0690e"}}}}